Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

chore: update integration dashboard json to v5 (#9534)

Srikanth Chekurifb9a7ad3cde4
diff --git a/pkg/query-service/app/integrations/builtin_integrations/aws_elasticache/assets/dashboards/overview.json b/pkg/query-service/app/integrations/builtin_integrations/aws_elasticache/assets/dashboards/overview.json
index 62099bdfb2..2fd5447150 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_elasticache/assets/dashboards/overview.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/aws_elasticache/assets/dashboards/overview.json
@@ -1,2078 +1,1844 @@
{
- "id": "elasticache-redis-overview",
"description": "Overview of ElastiCache CloudWatch metrics. Provides both host-level metrics (for example, CPU usage) and redis engine metrics",
+ "id": "elasticache-redis-overview",
"layout": [
- {
- "h": 5,
- "i": "00d78996-1ba9-42d9-b22b-5818fc3bde4c",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "i": "96c23215-c494-4650-9dc3-ae20858ce1f7",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 5,
- "i": "6a56afd1-6205-4afe-90fe-86befc3fb55e",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 5
- },
- {
- "h": 5,
- "i": "af269a1c-95a3-46b3-8d3b-322c194450e2",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 5
- },
- {
- "h": 5,
- "i": "f9b0f03a-8d78-4c26-a037-daae69650eb6",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 10
- },
- {
- "h": 5,
- "i": "18798789-b67a-4c90-8127-f6bb63f012b2",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 10
- },
- {
- "h": 5,
- "i": "b3cdeb88-6988-419c-9e94-4a6bccfdd467",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 15
- },
- {
- "h": 5,
- "i": "3604137c-12fe-4205-b7fc-f10d6143583b",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 15
- },
- {
- "h": 5,
- "i": "5e69ac87-580f-4dc2-becd-943296e5cd1d",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 20
- },
- {
- "h": 5,
- "i": "e5c9ccb6-31de-4b80-8f4c-220ea2e874d0",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 20
- },
- {
- "h": 5,
- "i": "dccdd9c3-3864-4aef-a98f-6fb0e30baf0c",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 25
- },
- {
- "h": 5,
- "i": "79723065-b871-4c79-83eb-b32f025c7642",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 25
- },
- {
- "h": 5,
- "i": "8eba8049-2af5-4998-b0e1-cbc2235f9b40",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 30
- }
+ {
+ "h": 5,
+ "i": "00d78996-1ba9-42d9-b22b-5818fc3bde4c",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 0
+ },
+ {
+ "h": 5,
+ "i": "96c23215-c494-4650-9dc3-ae20858ce1f7",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 0
+ },
+ {
+ "h": 5,
+ "i": "6a56afd1-6205-4afe-90fe-86befc3fb55e",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 5
+ },
+ {
+ "h": 5,
+ "i": "af269a1c-95a3-46b3-8d3b-322c194450e2",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 5
+ },
+ {
+ "h": 5,
+ "i": "f9b0f03a-8d78-4c26-a037-daae69650eb6",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 10
+ },
+ {
+ "h": 5,
+ "i": "18798789-b67a-4c90-8127-f6bb63f012b2",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 10
+ },
+ {
+ "h": 5,
+ "i": "b3cdeb88-6988-419c-9e94-4a6bccfdd467",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 15
+ },
+ {
+ "h": 5,
+ "i": "3604137c-12fe-4205-b7fc-f10d6143583b",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 15
+ },
+ {
+ "h": 5,
+ "i": "5e69ac87-580f-4dc2-becd-943296e5cd1d",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 20
+ },
+ {
+ "h": 5,
+ "i": "e5c9ccb6-31de-4b80-8f4c-220ea2e874d0",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 20
+ },
+ {
+ "h": 5,
+ "i": "dccdd9c3-3864-4aef-a98f-6fb0e30baf0c",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "79723065-b871-4c79-83eb-b32f025c7642",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "8eba8049-2af5-4998-b0e1-cbc2235f9b40",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 30
+ }
],
"panelMap": {},
"tags": [
- "aws",
- "cache",
- "redis"
+ "aws",
+ "cache",
+ "redis"
],
"title": "AWS ElastiCache Redis",
"uploadedGrafana": false,
"uuid": "5c4832b2-7035-436e-a1c2-cb1f88d238ed",
"variables": {
- "50910278-a96b-4bae-a3b4-4c5b9e7cdefc": {
- "allSelected": true,
- "customValue": "",
- "description": "",
- "id": "50910278-a96b-4bae-a3b4-4c5b9e7cdefc",
- "modificationUUID": "635019d8-0e8f-48bc-8912-240c995a5251",
- "multiSelect": true,
- "name": "cache_cluster_id",
- "order": 0,
- "queryValue": "SELECT JSONExtractString(labels, 'cache_cluster_id') as cache_cluster_id\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name like 'aws_elasticache_%'\nGROUP BY cache_cluster_id",
- "selectedValue": [
- ""
- ],
- "showALLOption": true,
- "sort": "DISABLED",
- "textboxValue": "",
- "type": "QUERY"
- }
+ "50910278-a96b-4bae-a3b4-4c5b9e7cdefc": {
+ "allSelected": true,
+ "customValue": "",
+ "description": "",
+ "id": "50910278-a96b-4bae-a3b4-4c5b9e7cdefc",
+ "modificationUUID": "635019d8-0e8f-48bc-8912-240c995a5251",
+ "multiSelect": true,
+ "name": "cache_cluster_id",
+ "order": 0,
+ "queryValue": "SELECT JSONExtractString(labels, 'cache_cluster_id') as cache_cluster_id\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name like 'aws_elasticache_%'\nGROUP BY cache_cluster_id",
+ "selectedValue": [
+ ""
+ ],
+ "showALLOption": true,
+ "sort": "DISABLED",
+ "textboxValue": "",
+ "type": "QUERY"
+ }
},
- "version": "v4",
+ "version": "v5",
"widgets": [
- {
- "description": "",
- "fillSpans": false,
- "id": "96c23215-c494-4650-9dc3-ae20858ce1f7",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_engine_cpuutilization_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_engine_cpuutilization_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "96c23215-c494-4650-9dc3-ae20858ce1f7",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_engine_cpuutilization_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "18ac6939",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "id": "f31a92eb-aefb-4468-b163-95c2d29e3eaa",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "f31a92eb-aefb-4468-b163-95c2d29e3eaa",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Engine CPU Utilization",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Engine CPU Utilization",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "b3cdeb88-6988-419c-9e94-4a6bccfdd467",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_database_memory_usage_percentage_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_database_memory_usage_percentage_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "b3cdeb88-6988-419c-9e94-4a6bccfdd467",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_database_memory_usage_percentage_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "c863166f-7958-4f6c-a956-d5044c846973",
+ "promql": [
{
- "id": "6f82522a",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "name",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "c863166f-7958-4f6c-a956-d5044c846973",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Database Memory Usage Percentage",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Database Memory Usage Percentage",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "18798789-b67a-4c90-8127-f6bb63f012b2",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_database_capacity_usage_percentage_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_database_capacity_usage_percentage_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "18798789-b67a-4c90-8127-f6bb63f012b2",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_database_capacity_usage_percentage_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "80632329",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "id": "b659e4ed-5b6b-4ec8-911c-b906580b1ab5",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "b659e4ed-5b6b-4ec8-911c-b906580b1ab5",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Database Capacity Usage Percentage",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Database Capacity Usage Percentage",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "af269a1c-95a3-46b3-8d3b-322c194450e2",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_cache_hits_sum--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_cache_hits_sum",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "af269a1c-95a3-46b3-8d3b-322c194450e2",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_cache_hits_sum",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "",
+ "id": "cache_cluster_id------false",
+ "isColumn": false,
+ "key": "cache_cluster_id",
+ "type": ""
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "dd856067",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "f2bc46b8-8d90-4d31-8e38-df61f7b58f55",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "",
- "id": "cache_cluster_id------false",
- "isColumn": false,
- "key": "cache_cluster_id",
- "type": ""
- }
],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "f2bc46b8-8d90-4d31-8e38-df61f7b58f55",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Cache Hit Rate",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Cache Hit Rate",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "f9b0f03a-8d78-4c26-a037-daae69650eb6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_memory_fragmentation_ratio_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_memory_fragmentation_ratio_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "f9b0f03a-8d78-4c26-a037-daae69650eb6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_memory_fragmentation_ratio_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "50b499c5-36dd-49e9-aae7-f1c225219434",
+ "promql": [
{
- "id": "76d19eac",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "50b499c5-36dd-49e9-aae7-f1c225219434",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Memory Fragmentation Ratio",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Memory Fragmentation Ratio",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "dccdd9c3-3864-4aef-a98f-6fb0e30baf0c",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_swap_usage_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_swap_usage_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "dccdd9c3-3864-4aef-a98f-6fb0e30baf0c",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_swap_usage_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "221b1817-b059-439e-bfaf-39089520344d",
+ "promql": [
{
- "id": "27530337",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "name",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "221b1817-b059-439e-bfaf-39089520344d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Swap Usage",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Swap Usage",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "3604137c-12fe-4205-b7fc-f10d6143583b",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_freeable_memory_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_freeable_memory_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "3604137c-12fe-4205-b7fc-f10d6143583b",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_freeable_memory_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "5f333785",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "id": "cb158f83-72aa-4c36-bd26-9efc03d6ad15",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "cb158f83-72aa-4c36-bd26-9efc03d6ad15",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Freeable Memory",
+ "yAxisUnit": "decbytes"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Freeable Memory",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "5e69ac87-580f-4dc2-becd-943296e5cd1d",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_network_bytes_in_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_network_bytes_in_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "5e69ac87-580f-4dc2-becd-943296e5cd1d",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_network_bytes_in_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "5c18156a",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "id": "a0114277-cb86-40b2-b002-71b021f81e39",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "a0114277-cb86-40b2-b002-71b021f81e39",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Network Bytes In",
+ "yAxisUnit": "decbytes"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Network Bytes In",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "e5c9ccb6-31de-4b80-8f4c-220ea2e874d0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_network_bytes_out_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_network_bytes_out_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "e5c9ccb6-31de-4b80-8f4c-220ea2e874d0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_network_bytes_out_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "51fd65b6-84f3-4ffd-81c3-5d581892cbad",
+ "promql": [
{
- "id": "6f0c2153",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "name",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "51fd65b6-84f3-4ffd-81c3-5d581892cbad",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Network Bytes Out",
+ "yAxisUnit": "decbytes"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Network Bytes Out",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "6a56afd1-6205-4afe-90fe-86befc3fb55e",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_curr_connections_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_curr_connections_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "6a56afd1-6205-4afe-90fe-86befc3fb55e",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_curr_connections_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "58582d67",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "id": "1ee12dc9-a2f0-4c19-90ec-269cbece6fee",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "1ee12dc9-a2f0-4c19-90ec-269cbece6fee",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Current Connections",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Current Connections",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "8eba8049-2af5-4998-b0e1-cbc2235f9b40",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_replication_lag_maximum--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_replication_lag_maximum",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "8eba8049-2af5-4998-b0e1-cbc2235f9b40",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_replication_lag_maximum",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "69a98f19",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "id": "95afdad6-29c3-4248-859f-bf142ad68f6a",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "95afdad6-29c3-4248-859f-bf142ad68f6a",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Replication Lag",
+ "yAxisUnit": "s"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Replication Lag",
- "yAxisUnit": "s"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "79723065-b871-4c79-83eb-b32f025c7642",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_evictions_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_evictions_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "79723065-b871-4c79-83eb-b32f025c7642",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_evictions_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "713cd286-0072-4c2b-b3cf-6631ca7c4958",
+ "promql": [
{
- "id": "ea75b479",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "713cd286-0072-4c2b-b3cf-6631ca7c4958",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Evictions",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Evictions",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "00d78996-1ba9-42d9-b22b-5818fc3bde4c",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_cpuutilization_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_cpuutilization_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "00d78996-1ba9-42d9-b22b-5818fc3bde4c",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_cpuutilization_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "028cb504",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "id": "794f841f-4281-4e02-8b2d-97641b356e60",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "794f841f-4281-4e02-8b2d-97641b356e60",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "CPU Utilization",
- "yAxisUnit": "none"
- }
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "CPU Utilization",
+ "yAxisUnit": "none"
+ }
]
- }
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/pkg/query-service/app/integrations/builtin_integrations/aws_elasticache/assets/dashboards/overview_dot.json b/pkg/query-service/app/integrations/builtin_integrations/aws_elasticache/assets/dashboards/overview_dot.json
index 62099bdfb2..2fd5447150 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_elasticache/assets/dashboards/overview_dot.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/aws_elasticache/assets/dashboards/overview_dot.json
@@ -1,2078 +1,1844 @@
{
- "id": "elasticache-redis-overview",
"description": "Overview of ElastiCache CloudWatch metrics. Provides both host-level metrics (for example, CPU usage) and redis engine metrics",
+ "id": "elasticache-redis-overview",
"layout": [
- {
- "h": 5,
- "i": "00d78996-1ba9-42d9-b22b-5818fc3bde4c",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "i": "96c23215-c494-4650-9dc3-ae20858ce1f7",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 5,
- "i": "6a56afd1-6205-4afe-90fe-86befc3fb55e",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 5
- },
- {
- "h": 5,
- "i": "af269a1c-95a3-46b3-8d3b-322c194450e2",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 5
- },
- {
- "h": 5,
- "i": "f9b0f03a-8d78-4c26-a037-daae69650eb6",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 10
- },
- {
- "h": 5,
- "i": "18798789-b67a-4c90-8127-f6bb63f012b2",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 10
- },
- {
- "h": 5,
- "i": "b3cdeb88-6988-419c-9e94-4a6bccfdd467",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 15
- },
- {
- "h": 5,
- "i": "3604137c-12fe-4205-b7fc-f10d6143583b",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 15
- },
- {
- "h": 5,
- "i": "5e69ac87-580f-4dc2-becd-943296e5cd1d",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 20
- },
- {
- "h": 5,
- "i": "e5c9ccb6-31de-4b80-8f4c-220ea2e874d0",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 20
- },
- {
- "h": 5,
- "i": "dccdd9c3-3864-4aef-a98f-6fb0e30baf0c",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 25
- },
- {
- "h": 5,
- "i": "79723065-b871-4c79-83eb-b32f025c7642",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 25
- },
- {
- "h": 5,
- "i": "8eba8049-2af5-4998-b0e1-cbc2235f9b40",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 30
- }
+ {
+ "h": 5,
+ "i": "00d78996-1ba9-42d9-b22b-5818fc3bde4c",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 0
+ },
+ {
+ "h": 5,
+ "i": "96c23215-c494-4650-9dc3-ae20858ce1f7",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 0
+ },
+ {
+ "h": 5,
+ "i": "6a56afd1-6205-4afe-90fe-86befc3fb55e",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 5
+ },
+ {
+ "h": 5,
+ "i": "af269a1c-95a3-46b3-8d3b-322c194450e2",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 5
+ },
+ {
+ "h": 5,
+ "i": "f9b0f03a-8d78-4c26-a037-daae69650eb6",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 10
+ },
+ {
+ "h": 5,
+ "i": "18798789-b67a-4c90-8127-f6bb63f012b2",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 10
+ },
+ {
+ "h": 5,
+ "i": "b3cdeb88-6988-419c-9e94-4a6bccfdd467",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 15
+ },
+ {
+ "h": 5,
+ "i": "3604137c-12fe-4205-b7fc-f10d6143583b",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 15
+ },
+ {
+ "h": 5,
+ "i": "5e69ac87-580f-4dc2-becd-943296e5cd1d",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 20
+ },
+ {
+ "h": 5,
+ "i": "e5c9ccb6-31de-4b80-8f4c-220ea2e874d0",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 20
+ },
+ {
+ "h": 5,
+ "i": "dccdd9c3-3864-4aef-a98f-6fb0e30baf0c",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "79723065-b871-4c79-83eb-b32f025c7642",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "8eba8049-2af5-4998-b0e1-cbc2235f9b40",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 30
+ }
],
"panelMap": {},
"tags": [
- "aws",
- "cache",
- "redis"
+ "aws",
+ "cache",
+ "redis"
],
"title": "AWS ElastiCache Redis",
"uploadedGrafana": false,
"uuid": "5c4832b2-7035-436e-a1c2-cb1f88d238ed",
"variables": {
- "50910278-a96b-4bae-a3b4-4c5b9e7cdefc": {
- "allSelected": true,
- "customValue": "",
- "description": "",
- "id": "50910278-a96b-4bae-a3b4-4c5b9e7cdefc",
- "modificationUUID": "635019d8-0e8f-48bc-8912-240c995a5251",
- "multiSelect": true,
- "name": "cache_cluster_id",
- "order": 0,
- "queryValue": "SELECT JSONExtractString(labels, 'cache_cluster_id') as cache_cluster_id\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name like 'aws_elasticache_%'\nGROUP BY cache_cluster_id",
- "selectedValue": [
- ""
- ],
- "showALLOption": true,
- "sort": "DISABLED",
- "textboxValue": "",
- "type": "QUERY"
- }
+ "50910278-a96b-4bae-a3b4-4c5b9e7cdefc": {
+ "allSelected": true,
+ "customValue": "",
+ "description": "",
+ "id": "50910278-a96b-4bae-a3b4-4c5b9e7cdefc",
+ "modificationUUID": "635019d8-0e8f-48bc-8912-240c995a5251",
+ "multiSelect": true,
+ "name": "cache_cluster_id",
+ "order": 0,
+ "queryValue": "SELECT JSONExtractString(labels, 'cache_cluster_id') as cache_cluster_id\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name like 'aws_elasticache_%'\nGROUP BY cache_cluster_id",
+ "selectedValue": [
+ ""
+ ],
+ "showALLOption": true,
+ "sort": "DISABLED",
+ "textboxValue": "",
+ "type": "QUERY"
+ }
},
- "version": "v4",
+ "version": "v5",
"widgets": [
- {
- "description": "",
- "fillSpans": false,
- "id": "96c23215-c494-4650-9dc3-ae20858ce1f7",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_engine_cpuutilization_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_engine_cpuutilization_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "96c23215-c494-4650-9dc3-ae20858ce1f7",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_engine_cpuutilization_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "18ac6939",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "id": "f31a92eb-aefb-4468-b163-95c2d29e3eaa",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "f31a92eb-aefb-4468-b163-95c2d29e3eaa",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Engine CPU Utilization",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Engine CPU Utilization",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "b3cdeb88-6988-419c-9e94-4a6bccfdd467",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_database_memory_usage_percentage_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_database_memory_usage_percentage_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "b3cdeb88-6988-419c-9e94-4a6bccfdd467",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_database_memory_usage_percentage_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "c863166f-7958-4f6c-a956-d5044c846973",
+ "promql": [
{
- "id": "6f82522a",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "name",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "c863166f-7958-4f6c-a956-d5044c846973",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Database Memory Usage Percentage",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Database Memory Usage Percentage",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "18798789-b67a-4c90-8127-f6bb63f012b2",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_database_capacity_usage_percentage_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_database_capacity_usage_percentage_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "18798789-b67a-4c90-8127-f6bb63f012b2",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_database_capacity_usage_percentage_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "80632329",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "id": "b659e4ed-5b6b-4ec8-911c-b906580b1ab5",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "b659e4ed-5b6b-4ec8-911c-b906580b1ab5",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Database Capacity Usage Percentage",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Database Capacity Usage Percentage",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "af269a1c-95a3-46b3-8d3b-322c194450e2",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_cache_hits_sum--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_cache_hits_sum",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "af269a1c-95a3-46b3-8d3b-322c194450e2",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_cache_hits_sum",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "",
+ "id": "cache_cluster_id------false",
+ "isColumn": false,
+ "key": "cache_cluster_id",
+ "type": ""
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "dd856067",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "f2bc46b8-8d90-4d31-8e38-df61f7b58f55",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "",
- "id": "cache_cluster_id------false",
- "isColumn": false,
- "key": "cache_cluster_id",
- "type": ""
- }
],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "f2bc46b8-8d90-4d31-8e38-df61f7b58f55",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Cache Hit Rate",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Cache Hit Rate",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "f9b0f03a-8d78-4c26-a037-daae69650eb6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_memory_fragmentation_ratio_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_memory_fragmentation_ratio_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "f9b0f03a-8d78-4c26-a037-daae69650eb6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_memory_fragmentation_ratio_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "50b499c5-36dd-49e9-aae7-f1c225219434",
+ "promql": [
{
- "id": "76d19eac",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "50b499c5-36dd-49e9-aae7-f1c225219434",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Memory Fragmentation Ratio",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Memory Fragmentation Ratio",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "dccdd9c3-3864-4aef-a98f-6fb0e30baf0c",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_swap_usage_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_swap_usage_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "dccdd9c3-3864-4aef-a98f-6fb0e30baf0c",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_swap_usage_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "221b1817-b059-439e-bfaf-39089520344d",
+ "promql": [
{
- "id": "27530337",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "name",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "221b1817-b059-439e-bfaf-39089520344d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Swap Usage",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Swap Usage",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "3604137c-12fe-4205-b7fc-f10d6143583b",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_freeable_memory_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_freeable_memory_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "3604137c-12fe-4205-b7fc-f10d6143583b",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_freeable_memory_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "5f333785",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "id": "cb158f83-72aa-4c36-bd26-9efc03d6ad15",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "cb158f83-72aa-4c36-bd26-9efc03d6ad15",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Freeable Memory",
+ "yAxisUnit": "decbytes"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Freeable Memory",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "5e69ac87-580f-4dc2-becd-943296e5cd1d",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_network_bytes_in_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_network_bytes_in_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "5e69ac87-580f-4dc2-becd-943296e5cd1d",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_network_bytes_in_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "5c18156a",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "id": "a0114277-cb86-40b2-b002-71b021f81e39",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "a0114277-cb86-40b2-b002-71b021f81e39",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Network Bytes In",
+ "yAxisUnit": "decbytes"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Network Bytes In",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "e5c9ccb6-31de-4b80-8f4c-220ea2e874d0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_network_bytes_out_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_network_bytes_out_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "e5c9ccb6-31de-4b80-8f4c-220ea2e874d0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_network_bytes_out_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "51fd65b6-84f3-4ffd-81c3-5d581892cbad",
+ "promql": [
{
- "id": "6f0c2153",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "name",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "51fd65b6-84f3-4ffd-81c3-5d581892cbad",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Network Bytes Out",
+ "yAxisUnit": "decbytes"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Network Bytes Out",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "6a56afd1-6205-4afe-90fe-86befc3fb55e",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_curr_connections_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_curr_connections_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "6a56afd1-6205-4afe-90fe-86befc3fb55e",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_curr_connections_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "58582d67",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "id": "1ee12dc9-a2f0-4c19-90ec-269cbece6fee",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "1ee12dc9-a2f0-4c19-90ec-269cbece6fee",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Current Connections",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Current Connections",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "8eba8049-2af5-4998-b0e1-cbc2235f9b40",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_replication_lag_maximum--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_replication_lag_maximum",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "8eba8049-2af5-4998-b0e1-cbc2235f9b40",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_replication_lag_maximum",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "69a98f19",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "id": "95afdad6-29c3-4248-859f-bf142ad68f6a",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "95afdad6-29c3-4248-859f-bf142ad68f6a",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Replication Lag",
+ "yAxisUnit": "s"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Replication Lag",
- "yAxisUnit": "s"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "79723065-b871-4c79-83eb-b32f025c7642",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_evictions_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_evictions_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "79723065-b871-4c79-83eb-b32f025c7642",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_evictions_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "713cd286-0072-4c2b-b3cf-6631ca7c4958",
+ "promql": [
{
- "id": "ea75b479",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "713cd286-0072-4c2b-b3cf-6631ca7c4958",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Evictions",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Evictions",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "00d78996-1ba9-42d9-b22b-5818fc3bde4c",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_elasticache_cpuutilization_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_elasticache_cpuutilization_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "00d78996-1ba9-42d9-b22b-5818fc3bde4c",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_elasticache_cpuutilization_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "cache_cluster_id IN $cache_cluster_id"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "cache_cluster_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cache_cluster_id",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{cache_cluster_id}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "028cb504",
- "key": {
- "dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "cache_cluster_id",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.cache_cluster_id}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "id": "794f841f-4281-4e02-8b2d-97641b356e60",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
"dataType": "string",
- "id": "cache_cluster_id--string--tag--false",
- "isColumn": false,
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "cache_cluster_id",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{cache_cluster_id}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "794f841f-4281-4e02-8b2d-97641b356e60",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "CPU Utilization",
- "yAxisUnit": "none"
- }
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "CPU Utilization",
+ "yAxisUnit": "none"
+ }
]
- }
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/db_metrics.json b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/db_metrics.json
index 9473a95a2f..ddb64ae838 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/db_metrics.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/db_metrics.json
@@ -1,2935 +1,2623 @@
{
- "id": "aws_rds_mysql_db_metrics",
"description": "",
+ "id": "aws_rds_mysql_db_metrics",
"layout": [
- {
- "h": 1,
- "i": "a1da815a-c8b8-4e86-8630-a3265e3be002",
- "maxH": 1,
- "minH": 1,
- "minW": 12,
- "moved": false,
- "static": false,
- "w": 12,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "i": "121f2894-dd86-423a-8bb8-93f853aad93e",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 1
- },
- {
- "h": 6,
- "i": "0dc8699d-35d7-4c73-b25e-ce2c05e1574b",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 1
- },
- {
- "h": 6,
- "i": "19da4480-77f3-4999-9cd5-f76c02cb4e8d",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 7
- },
- {
- "h": 6,
- "i": "864ac52b-87aa-423a-aafb-975207baa3af",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 7
- },
- {
- "h": 6,
- "i": "11d5c39c-d780-4752-a868-a88d95e2a264",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 13
- },
- {
- "h": 6,
- "i": "c65eccc5-568b-4da3-8dee-90cf46cfbdcb",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 13
- },
- {
- "h": 6,
- "i": "b0ccb2fd-865a-422c-821f-4c8e4058e575",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 19
- },
- {
- "h": 6,
- "i": "942b5e3c-733a-454a-b7f7-b4256696483a",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 19
- },
- {
- "h": 6,
- "i": "ee89777a-111f-4c4e-bef5-3348b6a07b45",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 25
- },
- {
- "h": 6,
- "i": "b1e49f1a-8f97-4174-9cc7-0e4e4d2309f6",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 25
- },
- {
- "h": 1,
- "i": "52d4e290-ebe9-4e17-9e0d-57c4537996a2",
- "maxH": 1,
- "minH": 1,
- "minW": 12,
- "moved": false,
- "static": false,
- "w": 12,
- "x": 0,
- "y": 31
- },
- {
- "h": 6,
- "i": "26d0b9f5-9dee-49ff-a8b5-baad92bd85ee",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 32
- },
- {
- "h": 6,
- "i": "2c1421c3-6d09-43d3-b5fc-bea817595786",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 32
- },
- {
- "h": 1,
- "i": "2b3c134c-ef8e-40a3-be5b-1c2b31f5f774",
- "maxH": 1,
- "minH": 1,
- "minW": 12,
- "moved": false,
- "static": false,
- "w": 12,
- "x": 0,
- "y": 38
- },
- {
- "h": 5,
- "i": "9f188ac9-7b6c-4f23-85df-442c90fb1e98",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 39
- },
- {
- "h": 5,
- "i": "bc6a7150-bb0b-4fb5-b132-217f20b4cd06",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 39
- },
- {
- "h": 5,
- "i": "b99182d7-efd4-43a5-bd61-3a35d9f88a0e",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 44
- },
- {
- "h": 5,
- "i": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 44
- }
- ],
- "panelMap": {
- "2b3c134c-ef8e-40a3-be5b-1c2b31f5f774": {
- "collapsed": false,
- "widgets": [
- {
- "h": 5,
- "i": "9f188ac9-7b6c-4f23-85df-442c90fb1e98",
+ {
+ "h": 1,
+ "i": "a1da815a-c8b8-4e86-8630-a3265e3be002",
+ "maxH": 1,
+ "minH": 1,
+ "minW": 12,
+ "moved": false,
+ "static": false,
+ "w": 12,
+ "x": 0,
+ "y": 0
+ },
+ {
+ "h": 6,
+ "i": "121f2894-dd86-423a-8bb8-93f853aad93e",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 23
- },
- {
- "h": 5,
- "i": "bc6a7150-bb0b-4fb5-b132-217f20b4cd06",
+ "y": 1
+ },
+ {
+ "h": 6,
+ "i": "0dc8699d-35d7-4c73-b25e-ce2c05e1574b",
"moved": false,
"static": false,
"w": 6,
"x": 6,
- "y": 23
- },
- {
- "h": 5,
- "i": "b99182d7-efd4-43a5-bd61-3a35d9f88a0e",
+ "y": 1
+ },
+ {
+ "h": 6,
+ "i": "19da4480-77f3-4999-9cd5-f76c02cb4e8d",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 28
- },
- {
- "h": 5,
- "i": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
+ "y": 7
+ },
+ {
+ "h": 6,
+ "i": "864ac52b-87aa-423a-aafb-975207baa3af",
"moved": false,
"static": false,
"w": 6,
"x": 6,
- "y": 28
- }
- ]
- },
- "52d4e290-ebe9-4e17-9e0d-57c4537996a2": {
- "collapsed": false,
- "widgets": [
- {
+ "y": 7
+ },
+ {
"h": 6,
- "i": "26d0b9f5-9dee-49ff-a8b5-baad92bd85ee",
+ "i": "11d5c39c-d780-4752-a868-a88d95e2a264",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 43
- },
- {
- "h": 5,
- "i": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
+ "y": 13
+ },
+ {
+ "h": 6,
+ "i": "c65eccc5-568b-4da3-8dee-90cf46cfbdcb",
"moved": false,
"static": false,
"w": 6,
"x": 6,
- "y": 43
- },
- {
+ "y": 13
+ },
+ {
"h": 6,
- "i": "2c1421c3-6d09-43d3-b5fc-bea817595786",
+ "i": "b0ccb2fd-865a-422c-821f-4c8e4058e575",
"moved": false,
"static": false,
"w": 6,
- "x": 6,
- "y": 48
- }
- ]
- },
- "a1da815a-c8b8-4e86-8630-a3265e3be002": {
- "collapsed": false,
- "widgets": [
- {
+ "x": 0,
+ "y": 19
+ },
+ {
"h": 6,
"i": "942b5e3c-733a-454a-b7f7-b4256696483a",
"moved": false,
"static": false,
"w": 6,
- "x": 0,
- "y": 0
- },
- {
+ "x": 6,
+ "y": 19
+ },
+ {
"h": 6,
- "i": "19da4480-77f3-4999-9cd5-f76c02cb4e8d",
+ "i": "ee89777a-111f-4c4e-bef5-3348b6a07b45",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 6
- },
- {
+ "y": 25
+ },
+ {
"h": 6,
- "i": "b0ccb2fd-865a-422c-821f-4c8e4058e575",
+ "i": "b1e49f1a-8f97-4174-9cc7-0e4e4d2309f6",
"moved": false,
"static": false,
"w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 6,
- "i": "0dc8699d-35d7-4c73-b25e-ce2c05e1574b",
+ "x": 6,
+ "y": 25
+ },
+ {
+ "h": 1,
+ "i": "52d4e290-ebe9-4e17-9e0d-57c4537996a2",
+ "maxH": 1,
+ "minH": 1,
+ "minW": 12,
"moved": false,
"static": false,
- "w": 6,
+ "w": 12,
"x": 0,
- "y": 18
- },
- {
+ "y": 31
+ },
+ {
"h": 6,
- "i": "ee89777a-111f-4c4e-bef5-3348b6a07b45",
+ "i": "26d0b9f5-9dee-49ff-a8b5-baad92bd85ee",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 24
- },
- {
+ "y": 32
+ },
+ {
"h": 6,
- "i": "c65eccc5-568b-4da3-8dee-90cf46cfbdcb",
+ "i": "2c1421c3-6d09-43d3-b5fc-bea817595786",
"moved": false,
"static": false,
"w": 6,
+ "x": 6,
+ "y": 32
+ },
+ {
+ "h": 1,
+ "i": "2b3c134c-ef8e-40a3-be5b-1c2b31f5f774",
+ "maxH": 1,
+ "minH": 1,
+ "minW": 12,
+ "moved": false,
+ "static": false,
+ "w": 12,
"x": 0,
- "y": 30
- },
- {
- "h": 6,
- "i": "121f2894-dd86-423a-8bb8-93f853aad93e",
+ "y": 38
+ },
+ {
+ "h": 5,
+ "i": "9f188ac9-7b6c-4f23-85df-442c90fb1e98",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 36
- },
- {
- "h": 6,
- "i": "b1e49f1a-8f97-4174-9cc7-0e4e4d2309f6",
+ "y": 39
+ },
+ {
+ "h": 5,
+ "i": "bc6a7150-bb0b-4fb5-b132-217f20b4cd06",
"moved": false,
"static": false,
"w": 6,
- "x": 0,
- "y": 42
- },
- {
- "h": 6,
- "i": "864ac52b-87aa-423a-aafb-975207baa3af",
+ "x": 6,
+ "y": 39
+ },
+ {
+ "h": 5,
+ "i": "b99182d7-efd4-43a5-bd61-3a35d9f88a0e",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 48
- },
- {
- "h": 6,
- "i": "11d5c39c-d780-4752-a868-a88d95e2a264",
+ "y": 44
+ },
+ {
+ "h": 5,
+ "i": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
"moved": false,
"static": false,
"w": 6,
- "x": 0,
- "y": 54
- }
- ]
- }
+ "x": 6,
+ "y": 44
+ }
+ ],
+ "panelMap": {
+ "2b3c134c-ef8e-40a3-be5b-1c2b31f5f774": {
+ "collapsed": false,
+ "widgets": [
+ {
+ "h": 5,
+ "i": "9f188ac9-7b6c-4f23-85df-442c90fb1e98",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 23
+ },
+ {
+ "h": 5,
+ "i": "bc6a7150-bb0b-4fb5-b132-217f20b4cd06",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 23
+ },
+ {
+ "h": 5,
+ "i": "b99182d7-efd4-43a5-bd61-3a35d9f88a0e",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 28
+ },
+ {
+ "h": 5,
+ "i": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 28
+ }
+ ]
+ },
+ "52d4e290-ebe9-4e17-9e0d-57c4537996a2": {
+ "collapsed": false,
+ "widgets": [
+ {
+ "h": 6,
+ "i": "26d0b9f5-9dee-49ff-a8b5-baad92bd85ee",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 43
+ },
+ {
+ "h": 5,
+ "i": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 43
+ },
+ {
+ "h": 6,
+ "i": "2c1421c3-6d09-43d3-b5fc-bea817595786",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 48
+ }
+ ]
+ },
+ "a1da815a-c8b8-4e86-8630-a3265e3be002": {
+ "collapsed": false,
+ "widgets": [
+ {
+ "h": 6,
+ "i": "942b5e3c-733a-454a-b7f7-b4256696483a",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 0
+ },
+ {
+ "h": 6,
+ "i": "19da4480-77f3-4999-9cd5-f76c02cb4e8d",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 6
+ },
+ {
+ "h": 6,
+ "i": "b0ccb2fd-865a-422c-821f-4c8e4058e575",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 12
+ },
+ {
+ "h": 6,
+ "i": "0dc8699d-35d7-4c73-b25e-ce2c05e1574b",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 18
+ },
+ {
+ "h": 6,
+ "i": "ee89777a-111f-4c4e-bef5-3348b6a07b45",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 24
+ },
+ {
+ "h": 6,
+ "i": "c65eccc5-568b-4da3-8dee-90cf46cfbdcb",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 30
+ },
+ {
+ "h": 6,
+ "i": "121f2894-dd86-423a-8bb8-93f853aad93e",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 36
+ },
+ {
+ "h": 6,
+ "i": "b1e49f1a-8f97-4174-9cc7-0e4e4d2309f6",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 42
+ },
+ {
+ "h": 6,
+ "i": "864ac52b-87aa-423a-aafb-975207baa3af",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 48
+ },
+ {
+ "h": 6,
+ "i": "11d5c39c-d780-4752-a868-a88d95e2a264",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 54
+ }
+ ]
+ }
},
"tags": [
- "mysql"
+ "mysql"
],
"title": "MySQL",
"uploadedGrafana": false,
+ "uuid": "0a5a35a0-01f8-4597-8ece-74824c5e9e80",
"variables": {
- "31d3f13b-27d5-4291-9fb3-d5d5708a72f3": {
- "allSelected": false,
- "customValue": "",
- "description": "",
- "id": "31d3f13b-27d5-4291-9fb3-d5d5708a72f3",
- "modificationUUID": "e4a9edf1-acd0-48b7-8a35-1b4bb668408d",
- "multiSelect": false,
- "name": "mysql_instance_endpoint",
- "order": 0,
- "queryValue": "SELECT JSONExtractString(labels, 'mysql_instance_endpoint') as mysql_instance_endpoint\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'mysql_uptime'\nGROUP BY mysql_instance_endpoint",
- "selectedValue": "",
- "showALLOption": false,
- "sort": "ASC",
- "textboxValue": "",
- "type": "QUERY"
- }
+ "31d3f13b-27d5-4291-9fb3-d5d5708a72f3": {
+ "allSelected": false,
+ "customValue": "",
+ "description": "",
+ "id": "31d3f13b-27d5-4291-9fb3-d5d5708a72f3",
+ "modificationUUID": "e4a9edf1-acd0-48b7-8a35-1b4bb668408d",
+ "multiSelect": false,
+ "name": "mysql_instance_endpoint",
+ "order": 0,
+ "queryValue": "SELECT JSONExtractString(labels, 'mysql_instance_endpoint') as mysql_instance_endpoint\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'mysql_uptime'\nGROUP BY mysql_instance_endpoint",
+ "selectedValue": "",
+ "showALLOption": false,
+ "sort": "ASC",
+ "textboxValue": "",
+ "type": "QUERY"
+ }
},
- "version": "v4",
+ "version": "v5",
"widgets": [
- {
- "description": "",
- "fillSpans": false,
- "id": "9f188ac9-7b6c-4f23-85df-442c90fb1e98",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_buffer_pool_usage--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_buffer_pool_usage",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "9f188ac9-7b6c-4f23-85df-442c90fb1e98",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_buffer_pool_usage",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "status--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "status",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{status}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "41139bf9-846d-4aff-b31b-43c8d42f6aea",
+ "promql": [
{
- "id": "d0ece7c5",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
"dataType": "string",
- "id": "status--string--tag--false",
- "isColumn": false,
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "status",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{status}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "41139bf9-846d-4aff-b31b-43c8d42f6aea",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Buffer pool usage by status",
- "yAxisUnit": "bytes"
- },
- {
- "description": "",
- "id": "2b3c134c-ef8e-40a3-be5b-1c2b31f5f774",
- "panelTypes": "row",
- "title": "Buffer pool"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "b99182d7-efd4-43a5-bd61-3a35d9f88a0e",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_buffer_pool_pages--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_buffer_pool_pages",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "5a3714e3",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "kind--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "kind",
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{kind}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "0fe54f66-5f01-4468-9681-b0fd52ea7d01",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Buffer pool pages by kind",
- "yAxisUnit": "short"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "bc6a7150-bb0b-4fb5-b132-217f20b4cd06",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_buffer_pool_data_pages--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_buffer_pool_data_pages",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "fb2c8b1f",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "status--string--tag--false",
- "isColumn": false,
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "status",
+ "key": "httpMethod",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{status}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "ce9c23bd-8a9d-4bce-af85-9696360d4431",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Buffer pool usage by status",
+ "yAxisUnit": "bytes"
+ },
+ {
+ "description": "",
+ "id": "2b3c134c-ef8e-40a3-be5b-1c2b31f5f774",
+ "panelTypes": "row",
+ "title": "Buffer pool"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Data pages by status",
- "yAxisUnit": "short"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_buffer_pool_page_flushes--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_buffer_pool_page_flushes",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "b99182d7-efd4-43a5-bd61-3a35d9f88a0e",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_buffer_pool_pages",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "kind--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "kind"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{kind}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "aaed0865",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "0a94bead-a3e4-4ae8-a500-77d50a4c6b17",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Total buffer pool page flushes",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "id": "52d4e290-ebe9-4e17-9e0d-57c4537996a2",
- "panelTypes": "row",
- "title": "Table"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "ca688417-3ded-4482-aa4d-73dd9ce4e715",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_table_io_wait_count--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_table_io_wait_count",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ ],
+ "id": "0fe54f66-5f01-4468-9681-b0fd52ea7d01",
+ "promql": [
{
- "id": "416ad837",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
"dataType": "string",
- "id": "table--string--tag--false",
- "isColumn": false,
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "table",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "Count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "6608d3ce-0058-44ed-9f76-3474ab0765aa",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "count of I/O wait events",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "26d0b9f5-9dee-49ff-a8b5-baad92bd85ee",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_table_io_wait_count--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_table_io_wait_count",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "3773e4f8",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "table--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "table",
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "f02c5c6d-d5c0-4fb5-9d9d-5e8037a7824e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "count of table I/O wait events",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "2c1421c3-6d09-43d3-b5fc-bea817595786",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_table_io_wait_count--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_table_io_wait_count",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "3773e4f8",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "table--string--tag--false",
- "isColumn": false,
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "table",
+ "key": "httpMethod",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "f02c5c6d-d5c0-4fb5-9d9d-5e8037a7824e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "count of table I/O wait events",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "11d5c39c-d780-4752-a868-a88d95e2a264",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_handlers--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_handlers",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "ac5632dc",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "kind--string--tag--false",
- "isColumn": false,
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "kind",
+ "key": "responseStatusCode",
"type": "tag"
- }
- ],
- "having": [
- {
- "columnName": "SUM(mysql_handlers)",
- "op": ">",
- "value": 0
- }
- ],
- "legend": "{{kind}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "d30af321-a7f6-49da-81a9-ba9577606dfd",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Buffer pool pages by kind",
+ "yAxisUnit": "short"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Count by handlers",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "864ac52b-87aa-423a-aafb-975207baa3af",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_locks--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_locks",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "bc6a7150-bb0b-4fb5-b132-217f20b4cd06",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_buffer_pool_data_pages",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "status--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "status",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{status}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "ce9c23bd-8a9d-4bce-af85-9696360d4431",
+ "promql": [
{
- "id": "e2692b23",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
"dataType": "string",
- "id": "kind--string--tag--false",
- "isColumn": false,
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "kind",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{kind}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "71dbfc3f-10e3-4a23-b5c8-dd2c15ae800a",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "MySQL locks",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "b1e49f1a-8f97-4174-9cc7-0e4e4d2309f6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_log_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_log_operations",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "b2ce5aae",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "operation",
+ "key": "name",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "c31ca2ae-8a6e-4293-a8e1-c544c093dcfd",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Data pages by status",
+ "yAxisUnit": "short"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "InnoDB log operations",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "121f2894-dd86-423a-8bb8-93f853aad93e",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_connection_count--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_connection_count",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_buffer_pool_page_flushes",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "7ba56364",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Connection count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_connection_errors--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_connection_errors",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
+ ],
+ "id": "0a94bead-a3e4-4ae8-a500-77d50a4c6b17",
+ "promql": [
{
- "id": "ed85e243",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
"dataType": "string",
- "id": "error--string--tag--false",
- "isColumn": false,
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "error",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [
- {
- "columnName": "SUM(mysql_connection_errors)",
- "op": ">",
- "value": 0
- }
- ],
- "legend": "Error count: {{error}}",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "bde94864-1375-4617-9e62-2767981b57fc",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Connection/Errors",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "c65eccc5-568b-4da3-8dee-90cf46cfbdcb",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_opened_resources--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_opened_resources",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "517c903b",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "kind--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "kind",
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
"type": "tag"
- }
- ],
- "having": [
- {
- "columnName": "SUM(mysql_opened_resources)",
- "op": ">",
- "value": 0
- }
- ],
- "legend": "{{kind}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "62325340-e5db-4717-a55b-a0ff2dff77be",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Open resources count",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "ee89777a-111f-4c4e-bef5-3348b6a07b45",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_operations",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "99fe0131",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "operation",
+ "key": "httpMethod",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "2825eb5d-e03e-42d7-980b-d2e4ded149a4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Count of operations",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "0dc8699d-35d7-4c73-b25e-ce2c05e1574b",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_row_locks--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_row_locks",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7ed07e24",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "kind--string--tag--false",
- "isColumn": false,
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "kind",
+ "key": "responseStatusCode",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{kind}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "8598c0ff-d274-445f-8a3c-53c02595e0ff",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Total buffer pool page flushes",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Row locks",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "b0ccb2fd-865a-422c-821f-4c8e4058e575",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_threads--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_threads",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "id": "52d4e290-ebe9-4e17-9e0d-57c4537996a2",
+ "panelTypes": "row",
+ "title": "Table"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "ca688417-3ded-4482-aa4d-73dd9ce4e715",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_table_io_wait_count",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "table--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "table",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "6608d3ce-0058-44ed-9f76-3474ab0765aa",
+ "promql": [
{
- "id": "93e5a9ee",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "kind--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "kind",
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "5970ac20-a757-4d1b-80da-b6ec01fbe553",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Thread type count",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "19da4480-77f3-4999-9cd5-f76c02cb4e8d",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_row_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_row_operations",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "bd45ea2f",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "operation",
+ "key": "httpMethod",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{operation}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "68287f23-55e3-4d02-9ce3-0107abb17412",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "count of I/O wait events",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Row operations",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "942b5e3c-733a-454a-b7f7-b4256696483a",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql_prepared_statements--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql_prepared_statements",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "26d0b9f5-9dee-49ff-a8b5-baad92bd85ee",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_table_io_wait_count",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "table--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "table",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "f02c5c6d-d5c0-4fb5-9d9d-5e8037a7824e",
+ "promql": [
{
- "id": "32634e42",
- "key": {
- "dataType": "string",
- "id": "mysql_instance_endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql_instance_endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql_instance_endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "command--string--tag--false",
- "isColumn": false,
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "command",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "3fa25e4b-30f9-41d8-8acc-a97aab8a18cd",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Prepared statement count",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "id": "a1da815a-c8b8-4e86-8630-a3265e3be002",
- "panelTypes": "row",
- "title": "Resources"
- }
- ],
- "uuid": "0a5a35a0-01f8-4597-8ece-74824c5e9e80"
- }
\ No newline at end of file
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "count of table I/O wait events",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "2c1421c3-6d09-43d3-b5fc-bea817595786",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_table_io_wait_count",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "table--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "table",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "f02c5c6d-d5c0-4fb5-9d9d-5e8037a7824e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "count of table I/O wait events",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "11d5c39c-d780-4752-a868-a88d95e2a264",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_handlers",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "kind--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "kind"
+ }
+ ],
+ "having": {
+ "expression": "sum(mysql_handlers) \u003e 0"
+ },
+ "legend": "{{kind}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "d30af321-a7f6-49da-81a9-ba9577606dfd",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Count by handlers",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "864ac52b-87aa-423a-aafb-975207baa3af",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_locks",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "kind--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "kind"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{kind}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "71dbfc3f-10e3-4a23-b5c8-dd2c15ae800a",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "MySQL locks",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "b1e49f1a-8f97-4174-9cc7-0e4e4d2309f6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_log_operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "operation--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "operation",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "c31ca2ae-8a6e-4293-a8e1-c544c093dcfd",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "InnoDB log operations",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "121f2894-dd86-423a-8bb8-93f853aad93e",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_connection_count",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Connection count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_connection_errors",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "error--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "error",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": "sum(mysql_connection_errors) \u003e 0"
+ },
+ "legend": "Error count: {{error}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "bde94864-1375-4617-9e62-2767981b57fc",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Connection/Errors",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "c65eccc5-568b-4da3-8dee-90cf46cfbdcb",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_opened_resources",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "kind--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "kind"
+ }
+ ],
+ "having": {
+ "expression": "sum(mysql_opened_resources) \u003e 0"
+ },
+ "legend": "{{kind}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "62325340-e5db-4717-a55b-a0ff2dff77be",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Open resources count",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "ee89777a-111f-4c4e-bef5-3348b6a07b45",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "operation--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "operation",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "2825eb5d-e03e-42d7-980b-d2e4ded149a4",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Count of operations",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "0dc8699d-35d7-4c73-b25e-ce2c05e1574b",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_row_locks",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "kind--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "kind"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{kind}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "8598c0ff-d274-445f-8a3c-53c02595e0ff",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Row locks",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "b0ccb2fd-865a-422c-821f-4c8e4058e575",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_threads",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "kind--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "kind"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "5970ac20-a757-4d1b-80da-b6ec01fbe553",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Thread type count",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "19da4480-77f3-4999-9cd5-f76c02cb4e8d",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_row_operations",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "operation--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "operation",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{operation}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "68287f23-55e3-4d02-9ce3-0107abb17412",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Row operations",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "942b5e3c-733a-454a-b7f7-b4256696483a",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql_prepared_statements",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "command--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "command",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "3fa25e4b-30f9-41d8-8acc-a97aab8a18cd",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Prepared statement count",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "id": "a1da815a-c8b8-4e86-8630-a3265e3be002",
+ "panelTypes": "row",
+ "title": "Resources"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/db_metrics_dot.json b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/db_metrics_dot.json
index 300853d648..90629673c1 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/db_metrics_dot.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/db_metrics_dot.json
@@ -1,2935 +1,2623 @@
{
- "id": "aws_rds_mysql_db_metrics",
"description": "",
+ "id": "aws_rds_mysql_db_metrics",
"layout": [
- {
- "h": 1,
- "i": "a1da815a-c8b8-4e86-8630-a3265e3be002",
- "maxH": 1,
- "minH": 1,
- "minW": 12,
- "moved": false,
- "static": false,
- "w": 12,
- "x": 0,
- "y": 0
- },
- {
- "h": 6,
- "i": "121f2894-dd86-423a-8bb8-93f853aad93e",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 1
- },
- {
- "h": 6,
- "i": "0dc8699d-35d7-4c73-b25e-ce2c05e1574b",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 1
- },
- {
- "h": 6,
- "i": "19da4480-77f3-4999-9cd5-f76c02cb4e8d",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 7
- },
- {
- "h": 6,
- "i": "864ac52b-87aa-423a-aafb-975207baa3af",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 7
- },
- {
- "h": 6,
- "i": "11d5c39c-d780-4752-a868-a88d95e2a264",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 13
- },
- {
- "h": 6,
- "i": "c65eccc5-568b-4da3-8dee-90cf46cfbdcb",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 13
- },
- {
- "h": 6,
- "i": "b0ccb2fd-865a-422c-821f-4c8e4058e575",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 19
- },
- {
- "h": 6,
- "i": "942b5e3c-733a-454a-b7f7-b4256696483a",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 19
- },
- {
- "h": 6,
- "i": "ee89777a-111f-4c4e-bef5-3348b6a07b45",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 25
- },
- {
- "h": 6,
- "i": "b1e49f1a-8f97-4174-9cc7-0e4e4d2309f6",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 25
- },
- {
- "h": 1,
- "i": "52d4e290-ebe9-4e17-9e0d-57c4537996a2",
- "maxH": 1,
- "minH": 1,
- "minW": 12,
- "moved": false,
- "static": false,
- "w": 12,
- "x": 0,
- "y": 31
- },
- {
- "h": 6,
- "i": "26d0b9f5-9dee-49ff-a8b5-baad92bd85ee",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 32
- },
- {
- "h": 6,
- "i": "2c1421c3-6d09-43d3-b5fc-bea817595786",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 32
- },
- {
- "h": 1,
- "i": "2b3c134c-ef8e-40a3-be5b-1c2b31f5f774",
- "maxH": 1,
- "minH": 1,
- "minW": 12,
- "moved": false,
- "static": false,
- "w": 12,
- "x": 0,
- "y": 38
- },
- {
- "h": 5,
- "i": "9f188ac9-7b6c-4f23-85df-442c90fb1e98",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 39
- },
- {
- "h": 5,
- "i": "bc6a7150-bb0b-4fb5-b132-217f20b4cd06",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 39
- },
- {
- "h": 5,
- "i": "b99182d7-efd4-43a5-bd61-3a35d9f88a0e",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 44
- },
- {
- "h": 5,
- "i": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 44
- }
- ],
- "panelMap": {
- "2b3c134c-ef8e-40a3-be5b-1c2b31f5f774": {
- "collapsed": false,
- "widgets": [
- {
- "h": 5,
- "i": "9f188ac9-7b6c-4f23-85df-442c90fb1e98",
+ {
+ "h": 1,
+ "i": "a1da815a-c8b8-4e86-8630-a3265e3be002",
+ "maxH": 1,
+ "minH": 1,
+ "minW": 12,
+ "moved": false,
+ "static": false,
+ "w": 12,
+ "x": 0,
+ "y": 0
+ },
+ {
+ "h": 6,
+ "i": "121f2894-dd86-423a-8bb8-93f853aad93e",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 23
- },
- {
- "h": 5,
- "i": "bc6a7150-bb0b-4fb5-b132-217f20b4cd06",
+ "y": 1
+ },
+ {
+ "h": 6,
+ "i": "0dc8699d-35d7-4c73-b25e-ce2c05e1574b",
"moved": false,
"static": false,
"w": 6,
"x": 6,
- "y": 23
- },
- {
- "h": 5,
- "i": "b99182d7-efd4-43a5-bd61-3a35d9f88a0e",
+ "y": 1
+ },
+ {
+ "h": 6,
+ "i": "19da4480-77f3-4999-9cd5-f76c02cb4e8d",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 28
- },
- {
- "h": 5,
- "i": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
+ "y": 7
+ },
+ {
+ "h": 6,
+ "i": "864ac52b-87aa-423a-aafb-975207baa3af",
"moved": false,
"static": false,
"w": 6,
"x": 6,
- "y": 28
- }
- ]
- },
- "52d4e290-ebe9-4e17-9e0d-57c4537996a2": {
- "collapsed": false,
- "widgets": [
- {
+ "y": 7
+ },
+ {
"h": 6,
- "i": "26d0b9f5-9dee-49ff-a8b5-baad92bd85ee",
+ "i": "11d5c39c-d780-4752-a868-a88d95e2a264",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 43
- },
- {
- "h": 5,
- "i": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
+ "y": 13
+ },
+ {
+ "h": 6,
+ "i": "c65eccc5-568b-4da3-8dee-90cf46cfbdcb",
"moved": false,
"static": false,
"w": 6,
"x": 6,
- "y": 43
- },
- {
+ "y": 13
+ },
+ {
"h": 6,
- "i": "2c1421c3-6d09-43d3-b5fc-bea817595786",
+ "i": "b0ccb2fd-865a-422c-821f-4c8e4058e575",
"moved": false,
"static": false,
"w": 6,
- "x": 6,
- "y": 48
- }
- ]
- },
- "a1da815a-c8b8-4e86-8630-a3265e3be002": {
- "collapsed": false,
- "widgets": [
- {
+ "x": 0,
+ "y": 19
+ },
+ {
"h": 6,
"i": "942b5e3c-733a-454a-b7f7-b4256696483a",
"moved": false,
"static": false,
"w": 6,
- "x": 0,
- "y": 0
- },
- {
+ "x": 6,
+ "y": 19
+ },
+ {
"h": 6,
- "i": "19da4480-77f3-4999-9cd5-f76c02cb4e8d",
+ "i": "ee89777a-111f-4c4e-bef5-3348b6a07b45",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 6
- },
- {
+ "y": 25
+ },
+ {
"h": 6,
- "i": "b0ccb2fd-865a-422c-821f-4c8e4058e575",
+ "i": "b1e49f1a-8f97-4174-9cc7-0e4e4d2309f6",
"moved": false,
"static": false,
"w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 6,
- "i": "0dc8699d-35d7-4c73-b25e-ce2c05e1574b",
+ "x": 6,
+ "y": 25
+ },
+ {
+ "h": 1,
+ "i": "52d4e290-ebe9-4e17-9e0d-57c4537996a2",
+ "maxH": 1,
+ "minH": 1,
+ "minW": 12,
"moved": false,
"static": false,
- "w": 6,
+ "w": 12,
"x": 0,
- "y": 18
- },
- {
+ "y": 31
+ },
+ {
"h": 6,
- "i": "ee89777a-111f-4c4e-bef5-3348b6a07b45",
+ "i": "26d0b9f5-9dee-49ff-a8b5-baad92bd85ee",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 24
- },
- {
+ "y": 32
+ },
+ {
"h": 6,
- "i": "c65eccc5-568b-4da3-8dee-90cf46cfbdcb",
+ "i": "2c1421c3-6d09-43d3-b5fc-bea817595786",
"moved": false,
"static": false,
"w": 6,
+ "x": 6,
+ "y": 32
+ },
+ {
+ "h": 1,
+ "i": "2b3c134c-ef8e-40a3-be5b-1c2b31f5f774",
+ "maxH": 1,
+ "minH": 1,
+ "minW": 12,
+ "moved": false,
+ "static": false,
+ "w": 12,
"x": 0,
- "y": 30
- },
- {
- "h": 6,
- "i": "121f2894-dd86-423a-8bb8-93f853aad93e",
+ "y": 38
+ },
+ {
+ "h": 5,
+ "i": "9f188ac9-7b6c-4f23-85df-442c90fb1e98",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 36
- },
- {
- "h": 6,
- "i": "b1e49f1a-8f97-4174-9cc7-0e4e4d2309f6",
+ "y": 39
+ },
+ {
+ "h": 5,
+ "i": "bc6a7150-bb0b-4fb5-b132-217f20b4cd06",
"moved": false,
"static": false,
"w": 6,
- "x": 0,
- "y": 42
- },
- {
- "h": 6,
- "i": "864ac52b-87aa-423a-aafb-975207baa3af",
+ "x": 6,
+ "y": 39
+ },
+ {
+ "h": 5,
+ "i": "b99182d7-efd4-43a5-bd61-3a35d9f88a0e",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 48
- },
- {
- "h": 6,
- "i": "11d5c39c-d780-4752-a868-a88d95e2a264",
+ "y": 44
+ },
+ {
+ "h": 5,
+ "i": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
"moved": false,
"static": false,
"w": 6,
- "x": 0,
- "y": 54
- }
- ]
- }
+ "x": 6,
+ "y": 44
+ }
+ ],
+ "panelMap": {
+ "2b3c134c-ef8e-40a3-be5b-1c2b31f5f774": {
+ "collapsed": false,
+ "widgets": [
+ {
+ "h": 5,
+ "i": "9f188ac9-7b6c-4f23-85df-442c90fb1e98",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 23
+ },
+ {
+ "h": 5,
+ "i": "bc6a7150-bb0b-4fb5-b132-217f20b4cd06",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 23
+ },
+ {
+ "h": 5,
+ "i": "b99182d7-efd4-43a5-bd61-3a35d9f88a0e",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 28
+ },
+ {
+ "h": 5,
+ "i": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 28
+ }
+ ]
+ },
+ "52d4e290-ebe9-4e17-9e0d-57c4537996a2": {
+ "collapsed": false,
+ "widgets": [
+ {
+ "h": 6,
+ "i": "26d0b9f5-9dee-49ff-a8b5-baad92bd85ee",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 43
+ },
+ {
+ "h": 5,
+ "i": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 43
+ },
+ {
+ "h": 6,
+ "i": "2c1421c3-6d09-43d3-b5fc-bea817595786",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 48
+ }
+ ]
+ },
+ "a1da815a-c8b8-4e86-8630-a3265e3be002": {
+ "collapsed": false,
+ "widgets": [
+ {
+ "h": 6,
+ "i": "942b5e3c-733a-454a-b7f7-b4256696483a",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 0
+ },
+ {
+ "h": 6,
+ "i": "19da4480-77f3-4999-9cd5-f76c02cb4e8d",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 6
+ },
+ {
+ "h": 6,
+ "i": "b0ccb2fd-865a-422c-821f-4c8e4058e575",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 12
+ },
+ {
+ "h": 6,
+ "i": "0dc8699d-35d7-4c73-b25e-ce2c05e1574b",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 18
+ },
+ {
+ "h": 6,
+ "i": "ee89777a-111f-4c4e-bef5-3348b6a07b45",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 24
+ },
+ {
+ "h": 6,
+ "i": "c65eccc5-568b-4da3-8dee-90cf46cfbdcb",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 30
+ },
+ {
+ "h": 6,
+ "i": "121f2894-dd86-423a-8bb8-93f853aad93e",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 36
+ },
+ {
+ "h": 6,
+ "i": "b1e49f1a-8f97-4174-9cc7-0e4e4d2309f6",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 42
+ },
+ {
+ "h": 6,
+ "i": "864ac52b-87aa-423a-aafb-975207baa3af",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 48
+ },
+ {
+ "h": 6,
+ "i": "11d5c39c-d780-4752-a868-a88d95e2a264",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 54
+ }
+ ]
+ }
},
"tags": [
- "mysql"
+ "mysql"
],
"title": "MySQL",
"uploadedGrafana": false,
+ "uuid": "0a5a35a0-01f8-4597-8ece-74824c5e9e80",
"variables": {
- "31d3f13b-27d5-4291-9fb3-d5d5708a72f3": {
- "allSelected": false,
- "customValue": "",
- "description": "",
- "id": "31d3f13b-27d5-4291-9fb3-d5d5708a72f3",
- "modificationUUID": "e4a9edf1-acd0-48b7-8a35-1b4bb668408d",
- "multiSelect": false,
- "name": "mysql.instance.endpoint",
- "order": 0,
- "queryValue": "SELECT JSONExtractString(labels, 'mysql.instance.endpoint') as `mysql.instance.endpoint`\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'mysql.uptime'\nGROUP BY `mysql.instance.endpoint`",
- "selectedValue": "",
- "showALLOption": false,
- "sort": "ASC",
- "textboxValue": "",
- "type": "QUERY"
- }
+ "31d3f13b-27d5-4291-9fb3-d5d5708a72f3": {
+ "allSelected": false,
+ "customValue": "",
+ "description": "",
+ "id": "31d3f13b-27d5-4291-9fb3-d5d5708a72f3",
+ "modificationUUID": "e4a9edf1-acd0-48b7-8a35-1b4bb668408d",
+ "multiSelect": false,
+ "name": "mysql.instance.endpoint",
+ "order": 0,
+ "queryValue": "SELECT JSONExtractString(labels, 'mysql.instance.endpoint') as `mysql.instance.endpoint`\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'mysql.uptime'\nGROUP BY `mysql.instance.endpoint`",
+ "selectedValue": "",
+ "showALLOption": false,
+ "sort": "ASC",
+ "textboxValue": "",
+ "type": "QUERY"
+ }
},
- "version": "v4",
+ "version": "v5",
"widgets": [
- {
- "description": "",
- "fillSpans": false,
- "id": "9f188ac9-7b6c-4f23-85df-442c90fb1e98",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.buffer_pool.pages--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.buffer_pool.pages",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "9f188ac9-7b6c-4f23-85df-442c90fb1e98",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.buffer_pool.pages",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "status--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "status",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{status}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "41139bf9-846d-4aff-b31b-43c8d42f6aea",
+ "promql": [
{
- "id": "d0ece7c5",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
"dataType": "string",
- "id": "status--string--tag--false",
- "isColumn": false,
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "status",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{status}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "41139bf9-846d-4aff-b31b-43c8d42f6aea",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Buffer pool usage by status",
- "yAxisUnit": "bytes"
- },
- {
- "description": "",
- "id": "2b3c134c-ef8e-40a3-be5b-1c2b31f5f774",
- "panelTypes": "row",
- "title": "Buffer pool"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "b99182d7-efd4-43a5-bd61-3a35d9f88a0e",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.buffer_pool.pages--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.buffer_pool.pages",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "5a3714e3",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "kind--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "kind",
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{kind}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "0fe54f66-5f01-4468-9681-b0fd52ea7d01",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Buffer pool pages by kind",
- "yAxisUnit": "short"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "bc6a7150-bb0b-4fb5-b132-217f20b4cd06",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.buffer_pool.data_pages--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.buffer_pool.data_pages",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "fb2c8b1f",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "status--string--tag--false",
- "isColumn": false,
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "status",
+ "key": "httpMethod",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{status}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "ce9c23bd-8a9d-4bce-af85-9696360d4431",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Buffer pool usage by status",
+ "yAxisUnit": "bytes"
+ },
+ {
+ "description": "",
+ "id": "2b3c134c-ef8e-40a3-be5b-1c2b31f5f774",
+ "panelTypes": "row",
+ "title": "Buffer pool"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Data pages by status",
- "yAxisUnit": "short"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.buffer_pool.page_flushes--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.buffer_pool.page_flushes",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "b99182d7-efd4-43a5-bd61-3a35d9f88a0e",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.buffer_pool.pages",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "kind--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "kind"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{kind}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "aaed0865",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "0a94bead-a3e4-4ae8-a500-77d50a4c6b17",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Total buffer pool page flushes",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "id": "52d4e290-ebe9-4e17-9e0d-57c4537996a2",
- "panelTypes": "row",
- "title": "Table"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "ca688417-3ded-4482-aa4d-73dd9ce4e715",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.table.io.wait.count--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.table.io.wait.count",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ ],
+ "id": "0fe54f66-5f01-4468-9681-b0fd52ea7d01",
+ "promql": [
{
- "id": "416ad837",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
"dataType": "string",
- "id": "table--string--tag--false",
- "isColumn": false,
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "table",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "Count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "6608d3ce-0058-44ed-9f76-3474ab0765aa",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "count of I/O wait events",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "26d0b9f5-9dee-49ff-a8b5-baad92bd85ee",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.table.io.wait.count--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.table.io.wait.count",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "3773e4f8",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "table--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "table",
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "f02c5c6d-d5c0-4fb5-9d9d-5e8037a7824e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "count of table I/O wait events",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "2c1421c3-6d09-43d3-b5fc-bea817595786",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.table.io.wait.count--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.table.io.wait.count",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "3773e4f8",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "table--string--tag--false",
- "isColumn": false,
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "table",
+ "key": "httpMethod",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "f02c5c6d-d5c0-4fb5-9d9d-5e8037a7824e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "count of table I/O wait events",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "11d5c39c-d780-4752-a868-a88d95e2a264",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.handlers--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.handlers",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "ac5632dc",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "kind--string--tag--false",
- "isColumn": false,
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "kind",
+ "key": "responseStatusCode",
"type": "tag"
- }
- ],
- "having": [
- {
- "columnName": "SUM(`mysql.handlers`)",
- "op": ">",
- "value": 0
- }
- ],
- "legend": "{{kind}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "d30af321-a7f6-49da-81a9-ba9577606dfd",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Buffer pool pages by kind",
+ "yAxisUnit": "short"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Count by handlers",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "864ac52b-87aa-423a-aafb-975207baa3af",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.locks--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.locks",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "bc6a7150-bb0b-4fb5-b132-217f20b4cd06",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.buffer_pool.data_pages",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "status--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "status",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{status}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "ce9c23bd-8a9d-4bce-af85-9696360d4431",
+ "promql": [
{
- "id": "e2692b23",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
"dataType": "string",
- "id": "kind--string--tag--false",
- "isColumn": false,
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "kind",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{kind}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "71dbfc3f-10e3-4a23-b5c8-dd2c15ae800a",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "MySQL locks",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "b1e49f1a-8f97-4174-9cc7-0e4e4d2309f6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.log_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.log_operations",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "b2ce5aae",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "operation",
+ "key": "name",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "c31ca2ae-8a6e-4293-a8e1-c544c093dcfd",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Data pages by status",
+ "yAxisUnit": "short"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "InnoDB log operations",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "121f2894-dd86-423a-8bb8-93f853aad93e",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.connection.count--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.connection.count",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "18f8b51f-074c-45e3-8f25-6e70cb8ad222",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.buffer_pool.page_flushes",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
{
- "id": "7ba56364",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Connection count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.connection.errors--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.connection.errors",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
+ ],
+ "id": "0a94bead-a3e4-4ae8-a500-77d50a4c6b17",
+ "promql": [
{
- "id": "ed85e243",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
"dataType": "string",
- "id": "error--string--tag--false",
- "isColumn": false,
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "error",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [
- {
- "columnName": "SUM(mysql.connection.errors)",
- "op": ">",
- "value": 0
- }
- ],
- "legend": "Error count: {{error}}",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "bde94864-1375-4617-9e62-2767981b57fc",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Connection/Errors",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "c65eccc5-568b-4da3-8dee-90cf46cfbdcb",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.opened_resources--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.opened_resources",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "517c903b",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "kind--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "kind",
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
"type": "tag"
- }
- ],
- "having": [
- {
- "columnName": "SUM(mysql.opened_resources)",
- "op": ">",
- "value": 0
- }
- ],
- "legend": "{{kind}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "62325340-e5db-4717-a55b-a0ff2dff77be",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Open resources count",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "ee89777a-111f-4c4e-bef5-3348b6a07b45",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.operations",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "99fe0131",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "operation",
+ "key": "httpMethod",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "2825eb5d-e03e-42d7-980b-d2e4ded149a4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Count of operations",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "0dc8699d-35d7-4c73-b25e-ce2c05e1574b",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.row_locks--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.row_locks",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7ed07e24",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "kind--string--tag--false",
- "isColumn": false,
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "kind",
+ "key": "responseStatusCode",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{kind}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "8598c0ff-d274-445f-8a3c-53c02595e0ff",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Total buffer pool page flushes",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Row locks",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "b0ccb2fd-865a-422c-821f-4c8e4058e575",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.threads--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.threads",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "id": "52d4e290-ebe9-4e17-9e0d-57c4537996a2",
+ "panelTypes": "row",
+ "title": "Table"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "ca688417-3ded-4482-aa4d-73dd9ce4e715",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.table.io.wait.count",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "table--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "table",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "6608d3ce-0058-44ed-9f76-3474ab0765aa",
+ "promql": [
{
- "id": "93e5a9ee",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "kind--string--tag--false",
- "isColumn": false,
+ "id": "name--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "kind",
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "5970ac20-a757-4d1b-80da-b6ec01fbe553",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Thread type count",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "19da4480-77f3-4999-9cd5-f76c02cb4e8d",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.row_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.row_operations",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "bd45ea2f",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
- }
- ],
- "op": "AND"
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "operation",
+ "key": "httpMethod",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "{{operation}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "68287f23-55e3-4d02-9ce3-0107abb17412",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "count of I/O wait events",
+ "yAxisUnit": "none"
},
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Row operations",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "942b5e3c-733a-454a-b7f7-b4256696483a",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mysql.prepared_statements--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mysql.prepared_statements",
- "type": "Sum"
- },
- "aggregateOperator": "increase",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "26d0b9f5-9dee-49ff-a8b5-baad92bd85ee",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.table.io.wait.count",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "table--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "table",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "f02c5c6d-d5c0-4fb5-9d9d-5e8037a7824e",
+ "promql": [
{
- "id": "32634e42",
- "key": {
- "dataType": "string",
- "id": "mysql.instance.endpoint--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mysql.instance.endpoint",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.mysql.instance.endpoint}}"
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
},
- "functions": [],
- "groupBy": [
- {
+ {
"dataType": "string",
- "id": "command--string--tag--false",
- "isColumn": false,
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
"isJSON": false,
- "key": "command",
+ "key": "serviceName",
"type": "tag"
- }
- ],
- "having": [],
- "legend": "count",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "increase"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "3fa25e4b-30f9-41d8-8acc-a97aab8a18cd",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Prepared statement count",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "id": "a1da815a-c8b8-4e86-8630-a3265e3be002",
- "panelTypes": "row",
- "title": "Resources"
- }
- ],
- "uuid": "0a5a35a0-01f8-4597-8ece-74824c5e9e80"
- }
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "count of table I/O wait events",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "2c1421c3-6d09-43d3-b5fc-bea817595786",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.table.io.wait.count",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "table--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "table",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "f02c5c6d-d5c0-4fb5-9d9d-5e8037a7824e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "count of table I/O wait events",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "11d5c39c-d780-4752-a868-a88d95e2a264",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.handlers",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "kind--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "kind"
+ }
+ ],
+ "having": {
+ "expression": "sum(mysql.handlers) \u003e 0"
+ },
+ "legend": "{{kind}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "d30af321-a7f6-49da-81a9-ba9577606dfd",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Count by handlers",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "864ac52b-87aa-423a-aafb-975207baa3af",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.locks",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "kind--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "kind"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{kind}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "71dbfc3f-10e3-4a23-b5c8-dd2c15ae800a",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "MySQL locks",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "b1e49f1a-8f97-4174-9cc7-0e4e4d2309f6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.log_operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "operation--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "operation",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "c31ca2ae-8a6e-4293-a8e1-c544c093dcfd",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "InnoDB log operations",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "121f2894-dd86-423a-8bb8-93f853aad93e",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.connection.count",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Connection count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.connection.errors",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "error--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "error",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": "sum(mysql.connection.errors) \u003e 0"
+ },
+ "legend": "Error count: {{error}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "bde94864-1375-4617-9e62-2767981b57fc",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Connection/Errors",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "c65eccc5-568b-4da3-8dee-90cf46cfbdcb",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.opened_resources",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "kind--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "kind"
+ }
+ ],
+ "having": {
+ "expression": "sum(mysql.opened_resources) \u003e 0"
+ },
+ "legend": "{{kind}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "62325340-e5db-4717-a55b-a0ff2dff77be",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Open resources count",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "ee89777a-111f-4c4e-bef5-3348b6a07b45",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "operation--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "operation",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "2825eb5d-e03e-42d7-980b-d2e4ded149a4",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Count of operations",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "0dc8699d-35d7-4c73-b25e-ce2c05e1574b",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.row_locks",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "kind--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "kind"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{kind}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "8598c0ff-d274-445f-8a3c-53c02595e0ff",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Row locks",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "b0ccb2fd-865a-422c-821f-4c8e4058e575",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.threads",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "kind--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "kind"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "5970ac20-a757-4d1b-80da-b6ec01fbe553",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Thread type count",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "19da4480-77f3-4999-9cd5-f76c02cb4e8d",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.row_operations",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "operation--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "operation",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{operation}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "68287f23-55e3-4d02-9ce3-0107abb17412",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Row operations",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "942b5e3c-733a-454a-b7f7-b4256696483a",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "mysql.prepared_statements",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "increase"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "command--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "command",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "count",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "3fa25e4b-30f9-41d8-8acc-a97aab8a18cd",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Prepared statement count",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "id": "a1da815a-c8b8-4e86-8630-a3265e3be002",
+ "panelTypes": "row",
+ "title": "Resources"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/overview.json b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/overview.json
index 0e89b8a957..7dc0c82237 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/overview.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/overview.json
@@ -1,2602 +1,2296 @@
{
- "id": "aws_rds_mysql",
- "description": "",
- "layout": [
- {
- "h": 5,
- "i": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "i": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 5,
- "i": "6807e631-4894-4de8-8a55-686c8fa08d4b",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 5
- },
- {
- "h": 5,
- "i": "d599a942-4dbf-4e29-a3ac-a3142399b557",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 5
- },
- {
- "h": 5,
- "i": "d16d8683-8c69-4526-a9cd-cc21ae5c60af",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 10
- },
- {
- "h": 5,
- "i": "845ee717-bbd1-424c-8293-f49e76aa43b3",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 10
- },
- {
- "h": 5,
- "i": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 15
- },
- {
- "h": 5,
- "i": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 15
- },
- {
- "h": 5,
- "i": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 0,
- "y": 20
- },
- {
- "h": 5,
- "i": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 4,
- "y": 20
- },
- {
- "h": 5,
- "i": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 8,
- "y": 20
- },
- {
- "h": 5,
- "i": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 0,
- "y": 25
- },
- {
- "h": 5,
- "i": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 4,
- "y": 25
- },
- {
- "h": 5,
- "i": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 8,
- "y": 25
- },
- {
- "h": 5,
- "i": "ffc39591-288f-4b28-87ee-43456d5d0667",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 30
- },
- {
- "h": 5,
- "i": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 30
- }
- ],
- "panelMap": {},
- "tags": [
- "aws",
- "rds",
- "mysql"
- ],
- "title": "AWS RDS MySQL",
- "uploadedGrafana": false,
- "uuid": "7799e6c9-9b37-4617-9b01-3033665e6605",
- "variables": {
- "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e": {
- "allSelected": false,
- "customValue": "",
- "description": "This is the unique key that identifies a DB instance",
- "id": "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e",
- "modificationUUID": "1ecf21e3-488a-41e7-92f2-7dc75c9de49a",
- "multiSelect": true,
- "name": "dbinstance_identifier",
- "order": 0,
- "queryValue": "SELECT JSONExtractString(labels, 'dbinstance_identifier') as dbinstance_identifier\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name like 'aws_rds_database_connections_average'\nGROUP BY dbinstance_identifier",
- "selectedValue": "",
- "showALLOption": true,
- "sort": "ASC",
- "textboxValue": "",
- "type": "QUERY"
- }
- },
- "version": "v4",
- "widgets": [
- {
- "description": "The number of client network connections to the database instance.",
- "fillSpans": false,
- "id": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_database_connections_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_database_connections_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "4e451ffc",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "b6816e82-3e9b-4dc6-9fc0-047ef50e47d4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
+ "description": "",
+ "id": "aws_rds_mysql",
+ "layout": [
+ {
+ "h": 5,
+ "i": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 0
+ },
+ {
+ "h": 5,
+ "i": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 0
+ },
+ {
+ "h": 5,
+ "i": "6807e631-4894-4de8-8a55-686c8fa08d4b",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 5
+ },
+ {
+ "h": 5,
+ "i": "d599a942-4dbf-4e29-a3ac-a3142399b557",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 5
+ },
+ {
+ "h": 5,
+ "i": "d16d8683-8c69-4526-a9cd-cc21ae5c60af",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 10
+ },
+ {
+ "h": 5,
+ "i": "845ee717-bbd1-424c-8293-f49e76aa43b3",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 10
+ },
+ {
+ "h": 5,
+ "i": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 15
+ },
+ {
+ "h": 5,
+ "i": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 15
+ },
+ {
+ "h": 5,
+ "i": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 0,
+ "y": 20
+ },
+ {
+ "h": 5,
+ "i": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 4,
+ "y": 20
+ },
+ {
+ "h": 5,
+ "i": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 8,
+ "y": 20
+ },
+ {
+ "h": 5,
+ "i": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 0,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 4,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 8,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "ffc39591-288f-4b28-87ee-43456d5d0667",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 30
+ },
+ {
+ "h": 5,
+ "i": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 30
}
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
+ ],
+ "panelMap": {},
+ "tags": [
+ "aws",
+ "rds",
+ "mysql"
+ ],
+ "title": "AWS RDS MySQL",
+ "uploadedGrafana": false,
+ "uuid": "7799e6c9-9b37-4617-9b01-3033665e6605",
+ "variables": {
+ "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e": {
+ "allSelected": false,
+ "customValue": "",
+ "description": "This is the unique key that identifies a DB instance",
+ "id": "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e",
+ "modificationUUID": "1ecf21e3-488a-41e7-92f2-7dc75c9de49a",
+ "multiSelect": true,
+ "name": "dbinstance_identifier",
+ "order": 0,
+ "queryValue": "SELECT JSONExtractString(labels, 'dbinstance_identifier') as dbinstance_identifier\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name like 'aws_rds_database_connections_average'\nGROUP BY dbinstance_identifier",
+ "selectedValue": "",
+ "showALLOption": true,
+ "sort": "ASC",
+ "textboxValue": "",
+ "type": "QUERY"
}
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "DatabaseConnections",
- "yAxisUnit": "short"
},
- {
- "description": "The percentage of CPU utilization.",
- "fillSpans": false,
- "id": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_cpuutilization_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_cpuutilization_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f0a48ddc",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ "version": "v5",
+ "widgets": [
+ {
+ "description": "The number of client network connections to the database instance.",
+ "fillSpans": false,
+ "id": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_database_connections_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "0318116a-ba6b-405c-b2c0-8dfb321f3ad0",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "CPUUtilization",
- "yAxisUnit": "percent"
- },
- {
- "description": "The amount of available random access memory. This metric reports the value of the MemAvailable field of /proc/meminfo",
- "fillSpans": false,
- "id": "d599a942-4dbf-4e29-a3ac-a3142399b557",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_freeable_memory_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_freeable_memory_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "b738d056",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ "id": "b6816e82-3e9b-4dc6-9fc0-047ef50e47d4",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "5a1e0e0d-3190-4a38-8030-b48d24ebe0f1",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "FreeableMemory",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_read_latency_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_read_latency_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "d0ac5956",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "DatabaseConnections",
+ "yAxisUnit": "short"
+ },
+ {
+ "description": "The percentage of CPU utilization.",
+ "fillSpans": false,
+ "id": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_cpuutilization_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "0318116a-ba6b-405c-b2c0-8dfb321f3ad0",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "794a5db3-b75c-4354-a509-ab24b5daeba4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "ReadLatency",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_read_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_read_throughput_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "bdc062ed",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "CPUUtilization",
+ "yAxisUnit": "percent"
+ },
+ {
+ "description": "The amount of available random access memory. This metric reports the value of the MemAvailable field of /proc/meminfo",
+ "fillSpans": false,
+ "id": "d599a942-4dbf-4e29-a3ac-a3142399b557",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_freeable_memory_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "5a1e0e0d-3190-4a38-8030-b48d24ebe0f1",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "6915105d-17eb-4863-8ccd-88c6a56d9ad7",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": "aws_rds_read_throughput_average"
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "ReadThroughput",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_read_iops_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_read_iops_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "74504cdf",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "FreeableMemory",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_read_latency_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "794a5db3-b75c-4354-a509-ab24b5daeba4",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "0ab52186-6617-4f8b-a3fc-3778c09b6faf",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "ReadIOPS",
- "yAxisUnit": "none"
- },
- {
- "description": "The amount of available storage space.",
- "fillSpans": false,
- "id": "6807e631-4894-4de8-8a55-686c8fa08d4b",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_free_storage_space_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_free_storage_space_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "3cfa657c",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "ReadLatency",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_read_throughput_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "6915105d-17eb-4863-8ccd-88c6a56d9ad7",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": "aws_rds_read_throughput_average"
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "b7f7c9e9-0fdf-462e-b465-57025785e98f",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "FreeStorageSpace",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_write_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_write_throughput_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "05330793",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "ReadThroughput",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_read_iops_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "0ab52186-6617-4f8b-a3fc-3778c09b6faf",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "d6be5165-c686-412f-80f7-4a81a28cae7d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "WriteThroughput",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_write_iops_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_write_iops_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "0606e3a2",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "ReadIOPS",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The amount of available storage space.",
+ "fillSpans": false,
+ "id": "6807e631-4894-4de8-8a55-686c8fa08d4b",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_free_storage_space_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "b7f7c9e9-0fdf-462e-b465-57025785e98f",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "253e440a-b13d-411c-a069-d4da1f4c84d7",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "WriteIOPS",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "ffc39591-288f-4b28-87ee-43456d5d0667",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_network_transmit_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_network_transmit_throughput_average",
- "type": "Gauge"
- },
- "aggregateOperator": "sum",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "d5e2f293",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "FreeStorageSpace",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_write_throughput_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "d6be5165-c686-412f-80f7-4a81a28cae7d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "n/w transmit",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "sum"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "WriteThroughput",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_write_iops_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "253e440a-b13d-411c-a069-d4da1f4c84d7",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_network_receive_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_network_receive_throughput_average",
- "type": "Gauge"
- },
- "aggregateOperator": "sum",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "e968f079",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "WriteIOPS",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "ffc39591-288f-4b28-87ee-43456d5d0667",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_network_transmit_throughput_average",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "n/w transmit",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_network_receive_throughput_average",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "n/w receive",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "2c6be01b-25d9-4480-80c9-f180edad6bf9",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "n/w receive",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "sum"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "2c6be01b-25d9-4480-80c9-f180edad6bf9",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Network transmit/receive",
- "yAxisUnit": "Bps"
- },
- {
- "description": "The number of outstanding I/Os (read/write requests) waiting to access the disk.",
- "fillSpans": false,
- "id": "845ee717-bbd1-424c-8293-f49e76aa43b3",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_disk_queue_depth_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_disk_queue_depth_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "96c73381",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Network transmit/receive",
+ "yAxisUnit": "Bps"
+ },
+ {
+ "description": "The number of outstanding I/Os (read/write requests) waiting to access the disk.",
+ "fillSpans": false,
+ "id": "845ee717-bbd1-424c-8293-f49e76aa43b3",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_disk_queue_depth_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "afe73a96-1c56-451e-bca6-2c41c62d47a8",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "afe73a96-1c56-451e-bca6-2c41c62d47a8",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "DiskQueueDepth",
- "yAxisUnit": "none"
- },
- {
- "description": "The percentage of throughput credits remaining in the burst bucket of your RDS database. ",
- "fillSpans": false,
- "id": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_ebsiobalance__average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_ebsiobalance__average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "e88eb970",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "DiskQueueDepth",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The percentage of throughput credits remaining in the burst bucket of your RDS database. ",
+ "fillSpans": false,
+ "id": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_ebsiobalance__average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "1d8b8b67-0646-4ebc-aa8b-1c10643ddfa0",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "1d8b8b67-0646-4ebc-aa8b-1c10643ddfa0",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "EBSByteBalance%",
- "yAxisUnit": "none"
- },
- {
- "description": "The percentage of I/O credits remaining in the burst bucket of your RDS database.",
- "fillSpans": false,
- "id": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_ebsiobalance__average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_ebsiobalance__average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "c8d78684",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "EBSByteBalance%",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The percentage of I/O credits remaining in the burst bucket of your RDS database.",
+ "fillSpans": false,
+ "id": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_ebsiobalance__average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "a0f7c676-ae5f-4db9-bb73-26dbb9db7fab",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "a0f7c676-ae5f-4db9-bb73-26dbb9db7fab",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "EBSIOBalance%",
- "yAxisUnit": "none"
- },
- {
- "description": "The amount of disk space occupied by binary logs. If automatic backups are enabled for MySQL and MariaDB instances, including read replicas, binary logs are created.",
- "fillSpans": false,
- "id": "d16d8683-8c69-4526-a9cd-cc21ae5c60af",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_bin_log_disk_usage_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_bin_log_disk_usage_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "1707f954",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "EBSIOBalance%",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The amount of disk space occupied by binary logs. If automatic backups are enabled for MySQL and MariaDB instances, including read replicas, binary logs are created.",
+ "fillSpans": false,
+ "id": "d16d8683-8c69-4526-a9cd-cc21ae5c60af",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_bin_log_disk_usage_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "dbinstance_identifier",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "334d7c5d-4851-419a-90b2-86ebe21befff",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "dbinstance_identifier",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "334d7c5d-4851-419a-90b2-86ebe21befff",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "BinLogDiskUsage",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_write_latency_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_write_latency_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "5b97fb87",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "BinLogDiskUsage",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_write_latency_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "7533cf12-7ee3-49e8-8fcd-c1f82ea317ab",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "7533cf12-7ee3-49e8-8fcd-c1f82ea317ab",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "WriteLatency",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_swap_usage_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_swap_usage_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "afabe318",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "WriteLatency",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_swap_usage_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "61ecb019-0fbf-44f1-a9db-995b86ee4805",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "61ecb019-0fbf-44f1-a9db-995b86ee4805",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "SwapUsage",
+ "yAxisUnit": "decbytes"
}
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "SwapUsage",
- "yAxisUnit": "decbytes"
- }
- ]
+ ]
}
\ No newline at end of file
diff --git a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/overview_dot.json b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/overview_dot.json
index 0e89b8a957..7dc0c82237 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/overview_dot.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/overview_dot.json
@@ -1,2602 +1,2296 @@
{
- "id": "aws_rds_mysql",
- "description": "",
- "layout": [
- {
- "h": 5,
- "i": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "i": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 5,
- "i": "6807e631-4894-4de8-8a55-686c8fa08d4b",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 5
- },
- {
- "h": 5,
- "i": "d599a942-4dbf-4e29-a3ac-a3142399b557",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 5
- },
- {
- "h": 5,
- "i": "d16d8683-8c69-4526-a9cd-cc21ae5c60af",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 10
- },
- {
- "h": 5,
- "i": "845ee717-bbd1-424c-8293-f49e76aa43b3",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 10
- },
- {
- "h": 5,
- "i": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 15
- },
- {
- "h": 5,
- "i": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 15
- },
- {
- "h": 5,
- "i": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 0,
- "y": 20
- },
- {
- "h": 5,
- "i": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 4,
- "y": 20
- },
- {
- "h": 5,
- "i": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 8,
- "y": 20
- },
- {
- "h": 5,
- "i": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 0,
- "y": 25
- },
- {
- "h": 5,
- "i": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 4,
- "y": 25
- },
- {
- "h": 5,
- "i": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 8,
- "y": 25
- },
- {
- "h": 5,
- "i": "ffc39591-288f-4b28-87ee-43456d5d0667",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 30
- },
- {
- "h": 5,
- "i": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 30
- }
- ],
- "panelMap": {},
- "tags": [
- "aws",
- "rds",
- "mysql"
- ],
- "title": "AWS RDS MySQL",
- "uploadedGrafana": false,
- "uuid": "7799e6c9-9b37-4617-9b01-3033665e6605",
- "variables": {
- "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e": {
- "allSelected": false,
- "customValue": "",
- "description": "This is the unique key that identifies a DB instance",
- "id": "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e",
- "modificationUUID": "1ecf21e3-488a-41e7-92f2-7dc75c9de49a",
- "multiSelect": true,
- "name": "dbinstance_identifier",
- "order": 0,
- "queryValue": "SELECT JSONExtractString(labels, 'dbinstance_identifier') as dbinstance_identifier\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name like 'aws_rds_database_connections_average'\nGROUP BY dbinstance_identifier",
- "selectedValue": "",
- "showALLOption": true,
- "sort": "ASC",
- "textboxValue": "",
- "type": "QUERY"
- }
- },
- "version": "v4",
- "widgets": [
- {
- "description": "The number of client network connections to the database instance.",
- "fillSpans": false,
- "id": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_database_connections_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_database_connections_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "4e451ffc",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "b6816e82-3e9b-4dc6-9fc0-047ef50e47d4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
+ "description": "",
+ "id": "aws_rds_mysql",
+ "layout": [
+ {
+ "h": 5,
+ "i": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 0
+ },
+ {
+ "h": 5,
+ "i": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 0
+ },
+ {
+ "h": 5,
+ "i": "6807e631-4894-4de8-8a55-686c8fa08d4b",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 5
+ },
+ {
+ "h": 5,
+ "i": "d599a942-4dbf-4e29-a3ac-a3142399b557",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 5
+ },
+ {
+ "h": 5,
+ "i": "d16d8683-8c69-4526-a9cd-cc21ae5c60af",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 10
+ },
+ {
+ "h": 5,
+ "i": "845ee717-bbd1-424c-8293-f49e76aa43b3",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 10
+ },
+ {
+ "h": 5,
+ "i": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 15
+ },
+ {
+ "h": 5,
+ "i": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 15
+ },
+ {
+ "h": 5,
+ "i": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 0,
+ "y": 20
+ },
+ {
+ "h": 5,
+ "i": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 4,
+ "y": 20
+ },
+ {
+ "h": 5,
+ "i": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 8,
+ "y": 20
+ },
+ {
+ "h": 5,
+ "i": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 0,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 4,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 8,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "ffc39591-288f-4b28-87ee-43456d5d0667",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 30
+ },
+ {
+ "h": 5,
+ "i": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 30
}
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
+ ],
+ "panelMap": {},
+ "tags": [
+ "aws",
+ "rds",
+ "mysql"
+ ],
+ "title": "AWS RDS MySQL",
+ "uploadedGrafana": false,
+ "uuid": "7799e6c9-9b37-4617-9b01-3033665e6605",
+ "variables": {
+ "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e": {
+ "allSelected": false,
+ "customValue": "",
+ "description": "This is the unique key that identifies a DB instance",
+ "id": "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e",
+ "modificationUUID": "1ecf21e3-488a-41e7-92f2-7dc75c9de49a",
+ "multiSelect": true,
+ "name": "dbinstance_identifier",
+ "order": 0,
+ "queryValue": "SELECT JSONExtractString(labels, 'dbinstance_identifier') as dbinstance_identifier\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name like 'aws_rds_database_connections_average'\nGROUP BY dbinstance_identifier",
+ "selectedValue": "",
+ "showALLOption": true,
+ "sort": "ASC",
+ "textboxValue": "",
+ "type": "QUERY"
}
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "DatabaseConnections",
- "yAxisUnit": "short"
},
- {
- "description": "The percentage of CPU utilization.",
- "fillSpans": false,
- "id": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_cpuutilization_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_cpuutilization_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f0a48ddc",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ "version": "v5",
+ "widgets": [
+ {
+ "description": "The number of client network connections to the database instance.",
+ "fillSpans": false,
+ "id": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_database_connections_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "0318116a-ba6b-405c-b2c0-8dfb321f3ad0",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "CPUUtilization",
- "yAxisUnit": "percent"
- },
- {
- "description": "The amount of available random access memory. This metric reports the value of the MemAvailable field of /proc/meminfo",
- "fillSpans": false,
- "id": "d599a942-4dbf-4e29-a3ac-a3142399b557",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_freeable_memory_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_freeable_memory_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "b738d056",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ "id": "b6816e82-3e9b-4dc6-9fc0-047ef50e47d4",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "5a1e0e0d-3190-4a38-8030-b48d24ebe0f1",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "FreeableMemory",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_read_latency_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_read_latency_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "d0ac5956",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "DatabaseConnections",
+ "yAxisUnit": "short"
+ },
+ {
+ "description": "The percentage of CPU utilization.",
+ "fillSpans": false,
+ "id": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_cpuutilization_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "0318116a-ba6b-405c-b2c0-8dfb321f3ad0",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "794a5db3-b75c-4354-a509-ab24b5daeba4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "ReadLatency",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_read_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_read_throughput_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "bdc062ed",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "CPUUtilization",
+ "yAxisUnit": "percent"
+ },
+ {
+ "description": "The amount of available random access memory. This metric reports the value of the MemAvailable field of /proc/meminfo",
+ "fillSpans": false,
+ "id": "d599a942-4dbf-4e29-a3ac-a3142399b557",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_freeable_memory_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "5a1e0e0d-3190-4a38-8030-b48d24ebe0f1",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "6915105d-17eb-4863-8ccd-88c6a56d9ad7",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": "aws_rds_read_throughput_average"
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "ReadThroughput",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_read_iops_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_read_iops_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "74504cdf",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "FreeableMemory",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_read_latency_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "794a5db3-b75c-4354-a509-ab24b5daeba4",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "0ab52186-6617-4f8b-a3fc-3778c09b6faf",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "ReadIOPS",
- "yAxisUnit": "none"
- },
- {
- "description": "The amount of available storage space.",
- "fillSpans": false,
- "id": "6807e631-4894-4de8-8a55-686c8fa08d4b",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_free_storage_space_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_free_storage_space_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "3cfa657c",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "ReadLatency",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_read_throughput_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "6915105d-17eb-4863-8ccd-88c6a56d9ad7",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": "aws_rds_read_throughput_average"
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "b7f7c9e9-0fdf-462e-b465-57025785e98f",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "FreeStorageSpace",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_write_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_write_throughput_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "05330793",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "ReadThroughput",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_read_iops_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "0ab52186-6617-4f8b-a3fc-3778c09b6faf",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "d6be5165-c686-412f-80f7-4a81a28cae7d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "WriteThroughput",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_write_iops_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_write_iops_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "0606e3a2",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "ReadIOPS",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The amount of available storage space.",
+ "fillSpans": false,
+ "id": "6807e631-4894-4de8-8a55-686c8fa08d4b",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_free_storage_space_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "b7f7c9e9-0fdf-462e-b465-57025785e98f",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "253e440a-b13d-411c-a069-d4da1f4c84d7",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "WriteIOPS",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "ffc39591-288f-4b28-87ee-43456d5d0667",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_network_transmit_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_network_transmit_throughput_average",
- "type": "Gauge"
- },
- "aggregateOperator": "sum",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "d5e2f293",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "FreeStorageSpace",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_write_throughput_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "d6be5165-c686-412f-80f7-4a81a28cae7d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "n/w transmit",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "sum"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "WriteThroughput",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_write_iops_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "253e440a-b13d-411c-a069-d4da1f4c84d7",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_network_receive_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_network_receive_throughput_average",
- "type": "Gauge"
- },
- "aggregateOperator": "sum",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "e968f079",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "WriteIOPS",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "ffc39591-288f-4b28-87ee-43456d5d0667",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_network_transmit_throughput_average",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "n/w transmit",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_network_receive_throughput_average",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "n/w receive",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "2c6be01b-25d9-4480-80c9-f180edad6bf9",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "n/w receive",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "sum"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "2c6be01b-25d9-4480-80c9-f180edad6bf9",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Network transmit/receive",
- "yAxisUnit": "Bps"
- },
- {
- "description": "The number of outstanding I/Os (read/write requests) waiting to access the disk.",
- "fillSpans": false,
- "id": "845ee717-bbd1-424c-8293-f49e76aa43b3",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_disk_queue_depth_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_disk_queue_depth_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "96c73381",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Network transmit/receive",
+ "yAxisUnit": "Bps"
+ },
+ {
+ "description": "The number of outstanding I/Os (read/write requests) waiting to access the disk.",
+ "fillSpans": false,
+ "id": "845ee717-bbd1-424c-8293-f49e76aa43b3",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_disk_queue_depth_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "afe73a96-1c56-451e-bca6-2c41c62d47a8",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "afe73a96-1c56-451e-bca6-2c41c62d47a8",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "DiskQueueDepth",
- "yAxisUnit": "none"
- },
- {
- "description": "The percentage of throughput credits remaining in the burst bucket of your RDS database. ",
- "fillSpans": false,
- "id": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_ebsiobalance__average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_ebsiobalance__average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "e88eb970",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "DiskQueueDepth",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The percentage of throughput credits remaining in the burst bucket of your RDS database. ",
+ "fillSpans": false,
+ "id": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_ebsiobalance__average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "1d8b8b67-0646-4ebc-aa8b-1c10643ddfa0",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "1d8b8b67-0646-4ebc-aa8b-1c10643ddfa0",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "EBSByteBalance%",
- "yAxisUnit": "none"
- },
- {
- "description": "The percentage of I/O credits remaining in the burst bucket of your RDS database.",
- "fillSpans": false,
- "id": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_ebsiobalance__average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_ebsiobalance__average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "c8d78684",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "EBSByteBalance%",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The percentage of I/O credits remaining in the burst bucket of your RDS database.",
+ "fillSpans": false,
+ "id": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_ebsiobalance__average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "a0f7c676-ae5f-4db9-bb73-26dbb9db7fab",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "a0f7c676-ae5f-4db9-bb73-26dbb9db7fab",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "EBSIOBalance%",
- "yAxisUnit": "none"
- },
- {
- "description": "The amount of disk space occupied by binary logs. If automatic backups are enabled for MySQL and MariaDB instances, including read replicas, binary logs are created.",
- "fillSpans": false,
- "id": "d16d8683-8c69-4526-a9cd-cc21ae5c60af",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_bin_log_disk_usage_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_bin_log_disk_usage_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "1707f954",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "EBSIOBalance%",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The amount of disk space occupied by binary logs. If automatic backups are enabled for MySQL and MariaDB instances, including read replicas, binary logs are created.",
+ "fillSpans": false,
+ "id": "d16d8683-8c69-4526-a9cd-cc21ae5c60af",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_bin_log_disk_usage_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "dbinstance_identifier",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "334d7c5d-4851-419a-90b2-86ebe21befff",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "dbinstance_identifier",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "334d7c5d-4851-419a-90b2-86ebe21befff",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "BinLogDiskUsage",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_write_latency_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_write_latency_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "5b97fb87",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "BinLogDiskUsage",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_write_latency_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "7533cf12-7ee3-49e8-8fcd-c1f82ea317ab",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "7533cf12-7ee3-49e8-8fcd-c1f82ea317ab",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "WriteLatency",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_swap_usage_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_swap_usage_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "afabe318",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "WriteLatency",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_swap_usage_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "61ecb019-0fbf-44f1-a9db-995b86ee4805",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "61ecb019-0fbf-44f1-a9db-995b86ee4805",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "SwapUsage",
+ "yAxisUnit": "decbytes"
}
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "SwapUsage",
- "yAxisUnit": "decbytes"
- }
- ]
+ ]
}
\ No newline at end of file
diff --git a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/db_metrics_overview.json b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/db_metrics_overview.json
index cd528c5c96..bf0514be1b 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/db_metrics_overview.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/db_metrics_overview.json
@@ -2,1819 +2,1349 @@
"description": "This dashboard provides a high-level overview of your PostgreSQL databases. It includes replication, locks, and throughput etc...",
"id": "postgres_overview_metrics",
"layout": [
- {
- "h": 1,
- "i": "3bd16024-b9ff-4f02-8107-1fd817604d5f",
- "maxH": 1,
- "minH": 1,
- "minW": 12,
- "moved": false,
- "static": false,
- "w": 12,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "i": "8638a199-20a0-4255-b0a2-3b1ba06c485b",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 1
- },
- {
- "h": 1,
- "i": "7df9b6d2-8f7f-48d4-80d6-ae07d47746d6",
- "maxH": 1,
- "minH": 1,
- "minW": 12,
- "moved": false,
- "static": false,
- "w": 12,
- "x": 0,
- "y": 6
- },
- {
- "h": 5,
- "i": "191d09a6-40b0-4de8-a5b0-aa4254454b99",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 7
- },
- {
- "h": 5,
- "i": "fa941c00-ce19-49cc-baf2-c38598767dee",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 7
- },
- {
- "h": 5,
- "i": "114fcf80-e1de-4716-b1aa-0e0738dba10e",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 5,
- "i": "667428ef-9b9a-4e91-bd1e-938e0dc1ff32",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 12
- },
- {
- "h": 5,
- "i": "bada7864-1d23-4d49-a868-c6b8a93c738f",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 17
- },
- {
- "h": 1,
- "i": "b437186f-d112-4fb9-bed5-5bea2b5f4b60",
- "maxH": 1,
- "minH": 1,
- "minW": 12,
- "moved": false,
- "static": false,
- "w": 12,
- "x": 0,
- "y": 22
- },
- {
- "h": 5,
- "i": "6b700035-e3c2-4c48-99fa-ebfd6202eed3",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 23
- },
- {
- "h": 5,
- "i": "e9341e70-ccb3-47fc-af95-56ba8942c4f2",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 23
- },
- {
- "h": 1,
- "i": "4b94cfd8-7a28-46f9-a618-0a186908f0d5",
- "maxH": 1,
- "minH": 1,
- "minW": 12,
- "moved": false,
- "static": false,
- "w": 12,
- "x": 0,
- "y": 28
- },
- {
- "h": 6,
- "i": "9552123d-6265-48a7-8624-3f4a3fc3c9c0",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 29
- },
- {
- "h": 5,
- "i": "d7838815-4f5b-4454-86fd-f658b201f3a9",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 29
- },
- {
- "h": 5,
- "i": "f9a6f683-7455-4643-acc8-467cc5ea52cf",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 35
- }
- ],
- "name": "",
- "panelMap": {
- "3bd16024-b9ff-4f02-8107-1fd817604d5f": {
- "collapsed": false,
- "widgets": []
- },
- "4b94cfd8-7a28-46f9-a618-0a186908f0d5": {
- "collapsed": true,
- "widgets": []
- },
- "7df9b6d2-8f7f-48d4-80d6-ae07d47746d6": {
- "collapsed": false,
- "widgets": [
- {
+ {
+ "h": 1,
+ "i": "3bd16024-b9ff-4f02-8107-1fd817604d5f",
+ "maxH": 1,
+ "minH": 1,
+ "minW": 12,
+ "moved": false,
+ "static": false,
+ "w": 12,
+ "x": 0,
+ "y": 0
+ },
+ {
"h": 5,
- "i": "191d09a6-40b0-4de8-a5b0-aa4254454b99",
+ "i": "8638a199-20a0-4255-b0a2-3b1ba06c485b",
"moved": false,
"static": false,
"w": 6,
"x": 0,
"y": 1
- },
- {
+ },
+ {
+ "h": 1,
+ "i": "7df9b6d2-8f7f-48d4-80d6-ae07d47746d6",
+ "maxH": 1,
+ "minH": 1,
+ "minW": 12,
+ "moved": false,
+ "static": false,
+ "w": 12,
+ "x": 0,
+ "y": 6
+ },
+ {
+ "h": 5,
+ "i": "191d09a6-40b0-4de8-a5b0-aa4254454b99",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 7
+ },
+ {
"h": 5,
"i": "fa941c00-ce19-49cc-baf2-c38598767dee",
"moved": false,
"static": false,
"w": 6,
"x": 6,
- "y": 1
- },
- {
+ "y": 7
+ },
+ {
"h": 5,
"i": "114fcf80-e1de-4716-b1aa-0e0738dba10e",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 6
- },
- {
+ "y": 12
+ },
+ {
"h": 5,
"i": "667428ef-9b9a-4e91-bd1e-938e0dc1ff32",
"moved": false,
"static": false,
"w": 6,
"x": 6,
- "y": 6
- },
- {
+ "y": 12
+ },
+ {
"h": 5,
"i": "bada7864-1d23-4d49-a868-c6b8a93c738f",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 11
- }
- ]
- },
- "b437186f-d112-4fb9-bed5-5bea2b5f4b60": {
- "collapsed": false,
- "widgets": [
- {
+ "y": 17
+ },
+ {
+ "h": 1,
+ "i": "b437186f-d112-4fb9-bed5-5bea2b5f4b60",
+ "maxH": 1,
+ "minH": 1,
+ "minW": 12,
+ "moved": false,
+ "static": false,
+ "w": 12,
+ "x": 0,
+ "y": 22
+ },
+ {
"h": 5,
"i": "6b700035-e3c2-4c48-99fa-ebfd6202eed3",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 47
- },
- {
+ "y": 23
+ },
+ {
"h": 5,
"i": "e9341e70-ccb3-47fc-af95-56ba8942c4f2",
"moved": false,
"static": false,
"w": 6,
"x": 6,
- "y": 47
- },
- {
- "h": 4,
- "i": "8638a199-20a0-4255-b0a2-3b1ba06c485b",
+ "y": 23
+ },
+ {
+ "h": 1,
+ "i": "4b94cfd8-7a28-46f9-a618-0a186908f0d5",
+ "maxH": 1,
+ "minH": 1,
+ "minW": 12,
"moved": false,
"static": false,
- "w": 6,
- "x": 3,
- "y": 52
- },
- {
- "h": 5,
- "i": "f9a6f683-7455-4643-acc8-467cc5ea52cf",
+ "w": 12,
+ "x": 0,
+ "y": 28
+ },
+ {
+ "h": 6,
+ "i": "9552123d-6265-48a7-8624-3f4a3fc3c9c0",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 56
- },
- {
+ "y": 29
+ },
+ {
"h": 5,
"i": "d7838815-4f5b-4454-86fd-f658b201f3a9",
"moved": false,
"static": false,
"w": 6,
"x": 6,
- "y": 56
- },
- {
- "h": 7,
- "i": "9552123d-6265-48a7-8624-3f4a3fc3c9c0",
+ "y": 29
+ },
+ {
+ "h": 5,
+ "i": "f9a6f683-7455-4643-acc8-467cc5ea52cf",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 61
- }
- ]
- }
+ "y": 35
+ }
+ ],
+ "name": "",
+ "panelMap": {
+ "3bd16024-b9ff-4f02-8107-1fd817604d5f": {
+ "collapsed": false,
+ "widgets": []
+ },
+ "4b94cfd8-7a28-46f9-a618-0a186908f0d5": {
+ "collapsed": true,
+ "widgets": []
+ },
+ "7df9b6d2-8f7f-48d4-80d6-ae07d47746d6": {
+ "collapsed": false,
+ "widgets": [
+ {
+ "h": 5,
+ "i": "191d09a6-40b0-4de8-a5b0-aa4254454b99",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 1
+ },
+ {
+ "h": 5,
+ "i": "fa941c00-ce19-49cc-baf2-c38598767dee",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 1
+ },
+ {
+ "h": 5,
+ "i": "114fcf80-e1de-4716-b1aa-0e0738dba10e",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 6
+ },
+ {
+ "h": 5,
+ "i": "667428ef-9b9a-4e91-bd1e-938e0dc1ff32",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 6
+ },
+ {
+ "h": 5,
+ "i": "bada7864-1d23-4d49-a868-c6b8a93c738f",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 11
+ }
+ ]
+ },
+ "b437186f-d112-4fb9-bed5-5bea2b5f4b60": {
+ "collapsed": false,
+ "widgets": [
+ {
+ "h": 5,
+ "i": "6b700035-e3c2-4c48-99fa-ebfd6202eed3",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 47
+ },
+ {
+ "h": 5,
+ "i": "e9341e70-ccb3-47fc-af95-56ba8942c4f2",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 47
+ },
+ {
+ "h": 4,
+ "i": "8638a199-20a0-4255-b0a2-3b1ba06c485b",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 3,
+ "y": 52
+ },
+ {
+ "h": 5,
+ "i": "f9a6f683-7455-4643-acc8-467cc5ea52cf",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 56
+ },
+ {
+ "h": 5,
+ "i": "d7838815-4f5b-4454-86fd-f658b201f3a9",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 56
+ },
+ {
+ "h": 7,
+ "i": "9552123d-6265-48a7-8624-3f4a3fc3c9c0",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 61
+ }
+ ]
+ }
},
"tags": [
- "postgres",
- "database"
+ "postgres",
+ "database"
],
"title": "Postgres overview",
"uploadedGrafana": false,
+ "uuid": "149ad467-ba1b-421f-ad87-78f943cc7530",
"variables": {
- "8ecaee70-640f-46fd-83d9-a4fd18bc66e6": {
- "allSelected": true,
- "customValue": "",
- "description": "List of tables",
- "id": "8ecaee70-640f-46fd-83d9-a4fd18bc66e6",
- "modificationUUID": "a51321cd-47a2-470a-8df4-372e5bb36f2c",
- "multiSelect": true,
- "name": "table_name",
- "order": 0,
- "queryValue": "SELECT JSONExtractString(labels, 'postgresql_table_name') AS table_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'postgresql_operations' AND JSONExtractString(labels, 'postgresql_database_name') IN {{.db_name}}\nGROUP BY table_name",
- "selectedValue": [
- "public.pgbench_accounts",
- "public.pgbench_branches",
- "public.pgbench_history",
- "public.pgbench_tellers"
- ],
- "showALLOption": true,
- "sort": "ASC",
- "textboxValue": "",
- "type": "QUERY"
- },
- "c66d1581-e5e1-440d-8ff6-ebcf078ab6dd": {
- "allSelected": true,
- "customValue": "",
- "description": "List of databases",
- "id": "c66d1581-e5e1-440d-8ff6-ebcf078ab6dd",
- "key": "c66d1581-e5e1-440d-8ff6-ebcf078ab6dd",
- "modificationUUID": "564a3f43-98f8-4189-b5e4-dcb518d73852",
- "multiSelect": true,
- "name": "db_name",
- "order": 0,
- "queryValue": "SELECT JSONExtractString(labels, 'postgresql_database_name') AS db_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'postgresql_operations'\nGROUP BY db_name",
- "selectedValue": [
- "pgtestdb"
- ],
- "showALLOption": true,
- "sort": "DISABLED",
- "textboxValue": "",
- "type": "QUERY"
- }
+ "8ecaee70-640f-46fd-83d9-a4fd18bc66e6": {
+ "allSelected": true,
+ "customValue": "",
+ "description": "List of tables",
+ "id": "8ecaee70-640f-46fd-83d9-a4fd18bc66e6",
+ "modificationUUID": "a51321cd-47a2-470a-8df4-372e5bb36f2c",
+ "multiSelect": true,
+ "name": "table_name",
+ "order": 0,
+ "queryValue": "SELECT JSONExtractString(labels, 'postgresql_table_name') AS table_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'postgresql_operations' AND JSONExtractString(labels, 'postgresql_database_name') IN {{.db_name}}\nGROUP BY table_name",
+ "selectedValue": [
+ "public.pgbench_accounts",
+ "public.pgbench_branches",
+ "public.pgbench_history",
+ "public.pgbench_tellers"
+ ],
+ "showALLOption": true,
+ "sort": "ASC",
+ "textboxValue": "",
+ "type": "QUERY"
+ },
+ "c66d1581-e5e1-440d-8ff6-ebcf078ab6dd": {
+ "allSelected": true,
+ "customValue": "",
+ "description": "List of databases",
+ "id": "c66d1581-e5e1-440d-8ff6-ebcf078ab6dd",
+ "key": "c66d1581-e5e1-440d-8ff6-ebcf078ab6dd",
+ "modificationUUID": "564a3f43-98f8-4189-b5e4-dcb518d73852",
+ "multiSelect": true,
+ "name": "db_name",
+ "order": 0,
+ "queryValue": "SELECT JSONExtractString(labels, 'postgresql_database_name') AS db_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'postgresql_operations'\nGROUP BY db_name",
+ "selectedValue": [
+ "pgtestdb"
+ ],
+ "showALLOption": true,
+ "sort": "DISABLED",
+ "textboxValue": "",
+ "type": "QUERY"
+ }
},
+ "version": "v5",
"widgets": [
- {
- "description": "The average number of db insert operations.",
- "fillSpans": false,
- "id": "191d09a6-40b0-4de8-a5b0-aa4254454b99",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_operations",
- "type": "Sum"
+ {
+ "description": "The average number of db insert operations.",
+ "fillSpans": false,
+ "id": "191d09a6-40b0-4de8-a5b0-aa4254454b99",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(operation = 'ins' AND postgresql_database_name IN $db_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql_database_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql_database_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{postgresql_database_name}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ "clickhouse_sql": [
{
- "id": "c1dff946",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "ins"
- },
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "bf48ac4c-bc0c-41a0-87f4-6f8ae7888d1f",
+ "promql": [
{
- "id": "2e60e171",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "{{postgresql_database_name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "bf48ac4c-bc0c-41a0-87f4-6f8ae7888d1f",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Inserts",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Inserts",
- "yAxisUnit": "none"
- },
- {
- "description": "The average number of db update operations.",
- "fillSpans": false,
- "id": "fa941c00-ce19-49cc-baf2-c38598767dee",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_operations",
- "type": "Sum"
+ {
+ "description": "The average number of db update operations.",
+ "fillSpans": false,
+ "id": "fa941c00-ce19-49cc-baf2-c38598767dee",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(operation = 'upd' AND postgresql_database_name IN $db_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql_database_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql_database_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{postgresql_database_name}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ "clickhouse_sql": [
{
- "id": "98463ec9",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "upd"
- },
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "34a6ac3a-b7f6-4b5f-a084-a44378033d82",
+ "promql": [
{
- "id": "64020332",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "{{postgresql_database_name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "34a6ac3a-b7f6-4b5f-a084-a44378033d82",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Updates",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Updates",
- "yAxisUnit": "none"
- },
- {
- "description": "The average number of db delete operations.",
- "fillSpans": false,
- "id": "114fcf80-e1de-4716-b1aa-0e0738dba10e",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_operations",
- "type": "Sum"
+ {
+ "description": "The average number of db delete operations.",
+ "fillSpans": false,
+ "id": "114fcf80-e1de-4716-b1aa-0e0738dba10e",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(operation = 'del' AND postgresql_database_name IN $db_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql_database_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql_database_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{postgresql_database_name}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ "clickhouse_sql": [
{
- "id": "62738de4",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "del"
- },
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "734393d1-76ed-4f4f-bef8-0a91d27ebec4",
+ "promql": [
{
- "id": "9d153899",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "{{postgresql_database_name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "734393d1-76ed-4f4f-bef8-0a91d27ebec4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Deleted",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Deleted",
- "yAxisUnit": "none"
- },
- {
- "description": "The average number of db heap-only update operations.",
- "fillSpans": false,
- "id": "667428ef-9b9a-4e91-bd1e-938e0dc1ff32",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_operations",
- "type": "Sum"
+ {
+ "description": "The average number of db heap-only update operations.",
+ "fillSpans": false,
+ "id": "667428ef-9b9a-4e91-bd1e-938e0dc1ff32",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(operation = 'hot_upd' AND postgresql_database_name IN $db_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql_database_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql_database_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{postgresql_database_name}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ "clickhouse_sql": [
{
- "id": "a91e35c4",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "hot_upd"
- },
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "f43c2d19-4abc-4f5e-881b-db7add4a870a",
+ "promql": [
{
- "id": "7b4a29a2",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "{{postgresql_database_name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "f43c2d19-4abc-4f5e-881b-db7add4a870a",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Heap updates",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Heap updates",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "bada7864-1d23-4d49-a868-c6b8a93c738f",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_operations",
- "type": "Sum"
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "bada7864-1d23-4d49-a868-c6b8a93c738f",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_operations",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(operation = 'ins' AND postgresql_database_name IN $db_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql_database_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql_database_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Inserted",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_operations",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "(operation = 'upd' AND postgresql_database_name IN $db_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql_database_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql_database_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Updated",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_operations",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "(operation = 'del' AND postgresql_database_name IN $db_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql_database_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql_database_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Deleted",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "d6aeccf7",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "ins"
- },
+ "clickhouse_sql": [
{
- "id": "ee4e9344",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "Inserted",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
+ "id": "5056105b-1c30-4d27-8187-64457f2a1ec6",
+ "promql": [
{
- "id": "a12cceed",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "upd"
- },
- {
- "id": "2d542482",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "Updated",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "sum",
- "stepInterval": 60
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_operations",
- "type": "Sum"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Operation by database",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The number of database locks.",
+ "fillSpans": false,
+ "id": "6b700035-e3c2-4c48-99fa-ebfd6202eed3",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_database_locks",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "mode--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "mode",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{mode}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "1bca3e46",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "del"
- },
+ "clickhouse_sql": [
{
- "id": "44ffc874",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "Deleted",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "5056105b-1c30-4d27-8187-64457f2a1ec6",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Operation by database",
- "yAxisUnit": "none"
- },
- {
- "description": "The number of database locks.",
- "fillSpans": false,
- "id": "6b700035-e3c2-4c48-99fa-ebfd6202eed3",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_database_locks--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_database_locks",
- "type": "Gauge"
- },
- "aggregateOperator": "sum",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "mode--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mode",
- "type": "tag"
- }
+ "id": "877b0df3-9ae3-455e-ad27-bc3aa40b3f4c",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "having": [],
- "legend": "{{mode}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "877b0df3-9ae3-455e-ad27-bc3aa40b3f4c",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Locks by lock mode",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Locks by lock mode",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "e9341e70-ccb3-47fc-af95-56ba8942c4f2",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_deadlocks--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_deadlocks",
- "type": "Sum"
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "e9341e70-ccb3-47fc-af95-56ba8942c4f2",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_deadlocks",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "postgresql_database_name IN $db_name"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql_database_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql_database_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{postgresql_database_name}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "sum_rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ "clickhouse_sql": [
{
- "id": "efb83717",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "{{postgresql_database_name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "5056105b-1c30-4d27-8187-64457f2a1ec6",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Deadlocks count",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "8638a199-20a0-4255-b0a2-3b1ba06c485b",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_backends--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_backends",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ "id": "5056105b-1c30-4d27-8187-64457f2a1ec6",
+ "promql": [
{
- "id": "20d2a4c5",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "{{postgresql_database_name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "205b99a0-2f1c-4bd2-9ba0-cc2da6ef247a",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Deadlocks count",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Connections per db",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "f9a6f683-7455-4643-acc8-467cc5ea52cf",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_rows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_rows",
- "type": "Sum"
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "8638a199-20a0-4255-b0a2-3b1ba06c485b",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_backends",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "postgresql_database_name IN $db_name"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql_database_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql_database_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{postgresql_database_name}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "sum",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "70786905",
- "key": {
- "dataType": "string",
- "id": "state--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "state",
- "type": "tag"
- },
- "op": "=",
- "value": "dead"
- },
+ "clickhouse_sql": [
{
- "id": "3e5ef839",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "205b99a0-2f1c-4bd2-9ba0-cc2da6ef247a",
+ "promql": [
{
- "id": "9e913563",
- "key": {
- "dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [],
- "having": [],
- "legend": "Dead rows",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "cc7452c8-118b-4676-959e-7062bafc41ee",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ ],
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Connections per db",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Dead rows",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "d7838815-4f5b-4454-86fd-f658b201f3a9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_index_scans--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_index_scans",
- "type": "Sum"
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "f9a6f683-7455-4643-acc8-467cc5ea52cf",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_rows",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(state = 'dead' AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ },
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Dead rows",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "sum_rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ "clickhouse_sql": [
{
- "id": "590332a7",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "cc7452c8-118b-4676-959e-7062bafc41ee",
+ "promql": [
{
- "id": "171b9516",
- "key": {
- "dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql_index_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_index_name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "{{postgresql_index_name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "2c6b630b-8bd9-4001-815b-f2b1f439a9dd",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Dead rows",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Index scans by index",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "9552123d-6265-48a7-8624-3f4a3fc3c9c0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "clickhouse_sql": [
- {
- "name": "A",
- "legend": "",
- "disabled": false,
- "query": ""
- }
- ],
- "promql": [
- {
- "name": "A",
- "query": "",
- "legend": "",
- "disabled": false
- }
- ],
- "builder": {
- "queryData": [
- {
- "dataSource": "metrics",
- "queryName": "A",
- "aggregateOperator": "avg",
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_rows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_rows",
- "type": "Sum"
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "d7838815-4f5b-4454-86fd-f658b201f3a9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_index_scans",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql_index_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql_index_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{postgresql_index_name}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "timeAggregation": "rate",
- "spaceAggregation": "sum",
- "functions": [],
- "filters": {
- "items": [
- {
- "id": "d2039662",
- "key": {
- "dataType": "string",
- "id": "state--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "state",
- "type": "tag"
- },
- "op": "=",
- "value": "dead"
- },
+ "clickhouse_sql": [
{
- "id": "21c6d446",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
- {
- "id": "a44d1843",
- "key": {
- "dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "expression": "A",
- "disabled": false,
- "having": [],
- "stepInterval": 840,
- "limit": null,
- "orderBy": [],
- "groupBy": [
- {
- "dataType": "string",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag",
- "id": "postgresql_table_name--string--tag--false"
- }
],
- "legend": "Dead rows",
- "reduceTo": "sum"
- },
- {
- "dataSource": "metrics",
- "queryName": "B",
- "aggregateOperator": "avg",
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_rows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_rows",
- "type": "Sum"
- },
- "timeAggregation": "rate",
- "spaceAggregation": "sum",
- "functions": [],
- "filters": {
- "items": [
- {
- "id": "74888dbf",
- "key": {
- "dataType": "string",
- "id": "state--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "state",
- "type": "tag"
- },
- "op": "=",
- "value": "live"
- },
+ "id": "2c6b630b-8bd9-4001-815b-f2b1f439a9dd",
+ "promql": [
{
- "id": "3e5d7976",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
- {
- "id": "c18ed7a3",
- "key": {
- "dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "expression": "B",
- "disabled": false,
- "having": [],
- "stepInterval": 840,
- "limit": null,
- "orderBy": [],
- "groupBy": [
- {
- "dataType": "string",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag",
- "id": "postgresql_table_name--string--tag--false"
- }
],
- "legend": "Live rows",
- "reduceTo": "sum"
- },
- {
- "dataSource": "metrics",
- "queryName": "C",
- "aggregateOperator": "sum_rate",
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_index_scans--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_index_scans",
- "type": "Sum"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Index scans by index",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "9552123d-6265-48a7-8624-3f4a3fc3c9c0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_rows",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(state = 'dead' AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql_table_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql_table_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Dead rows",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 840
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_rows",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "(state = 'live' AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql_table_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql_table_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Live rows",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 840
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_index_scans",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "(postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql_table_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql_table_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Index scans",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 840
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql_table_size",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": true,
+ "expression": "D",
+ "filter": {
+ "expression": "(postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql_table_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql_table_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Table size",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 840
+ }
+ ],
+ "queryFormulas": [
+ {
+ "disabled": false,
+ "expression": "D/1024/1024/1024",
+ "legend": "Table size (GB)",
+ "queryName": "F1"
+ }
+ ]
},
- "timeAggregation": "rate",
- "spaceAggregation": "sum",
- "functions": [],
- "filters": {
- "items": [
- {
- "id": "f9355263",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
+ "clickhouse_sql": [
{
- "id": "8807a9c4",
- "key": {
- "dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "expression": "C",
- "disabled": false,
- "having": [],
- "stepInterval": 840,
- "limit": null,
- "orderBy": [],
- "groupBy": [
- {
- "dataType": "string",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag",
- "id": "postgresql_table_name--string--tag--false"
- }
],
- "legend": "Index scans",
- "reduceTo": "sum"
- },
- {
- "dataSource": "metrics",
- "queryName": "D",
- "aggregateOperator": "avg",
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_table_size--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_table_size",
- "type": "Sum"
- },
- "timeAggregation": "rate",
- "spaceAggregation": "sum",
- "functions": [],
- "filters": {
- "items": [
+ "id": "05e9c65b-a296-47c0-a802-2fca3320b07a",
+ "promql": [
{
- "id": "4be865f1",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
- {
- "id": "58200638",
- "key": {
- "dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "expression": "D",
- "disabled": true,
- "having": [],
- "stepInterval": 840,
- "limit": null,
- "orderBy": [],
- "groupBy": [
- {
- "dataType": "string",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag",
- "id": "postgresql_table_name--string--tag--false"
- }
],
- "legend": "Table size",
- "reduceTo": "sum"
- }
- ],
- "queryFormulas": [
- {
- "queryName": "F1",
- "expression": "D/1024/1024/1024",
- "disabled": false,
- "legend": "Table size (GB)"
- }
- ]
- },
- "id": "05e9c65b-a296-47c0-a802-2fca3320b07a",
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [],
+ "selectedTracesFields": [],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Table stats",
+ "yAxisUnit": "none"
},
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Table stats",
- "yAxisUnit": "none",
- "selectedLogFields": [],
- "selectedTracesFields": []
- },
- {
- "description": "",
- "id": "7df9b6d2-8f7f-48d4-80d6-ae07d47746d6",
- "panelTypes": "row",
- "title": "Operations"
- },
- {
- "description": "",
- "id": "b437186f-d112-4fb9-bed5-5bea2b5f4b60",
- "panelTypes": "row",
- "title": "Locks"
- },
- {
- "description": "",
- "id": "3bd16024-b9ff-4f02-8107-1fd817604d5f",
- "panelTypes": "row",
- "title": "Connections"
- },
- {
- "description": "",
- "id": "4b94cfd8-7a28-46f9-a618-0a186908f0d5",
- "panelTypes": "row",
- "title": "Stats"
- }
- ],
- "uuid": "149ad467-ba1b-421f-ad87-78f943cc7530"
- }
\ No newline at end of file
+ {
+ "description": "",
+ "id": "7df9b6d2-8f7f-48d4-80d6-ae07d47746d6",
+ "panelTypes": "row",
+ "title": "Operations"
+ },
+ {
+ "description": "",
+ "id": "b437186f-d112-4fb9-bed5-5bea2b5f4b60",
+ "panelTypes": "row",
+ "title": "Locks"
+ },
+ {
+ "description": "",
+ "id": "3bd16024-b9ff-4f02-8107-1fd817604d5f",
+ "panelTypes": "row",
+ "title": "Connections"
+ },
+ {
+ "description": "",
+ "id": "4b94cfd8-7a28-46f9-a618-0a186908f0d5",
+ "panelTypes": "row",
+ "title": "Stats"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/db_metrics_overview_dot.json b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/db_metrics_overview_dot.json
index 2dec4648aa..6a8395c52e 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/db_metrics_overview_dot.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/db_metrics_overview_dot.json
@@ -2,1819 +2,1349 @@
"description": "This dashboard provides a high-level overview of your PostgreSQL databases. It includes replication, locks, and throughput etc...",
"id": "postgres_overview_metrics",
"layout": [
- {
- "h": 1,
- "i": "3bd16024-b9ff-4f02-8107-1fd817604d5f",
- "maxH": 1,
- "minH": 1,
- "minW": 12,
- "moved": false,
- "static": false,
- "w": 12,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "i": "8638a199-20a0-4255-b0a2-3b1ba06c485b",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 1
- },
- {
- "h": 1,
- "i": "7df9b6d2-8f7f-48d4-80d6-ae07d47746d6",
- "maxH": 1,
- "minH": 1,
- "minW": 12,
- "moved": false,
- "static": false,
- "w": 12,
- "x": 0,
- "y": 6
- },
- {
- "h": 5,
- "i": "191d09a6-40b0-4de8-a5b0-aa4254454b99",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 7
- },
- {
- "h": 5,
- "i": "fa941c00-ce19-49cc-baf2-c38598767dee",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 7
- },
- {
- "h": 5,
- "i": "114fcf80-e1de-4716-b1aa-0e0738dba10e",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 5,
- "i": "667428ef-9b9a-4e91-bd1e-938e0dc1ff32",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 12
- },
- {
- "h": 5,
- "i": "bada7864-1d23-4d49-a868-c6b8a93c738f",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 17
- },
- {
- "h": 1,
- "i": "b437186f-d112-4fb9-bed5-5bea2b5f4b60",
- "maxH": 1,
- "minH": 1,
- "minW": 12,
- "moved": false,
- "static": false,
- "w": 12,
- "x": 0,
- "y": 22
- },
- {
- "h": 5,
- "i": "6b700035-e3c2-4c48-99fa-ebfd6202eed3",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 23
- },
- {
- "h": 5,
- "i": "e9341e70-ccb3-47fc-af95-56ba8942c4f2",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 23
- },
- {
- "h": 1,
- "i": "4b94cfd8-7a28-46f9-a618-0a186908f0d5",
- "maxH": 1,
- "minH": 1,
- "minW": 12,
- "moved": false,
- "static": false,
- "w": 12,
- "x": 0,
- "y": 28
- },
- {
- "h": 6,
- "i": "9552123d-6265-48a7-8624-3f4a3fc3c9c0",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 29
- },
- {
- "h": 5,
- "i": "d7838815-4f5b-4454-86fd-f658b201f3a9",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 29
- },
- {
- "h": 5,
- "i": "f9a6f683-7455-4643-acc8-467cc5ea52cf",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 35
- }
- ],
- "name": "",
- "panelMap": {
- "3bd16024-b9ff-4f02-8107-1fd817604d5f": {
- "collapsed": false,
- "widgets": []
- },
- "4b94cfd8-7a28-46f9-a618-0a186908f0d5": {
- "collapsed": true,
- "widgets": []
- },
- "7df9b6d2-8f7f-48d4-80d6-ae07d47746d6": {
- "collapsed": false,
- "widgets": [
- {
+ {
+ "h": 1,
+ "i": "3bd16024-b9ff-4f02-8107-1fd817604d5f",
+ "maxH": 1,
+ "minH": 1,
+ "minW": 12,
+ "moved": false,
+ "static": false,
+ "w": 12,
+ "x": 0,
+ "y": 0
+ },
+ {
"h": 5,
- "i": "191d09a6-40b0-4de8-a5b0-aa4254454b99",
+ "i": "8638a199-20a0-4255-b0a2-3b1ba06c485b",
"moved": false,
"static": false,
"w": 6,
"x": 0,
"y": 1
- },
- {
+ },
+ {
+ "h": 1,
+ "i": "7df9b6d2-8f7f-48d4-80d6-ae07d47746d6",
+ "maxH": 1,
+ "minH": 1,
+ "minW": 12,
+ "moved": false,
+ "static": false,
+ "w": 12,
+ "x": 0,
+ "y": 6
+ },
+ {
+ "h": 5,
+ "i": "191d09a6-40b0-4de8-a5b0-aa4254454b99",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 7
+ },
+ {
"h": 5,
"i": "fa941c00-ce19-49cc-baf2-c38598767dee",
"moved": false,
"static": false,
"w": 6,
"x": 6,
- "y": 1
- },
- {
+ "y": 7
+ },
+ {
"h": 5,
"i": "114fcf80-e1de-4716-b1aa-0e0738dba10e",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 6
- },
- {
+ "y": 12
+ },
+ {
"h": 5,
"i": "667428ef-9b9a-4e91-bd1e-938e0dc1ff32",
"moved": false,
"static": false,
"w": 6,
"x": 6,
- "y": 6
- },
- {
+ "y": 12
+ },
+ {
"h": 5,
"i": "bada7864-1d23-4d49-a868-c6b8a93c738f",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 11
- }
- ]
- },
- "b437186f-d112-4fb9-bed5-5bea2b5f4b60": {
- "collapsed": false,
- "widgets": [
- {
+ "y": 17
+ },
+ {
+ "h": 1,
+ "i": "b437186f-d112-4fb9-bed5-5bea2b5f4b60",
+ "maxH": 1,
+ "minH": 1,
+ "minW": 12,
+ "moved": false,
+ "static": false,
+ "w": 12,
+ "x": 0,
+ "y": 22
+ },
+ {
"h": 5,
"i": "6b700035-e3c2-4c48-99fa-ebfd6202eed3",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 47
- },
- {
+ "y": 23
+ },
+ {
"h": 5,
"i": "e9341e70-ccb3-47fc-af95-56ba8942c4f2",
"moved": false,
"static": false,
"w": 6,
"x": 6,
- "y": 47
- },
- {
- "h": 4,
- "i": "8638a199-20a0-4255-b0a2-3b1ba06c485b",
+ "y": 23
+ },
+ {
+ "h": 1,
+ "i": "4b94cfd8-7a28-46f9-a618-0a186908f0d5",
+ "maxH": 1,
+ "minH": 1,
+ "minW": 12,
"moved": false,
"static": false,
- "w": 6,
- "x": 3,
- "y": 52
- },
- {
- "h": 5,
- "i": "f9a6f683-7455-4643-acc8-467cc5ea52cf",
+ "w": 12,
+ "x": 0,
+ "y": 28
+ },
+ {
+ "h": 6,
+ "i": "9552123d-6265-48a7-8624-3f4a3fc3c9c0",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 56
- },
- {
+ "y": 29
+ },
+ {
"h": 5,
"i": "d7838815-4f5b-4454-86fd-f658b201f3a9",
"moved": false,
"static": false,
"w": 6,
"x": 6,
- "y": 56
- },
- {
- "h": 7,
- "i": "9552123d-6265-48a7-8624-3f4a3fc3c9c0",
+ "y": 29
+ },
+ {
+ "h": 5,
+ "i": "f9a6f683-7455-4643-acc8-467cc5ea52cf",
"moved": false,
"static": false,
"w": 6,
"x": 0,
- "y": 61
- }
- ]
- }
+ "y": 35
+ }
+ ],
+ "name": "",
+ "panelMap": {
+ "3bd16024-b9ff-4f02-8107-1fd817604d5f": {
+ "collapsed": false,
+ "widgets": []
+ },
+ "4b94cfd8-7a28-46f9-a618-0a186908f0d5": {
+ "collapsed": true,
+ "widgets": []
+ },
+ "7df9b6d2-8f7f-48d4-80d6-ae07d47746d6": {
+ "collapsed": false,
+ "widgets": [
+ {
+ "h": 5,
+ "i": "191d09a6-40b0-4de8-a5b0-aa4254454b99",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 1
+ },
+ {
+ "h": 5,
+ "i": "fa941c00-ce19-49cc-baf2-c38598767dee",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 1
+ },
+ {
+ "h": 5,
+ "i": "114fcf80-e1de-4716-b1aa-0e0738dba10e",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 6
+ },
+ {
+ "h": 5,
+ "i": "667428ef-9b9a-4e91-bd1e-938e0dc1ff32",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 6
+ },
+ {
+ "h": 5,
+ "i": "bada7864-1d23-4d49-a868-c6b8a93c738f",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 11
+ }
+ ]
+ },
+ "b437186f-d112-4fb9-bed5-5bea2b5f4b60": {
+ "collapsed": false,
+ "widgets": [
+ {
+ "h": 5,
+ "i": "6b700035-e3c2-4c48-99fa-ebfd6202eed3",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 47
+ },
+ {
+ "h": 5,
+ "i": "e9341e70-ccb3-47fc-af95-56ba8942c4f2",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 47
+ },
+ {
+ "h": 4,
+ "i": "8638a199-20a0-4255-b0a2-3b1ba06c485b",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 3,
+ "y": 52
+ },
+ {
+ "h": 5,
+ "i": "f9a6f683-7455-4643-acc8-467cc5ea52cf",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 56
+ },
+ {
+ "h": 5,
+ "i": "d7838815-4f5b-4454-86fd-f658b201f3a9",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 56
+ },
+ {
+ "h": 7,
+ "i": "9552123d-6265-48a7-8624-3f4a3fc3c9c0",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 61
+ }
+ ]
+ }
},
"tags": [
- "postgres",
- "database"
+ "postgres",
+ "database"
],
"title": "Postgres overview",
"uploadedGrafana": false,
+ "uuid": "149ad467-ba1b-421f-ad87-78f943cc7530",
"variables": {
- "8ecaee70-640f-46fd-83d9-a4fd18bc66e6": {
- "allSelected": true,
- "customValue": "",
- "description": "List of tables",
- "id": "8ecaee70-640f-46fd-83d9-a4fd18bc66e6",
- "modificationUUID": "a51321cd-47a2-470a-8df4-372e5bb36f2c",
- "multiSelect": true,
- "name": "table_name",
- "order": 0,
- "queryValue": "SELECT JSONExtractString(labels, 'postgresql.table.name') AS table_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'postgresql.operations' AND JSONExtractString(labels, 'postgresql.database.name') IN {{.db_name}}\nGROUP BY table_name",
- "selectedValue": [
- "public.pgbench_accounts",
- "public.pgbench_branches",
- "public.pgbench_history",
- "public.pgbench_tellers"
- ],
- "showALLOption": true,
- "sort": "ASC",
- "textboxValue": "",
- "type": "QUERY"
- },
- "c66d1581-e5e1-440d-8ff6-ebcf078ab6dd": {
- "allSelected": true,
- "customValue": "",
- "description": "List of databases",
- "id": "c66d1581-e5e1-440d-8ff6-ebcf078ab6dd",
- "key": "c66d1581-e5e1-440d-8ff6-ebcf078ab6dd",
- "modificationUUID": "564a3f43-98f8-4189-b5e4-dcb518d73852",
- "multiSelect": true,
- "name": "db_name",
- "order": 0,
- "queryValue": "SELECT JSONExtractString(labels, 'postgresql.database.name') AS db_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'postgresql.operations'\nGROUP BY db_name",
- "selectedValue": [
- "pgtestdb"
- ],
- "showALLOption": true,
- "sort": "DISABLED",
- "textboxValue": "",
- "type": "QUERY"
- }
+ "8ecaee70-640f-46fd-83d9-a4fd18bc66e6": {
+ "allSelected": true,
+ "customValue": "",
+ "description": "List of tables",
+ "id": "8ecaee70-640f-46fd-83d9-a4fd18bc66e6",
+ "modificationUUID": "a51321cd-47a2-470a-8df4-372e5bb36f2c",
+ "multiSelect": true,
+ "name": "table_name",
+ "order": 0,
+ "queryValue": "SELECT JSONExtractString(labels, 'postgresql.table.name') AS table_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'postgresql.operations' AND JSONExtractString(labels, 'postgresql.database.name') IN {{.db_name}}\nGROUP BY table_name",
+ "selectedValue": [
+ "public.pgbench_accounts",
+ "public.pgbench_branches",
+ "public.pgbench_history",
+ "public.pgbench_tellers"
+ ],
+ "showALLOption": true,
+ "sort": "ASC",
+ "textboxValue": "",
+ "type": "QUERY"
+ },
+ "c66d1581-e5e1-440d-8ff6-ebcf078ab6dd": {
+ "allSelected": true,
+ "customValue": "",
+ "description": "List of databases",
+ "id": "c66d1581-e5e1-440d-8ff6-ebcf078ab6dd",
+ "key": "c66d1581-e5e1-440d-8ff6-ebcf078ab6dd",
+ "modificationUUID": "564a3f43-98f8-4189-b5e4-dcb518d73852",
+ "multiSelect": true,
+ "name": "db_name",
+ "order": 0,
+ "queryValue": "SELECT JSONExtractString(labels, 'postgresql.database.name') AS db_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'postgresql.operations'\nGROUP BY db_name",
+ "selectedValue": [
+ "pgtestdb"
+ ],
+ "showALLOption": true,
+ "sort": "DISABLED",
+ "textboxValue": "",
+ "type": "QUERY"
+ }
},
+ "version": "v5",
"widgets": [
- {
- "description": "The average number of db insert operations.",
- "fillSpans": false,
- "id": "191d09a6-40b0-4de8-a5b0-aa4254454b99",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.operations",
- "type": "Sum"
+ {
+ "description": "The average number of db insert operations.",
+ "fillSpans": false,
+ "id": "191d09a6-40b0-4de8-a5b0-aa4254454b99",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(operation = 'ins' AND postgresql.database.name IN $db_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql.database.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql.database.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{postgresql.database.name}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ "clickhouse_sql": [
{
- "id": "c1dff946",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "ins"
- },
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "bf48ac4c-bc0c-41a0-87f4-6f8ae7888d1f",
+ "promql": [
{
- "id": "2e60e171",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "{{postgresql.database.name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "bf48ac4c-bc0c-41a0-87f4-6f8ae7888d1f",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Inserts",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Inserts",
- "yAxisUnit": "none"
- },
- {
- "description": "The average number of db update operations.",
- "fillSpans": false,
- "id": "fa941c00-ce19-49cc-baf2-c38598767dee",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.operations",
- "type": "Sum"
+ {
+ "description": "The average number of db update operations.",
+ "fillSpans": false,
+ "id": "fa941c00-ce19-49cc-baf2-c38598767dee",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(operation = 'upd' AND postgresql.database.name IN $db_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql.database.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql.database.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{postgresql.database.name}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ "clickhouse_sql": [
{
- "id": "98463ec9",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "upd"
- },
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "34a6ac3a-b7f6-4b5f-a084-a44378033d82",
+ "promql": [
{
- "id": "64020332",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "{{postgresql.database.name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "34a6ac3a-b7f6-4b5f-a084-a44378033d82",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Updates",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Updates",
- "yAxisUnit": "none"
- },
- {
- "description": "The average number of db delete operations.",
- "fillSpans": false,
- "id": "114fcf80-e1de-4716-b1aa-0e0738dba10e",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.operations",
- "type": "Sum"
+ {
+ "description": "The average number of db delete operations.",
+ "fillSpans": false,
+ "id": "114fcf80-e1de-4716-b1aa-0e0738dba10e",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(operation = 'del' AND postgresql.database.name IN $db_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql.database.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql.database.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{postgresql.database.name}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ "clickhouse_sql": [
{
- "id": "62738de4",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "del"
- },
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "734393d1-76ed-4f4f-bef8-0a91d27ebec4",
+ "promql": [
{
- "id": "9d153899",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "{{postgresql.database.name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "734393d1-76ed-4f4f-bef8-0a91d27ebec4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Deleted",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Deleted",
- "yAxisUnit": "none"
- },
- {
- "description": "The average number of db heap-only update operations.",
- "fillSpans": false,
- "id": "667428ef-9b9a-4e91-bd1e-938e0dc1ff32",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.operations",
- "type": "Sum"
+ {
+ "description": "The average number of db heap-only update operations.",
+ "fillSpans": false,
+ "id": "667428ef-9b9a-4e91-bd1e-938e0dc1ff32",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(operation = 'hot_upd' AND postgresql.database.name IN $db_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql.database.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql.database.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{postgresql.database.name}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ "clickhouse_sql": [
{
- "id": "a91e35c4",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "hot_upd"
- },
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "f43c2d19-4abc-4f5e-881b-db7add4a870a",
+ "promql": [
{
- "id": "7b4a29a2",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "{{postgresql.database.name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "f43c2d19-4abc-4f5e-881b-db7add4a870a",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Heap updates",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Heap updates",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "bada7864-1d23-4d49-a868-c6b8a93c738f",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.operations",
- "type": "Sum"
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "bada7864-1d23-4d49-a868-c6b8a93c738f",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.operations",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(operation = 'ins' AND postgresql.database.name IN $db_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql.database.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql.database.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Inserted",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.operations",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "(operation = 'upd' AND postgresql.database.name IN $db_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql.database.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql.database.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Updated",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.operations",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "(operation = 'del' AND postgresql.database.name IN $db_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql.database.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql.database.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Deleted",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "d6aeccf7",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "ins"
- },
+ "clickhouse_sql": [
{
- "id": "ee4e9344",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "Inserted",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
+ "id": "5056105b-1c30-4d27-8187-64457f2a1ec6",
+ "promql": [
{
- "id": "a12cceed",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "upd"
- },
- {
- "id": "2d542482",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "Updated",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "sum",
- "stepInterval": 60
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.operations",
- "type": "Sum"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Operation by database",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The number of database locks.",
+ "fillSpans": false,
+ "id": "6b700035-e3c2-4c48-99fa-ebfd6202eed3",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.database.locks",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "mode--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "mode",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{mode}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "1bca3e46",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "del"
- },
+ "clickhouse_sql": [
{
- "id": "44ffc874",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "Deleted",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "5056105b-1c30-4d27-8187-64457f2a1ec6",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Operation by database",
- "yAxisUnit": "none"
- },
- {
- "description": "The number of database locks.",
- "fillSpans": false,
- "id": "6b700035-e3c2-4c48-99fa-ebfd6202eed3",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.database.locks--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.database.locks",
- "type": "Gauge"
- },
- "aggregateOperator": "sum",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "mode--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "mode",
- "type": "tag"
- }
+ "id": "877b0df3-9ae3-455e-ad27-bc3aa40b3f4c",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "having": [],
- "legend": "{{mode}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "877b0df3-9ae3-455e-ad27-bc3aa40b3f4c",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Locks by lock mode",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Locks by lock mode",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "e9341e70-ccb3-47fc-af95-56ba8942c4f2",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.deadlocks--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.deadlocks",
- "type": "Sum"
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "e9341e70-ccb3-47fc-af95-56ba8942c4f2",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.deadlocks",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "postgresql.database.name IN $db_name"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql.database.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql.database.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{postgresql.database.name}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "sum_rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ "clickhouse_sql": [
{
- "id": "efb83717",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "{{postgresql.database.name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "5056105b-1c30-4d27-8187-64457f2a1ec6",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Deadlocks count",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "8638a199-20a0-4255-b0a2-3b1ba06c485b",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.backends--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.backends",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ "id": "5056105b-1c30-4d27-8187-64457f2a1ec6",
+ "promql": [
{
- "id": "20d2a4c5",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "{{postgresql.database.name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "205b99a0-2f1c-4bd2-9ba0-cc2da6ef247a",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Deadlocks count",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Connections per db",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "f9a6f683-7455-4643-acc8-467cc5ea52cf",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.rows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.rows",
- "type": "Sum"
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "8638a199-20a0-4255-b0a2-3b1ba06c485b",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.backends",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "postgresql.database.name IN $db_name"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql.database.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql.database.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{postgresql.database.name}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "sum",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "70786905",
- "key": {
- "dataType": "string",
- "id": "state--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "state",
- "type": "tag"
- },
- "op": "=",
- "value": "dead"
- },
+ "clickhouse_sql": [
{
- "id": "3e5ef839",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "205b99a0-2f1c-4bd2-9ba0-cc2da6ef247a",
+ "promql": [
{
- "id": "9e913563",
- "key": {
- "dataType": "string",
- "id": "postgresql.table.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [],
- "having": [],
- "legend": "Dead rows",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "cc7452c8-118b-4676-959e-7062bafc41ee",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ ],
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Connections per db",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Dead rows",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "d7838815-4f5b-4454-86fd-f658b201f3a9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.index.scans--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.index.scans",
- "type": "Sum"
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "f9a6f683-7455-4643-acc8-467cc5ea52cf",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.rows",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(state = 'dead' AND postgresql.database.name IN $db_name AND postgresql.table.name IN $table_name)"
+ },
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Dead rows",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "aggregateOperator": "sum_rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
+ "clickhouse_sql": [
{
- "id": "590332a7",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "cc7452c8-118b-4676-959e-7062bafc41ee",
+ "promql": [
{
- "id": "171b9516",
- "key": {
- "dataType": "string",
- "id": "postgresql.table.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "postgresql.index.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.index.name",
- "type": "tag"
- }
],
- "having": [],
- "legend": "{{postgresql.index.name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "sum",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "2c6b630b-8bd9-4001-815b-f2b1f439a9dd",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Dead rows",
+ "yAxisUnit": "none"
},
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Index scans by index",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "9552123d-6265-48a7-8624-3f4a3fc3c9c0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "clickhouse_sql": [
- {
- "name": "A",
- "legend": "",
- "disabled": false,
- "query": ""
- }
- ],
- "promql": [
- {
- "name": "A",
- "query": "",
- "legend": "",
- "disabled": false
- }
- ],
- "builder": {
- "queryData": [
- {
- "dataSource": "metrics",
- "queryName": "A",
- "aggregateOperator": "avg",
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.rows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.rows",
- "type": "Sum"
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "d7838815-4f5b-4454-86fd-f658b201f3a9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.index.scans",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(postgresql.database.name IN $db_name AND postgresql.table.name IN $table_name)"
+ },
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql.index.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql.index.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{postgresql.index.name}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
},
- "timeAggregation": "rate",
- "spaceAggregation": "sum",
- "functions": [],
- "filters": {
- "items": [
- {
- "id": "d2039662",
- "key": {
- "dataType": "string",
- "id": "state--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "state",
- "type": "tag"
- },
- "op": "=",
- "value": "dead"
- },
+ "clickhouse_sql": [
{
- "id": "21c6d446",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
- {
- "id": "a44d1843",
- "key": {
- "dataType": "string",
- "id": "postgresql.table.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "expression": "A",
- "disabled": false,
- "having": [],
- "stepInterval": 840,
- "limit": null,
- "orderBy": [],
- "groupBy": [
- {
- "dataType": "string",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag",
- "id": "postgresql.table.name--string--tag--false"
- }
],
- "legend": "Dead rows",
- "reduceTo": "sum"
- },
- {
- "dataSource": "metrics",
- "queryName": "B",
- "aggregateOperator": "avg",
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.rows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.rows",
- "type": "Sum"
- },
- "timeAggregation": "rate",
- "spaceAggregation": "sum",
- "functions": [],
- "filters": {
- "items": [
- {
- "id": "74888dbf",
- "key": {
- "dataType": "string",
- "id": "state--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "state",
- "type": "tag"
- },
- "op": "=",
- "value": "live"
- },
+ "id": "2c6b630b-8bd9-4001-815b-f2b1f439a9dd",
+ "promql": [
{
- "id": "3e5d7976",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
- {
- "id": "c18ed7a3",
- "key": {
- "dataType": "string",
- "id": "postgresql.table.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "expression": "B",
- "disabled": false,
- "having": [],
- "stepInterval": 840,
- "limit": null,
- "orderBy": [],
- "groupBy": [
- {
- "dataType": "string",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag",
- "id": "postgresql.table.name--string--tag--false"
- }
],
- "legend": "Live rows",
- "reduceTo": "sum"
- },
- {
- "dataSource": "metrics",
- "queryName": "C",
- "aggregateOperator": "sum_rate",
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.index.scans--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.index.scans",
- "type": "Sum"
+ "queryType": "builder"
+ },
+ "softMax": null,
+ "softMin": null,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Index scans by index",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "9552123d-6265-48a7-8624-3f4a3fc3c9c0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.rows",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "(state = 'dead' AND postgresql.database.name IN $db_name AND postgresql.table.name IN $table_name)"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql.table.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql.table.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Dead rows",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 840
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.rows",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "(state = 'live' AND postgresql.database.name IN $db_name AND postgresql.table.name IN $table_name)"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql.table.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql.table.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Live rows",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 840
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.index.scans",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "(postgresql.database.name IN $db_name AND postgresql.table.name IN $table_name)"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql.table.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql.table.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Index scans",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 840
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "postgresql.table.size",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": true,
+ "expression": "D",
+ "filter": {
+ "expression": "(postgresql.database.name IN $db_name AND postgresql.table.name IN $table_name)"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "postgresql.table.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "postgresql.table.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Table size",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 840
+ }
+ ],
+ "queryFormulas": [
+ {
+ "disabled": false,
+ "expression": "D/1024/1024/1024",
+ "legend": "Table size (GB)",
+ "queryName": "F1"
+ }
+ ]
},
- "timeAggregation": "rate",
- "spaceAggregation": "sum",
- "functions": [],
- "filters": {
- "items": [
- {
- "id": "f9355263",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
+ "clickhouse_sql": [
{
- "id": "8807a9c4",
- "key": {
- "dataType": "string",
- "id": "postgresql.table.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "expression": "C",
- "disabled": false,
- "having": [],
- "stepInterval": 840,
- "limit": null,
- "orderBy": [],
- "groupBy": [
- {
- "dataType": "string",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag",
- "id": "postgresql.table.name--string--tag--false"
- }
],
- "legend": "Index scans",
- "reduceTo": "sum"
- },
- {
- "dataSource": "metrics",
- "queryName": "D",
- "aggregateOperator": "avg",
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.table.size--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.table.size",
- "type": "Sum"
- },
- "timeAggregation": "rate",
- "spaceAggregation": "sum",
- "functions": [],
- "filters": {
- "items": [
+ "id": "05e9c65b-a296-47c0-a802-2fca3320b07a",
+ "promql": [
{
- "id": "4be865f1",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
- {
- "id": "58200638",
- "key": {
- "dataType": "string",
- "id": "postgresql.table.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
}
- ],
- "op": "AND"
- },
- "expression": "D",
- "disabled": true,
- "having": [],
- "stepInterval": 840,
- "limit": null,
- "orderBy": [],
- "groupBy": [
- {
- "dataType": "string",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag",
- "id": "postgresql.table.name--string--tag--false"
- }
],
- "legend": "Table size",
- "reduceTo": "sum"
- }
- ],
- "queryFormulas": [
- {
- "queryName": "F1",
- "expression": "D/1024/1024/1024",
- "disabled": false,
- "legend": "Table size (GB)"
- }
- ]
- },
- "id": "05e9c65b-a296-47c0-a802-2fca3320b07a",
- "queryType": "builder"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [],
+ "selectedTracesFields": [],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Table stats",
+ "yAxisUnit": "none"
},
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Table stats",
- "yAxisUnit": "none",
- "selectedLogFields": [],
- "selectedTracesFields": []
- },
- {
- "description": "",
- "id": "7df9b6d2-8f7f-48d4-80d6-ae07d47746d6",
- "panelTypes": "row",
- "title": "Operations"
- },
- {
- "description": "",
- "id": "b437186f-d112-4fb9-bed5-5bea2b5f4b60",
- "panelTypes": "row",
- "title": "Locks"
- },
- {
- "description": "",
- "id": "3bd16024-b9ff-4f02-8107-1fd817604d5f",
- "panelTypes": "row",
- "title": "Connections"
- },
- {
- "description": "",
- "id": "4b94cfd8-7a28-46f9-a618-0a186908f0d5",
- "panelTypes": "row",
- "title": "Stats"
- }
- ],
- "uuid": "149ad467-ba1b-421f-ad87-78f943cc7530"
- }
+ {
+ "description": "",
+ "id": "7df9b6d2-8f7f-48d4-80d6-ae07d47746d6",
+ "panelTypes": "row",
+ "title": "Operations"
+ },
+ {
+ "description": "",
+ "id": "b437186f-d112-4fb9-bed5-5bea2b5f4b60",
+ "panelTypes": "row",
+ "title": "Locks"
+ },
+ {
+ "description": "",
+ "id": "3bd16024-b9ff-4f02-8107-1fd817604d5f",
+ "panelTypes": "row",
+ "title": "Connections"
+ },
+ {
+ "description": "",
+ "id": "4b94cfd8-7a28-46f9-a618-0a186908f0d5",
+ "panelTypes": "row",
+ "title": "Stats"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/overview.json b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/overview.json
index 1b28ffc043..e2db6cb530 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/overview.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/overview.json
@@ -1,2782 +1,2458 @@
{
- "id": "aws_rds_postgres",
- "description": "",
- "layout": [
- {
- "h": 5,
- "i": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "i": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 5,
- "i": "d73f2e63-33d8-40f7-a67b-861a628ba249",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 5
- },
- {
- "h": 5,
- "i": "336bca83-50be-4937-b41b-ca8fde150f4d",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 5
- },
- {
- "h": 5,
- "i": "6807e631-4894-4de8-8a55-686c8fa08d4b",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 10
- },
- {
- "h": 5,
- "i": "d599a942-4dbf-4e29-a3ac-a3142399b557",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 10
- },
- {
- "h": 5,
- "i": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 15
- },
- {
- "h": 5,
- "i": "845ee717-bbd1-424c-8293-f49e76aa43b3",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 15
- },
- {
- "h": 5,
- "i": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 20
- },
- {
- "h": 5,
- "i": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 20
- },
- {
- "h": 5,
- "i": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 0,
- "y": 25
- },
- {
- "h": 5,
- "i": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 4,
- "y": 25
- },
- {
- "h": 5,
- "i": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 8,
- "y": 25
- },
- {
- "h": 5,
- "i": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 0,
- "y": 30
- },
- {
- "h": 5,
- "i": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 4,
- "y": 30
- },
- {
- "h": 5,
- "i": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 8,
- "y": 30
- },
- {
- "h": 5,
- "i": "ffc39591-288f-4b28-87ee-43456d5d0667",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 35
- }
- ],
- "panelMap": {},
- "tags": [
- "aws",
- "rds",
- "postgres"
- ],
- "title": "AWS RDS Postgres",
- "uploadedGrafana": false,
- "variables": {
- "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e": {
- "allSelected": true,
- "customValue": "",
- "description": "This is the unique key that identifies a DB instance",
- "id": "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e",
- "modificationUUID": "1ecf21e3-488a-41e7-92f2-7dc75c9de49a",
- "multiSelect": true,
- "name": "dbinstance_identifier",
- "order": 0,
- "queryValue": "SELECT JSONExtractString(labels, 'dbinstance_identifier') as dbinstance_identifier\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name like 'aws_rds_database_connections_average'\nGROUP BY dbinstance_identifier",
- "selectedValue": [
- "integration-db-instance-instance-1",
- "integration-db-instance-instance-2",
- "integration-db-instance-instance-3",
- "integration-test-postgres-instance-1",
- "integration-test-postgres-instance-2",
- "integration-test-postgres-instance-3",
- "integration-testing-db-instance-1",
- "integration-testing-db-instance-2",
- "integration-testing-db-instance-3"
- ],
- "showALLOption": true,
- "sort": "ASC",
- "textboxValue": "",
- "type": "QUERY"
- }
- },
- "version": "v4",
- "widgets": [
- {
- "description": "The number of client network connections to the database instance.",
- "fillSpans": false,
- "id": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_database_connections_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_database_connections_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "4e451ffc",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "b6816e82-3e9b-4dc6-9fc0-047ef50e47d4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
+ "description": "",
+ "id": "aws_rds_postgres",
+ "layout": [
+ {
+ "h": 5,
+ "i": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 0
+ },
+ {
+ "h": 5,
+ "i": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 0
+ },
+ {
+ "h": 5,
+ "i": "d73f2e63-33d8-40f7-a67b-861a628ba249",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 5
+ },
+ {
+ "h": 5,
+ "i": "336bca83-50be-4937-b41b-ca8fde150f4d",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 5
+ },
+ {
+ "h": 5,
+ "i": "6807e631-4894-4de8-8a55-686c8fa08d4b",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 10
+ },
+ {
+ "h": 5,
+ "i": "d599a942-4dbf-4e29-a3ac-a3142399b557",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 10
+ },
+ {
+ "h": 5,
+ "i": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 15
+ },
+ {
+ "h": 5,
+ "i": "845ee717-bbd1-424c-8293-f49e76aa43b3",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 15
+ },
+ {
+ "h": 5,
+ "i": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 20
+ },
+ {
+ "h": 5,
+ "i": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 20
+ },
+ {
+ "h": 5,
+ "i": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 0,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 4,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 8,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 0,
+ "y": 30
+ },
+ {
+ "h": 5,
+ "i": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 4,
+ "y": 30
+ },
+ {
+ "h": 5,
+ "i": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 8,
+ "y": 30
+ },
+ {
+ "h": 5,
+ "i": "ffc39591-288f-4b28-87ee-43456d5d0667",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 35
}
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
+ ],
+ "panelMap": {},
+ "tags": [
+ "aws",
+ "rds",
+ "postgres"
+ ],
+ "title": "AWS RDS Postgres",
+ "uploadedGrafana": false,
+ "uuid": "05e473e2-5733-4877-8b7f-cb311d4e9c0a",
+ "variables": {
+ "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e": {
+ "allSelected": true,
+ "customValue": "",
+ "description": "This is the unique key that identifies a DB instance",
+ "id": "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e",
+ "modificationUUID": "1ecf21e3-488a-41e7-92f2-7dc75c9de49a",
+ "multiSelect": true,
+ "name": "dbinstance_identifier",
+ "order": 0,
+ "queryValue": "SELECT JSONExtractString(labels, 'dbinstance_identifier') as dbinstance_identifier\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name like 'aws_rds_database_connections_average'\nGROUP BY dbinstance_identifier",
+ "selectedValue": [
+ "integration-db-instance-instance-1",
+ "integration-db-instance-instance-2",
+ "integration-db-instance-instance-3",
+ "integration-test-postgres-instance-1",
+ "integration-test-postgres-instance-2",
+ "integration-test-postgres-instance-3",
+ "integration-testing-db-instance-1",
+ "integration-testing-db-instance-2",
+ "integration-testing-db-instance-3"
+ ],
+ "showALLOption": true,
+ "sort": "ASC",
+ "textboxValue": "",
+ "type": "QUERY"
}
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "DatabaseConnections",
- "yAxisUnit": "short"
},
- {
- "description": "The percentage of CPU utilization.",
- "fillSpans": false,
- "id": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_cpuutilization_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_cpuutilization_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f0a48ddc",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ "version": "v5",
+ "widgets": [
+ {
+ "description": "The number of client network connections to the database instance.",
+ "fillSpans": false,
+ "id": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_database_connections_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "0318116a-ba6b-405c-b2c0-8dfb321f3ad0",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "CPUUtilization",
- "yAxisUnit": "percent"
- },
- {
- "description": "The amount of available random access memory. This metric reports the value of the MemAvailable field of /proc/meminfo",
- "fillSpans": false,
- "id": "d599a942-4dbf-4e29-a3ac-a3142399b557",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_freeable_memory_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_freeable_memory_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "b738d056",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ "id": "b6816e82-3e9b-4dc6-9fc0-047ef50e47d4",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "5a1e0e0d-3190-4a38-8030-b48d24ebe0f1",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "FreeableMemory",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_read_latency_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_read_latency_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "d0ac5956",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "DatabaseConnections",
+ "yAxisUnit": "short"
+ },
+ {
+ "description": "The percentage of CPU utilization.",
+ "fillSpans": false,
+ "id": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_cpuutilization_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "0318116a-ba6b-405c-b2c0-8dfb321f3ad0",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "794a5db3-b75c-4354-a509-ab24b5daeba4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "ReadLatency",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_read_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_read_throughput_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "bdc062ed",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "CPUUtilization",
+ "yAxisUnit": "percent"
+ },
+ {
+ "description": "The amount of available random access memory. This metric reports the value of the MemAvailable field of /proc/meminfo",
+ "fillSpans": false,
+ "id": "d599a942-4dbf-4e29-a3ac-a3142399b557",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_freeable_memory_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "5a1e0e0d-3190-4a38-8030-b48d24ebe0f1",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "6915105d-17eb-4863-8ccd-88c6a56d9ad7",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": "aws_rds_read_throughput_average"
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "ReadThroughput",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_read_iops_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_read_iops_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "74504cdf",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "FreeableMemory",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_read_latency_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "794a5db3-b75c-4354-a509-ab24b5daeba4",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "0ab52186-6617-4f8b-a3fc-3778c09b6faf",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "ReadIOPS",
- "yAxisUnit": "none"
- },
- {
- "description": "The amount of available storage space.",
- "fillSpans": false,
- "id": "6807e631-4894-4de8-8a55-686c8fa08d4b",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_free_storage_space_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_free_storage_space_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "3cfa657c",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "ReadLatency",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_read_throughput_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "6915105d-17eb-4863-8ccd-88c6a56d9ad7",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": "aws_rds_read_throughput_average"
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "b7f7c9e9-0fdf-462e-b465-57025785e98f",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "FreeStorageSpace",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_write_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_write_throughput_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "05330793",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "ReadThroughput",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_read_iops_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "0ab52186-6617-4f8b-a3fc-3778c09b6faf",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "d6be5165-c686-412f-80f7-4a81a28cae7d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "WriteThroughput",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_write_iops_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_write_iops_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "0606e3a2",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "ReadIOPS",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The amount of available storage space.",
+ "fillSpans": false,
+ "id": "6807e631-4894-4de8-8a55-686c8fa08d4b",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_free_storage_space_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "b7f7c9e9-0fdf-462e-b465-57025785e98f",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "253e440a-b13d-411c-a069-d4da1f4c84d7",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "WriteIOPS",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "ffc39591-288f-4b28-87ee-43456d5d0667",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "clickhouse_sql": [
- {
- "name": "A",
- "legend": "",
- "disabled": false,
- "query": ""
- }
- ],
- "promql": [
- {
- "name": "A",
- "query": "",
- "legend": "",
- "disabled": false
- }
- ],
- "builder": {
- "queryData": [
- {
- "dataSource": "metrics",
- "queryName": "A",
- "aggregateOperator": "sum",
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_network_transmit_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_network_transmit_throughput_average",
- "type": "Gauge"
- },
- "timeAggregation": "sum",
- "spaceAggregation": "sum",
- "functions": [],
- "filters": {
- "items": [
- {
- "id": "9a27ef98",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "FreeStorageSpace",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_write_throughput_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "expression": "A",
- "disabled": true,
- "having": [],
- "stepInterval": 60,
- "limit": null,
- "orderBy": [],
- "groupBy": [
- {
- "dataType": "string",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag",
- "id": "dbinstance_identifier--string--tag--false"
+ "id": "d6be5165-c686-412f-80f7-4a81a28cae7d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "legend": "n/w transmit",
- "reduceTo": "sum"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "WriteThroughput",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_write_iops_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "253e440a-b13d-411c-a069-d4da1f4c84d7",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
},
- {
- "dataSource": "metrics",
- "queryName": "B",
- "aggregateOperator": "sum",
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_network_receive_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_network_receive_throughput_average",
- "type": "Gauge"
- },
- "timeAggregation": "sum",
- "spaceAggregation": "sum",
- "functions": [],
- "filters": {
- "items": [
- {
- "id": "df2ee1fc",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "WriteIOPS",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "ffc39591-288f-4b28-87ee-43456d5d0667",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_network_transmit_throughput_average",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": true,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "n/w transmit",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_network_receive_throughput_average",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": true,
+ "expression": "B",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "n/w receive",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": [
+ {
+ "disabled": false,
+ "expression": "A/1024/1024",
+ "legend": "n/w transmit (mb)",
+ "queryName": "F1"
+ },
+ {
+ "disabled": false,
+ "expression": "B/1024/1024",
+ "legend": "n/w receive (mb)",
+ "queryName": "F2"
+ }
]
- }
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "expression": "B",
- "disabled": true,
- "having": [],
- "stepInterval": 60,
- "limit": null,
- "orderBy": [],
- "groupBy": [
- {
- "dataType": "string",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag",
- "id": "dbinstance_identifier--string--tag--false"
- }
- ],
- "legend": "n/w receive",
- "reduceTo": "sum"
- }
- ],
- "queryFormulas": [
- {
- "queryName": "F1",
- "expression": "A/1024/1024",
- "disabled": false,
- "legend": "n/w transmit (mb)"
+ "id": "60b5a712-ac27-4b2e-a8d7-a180b389c780",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
},
- {
- "queryName": "F2",
- "expression": "B/1024/1024",
- "disabled": false,
- "legend": "n/w receive (mb)"
- }
- ]
- },
- "id": "60b5a712-ac27-4b2e-a8d7-a180b389c780",
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Network transmit/receive",
- "yAxisUnit": "Bps"
- },
- {
- "description": "The number of outstanding I/Os (read/write requests) waiting to access the disk.",
- "fillSpans": false,
- "id": "845ee717-bbd1-424c-8293-f49e76aa43b3",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_disk_queue_depth_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_disk_queue_depth_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "96c73381",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Network transmit/receive",
+ "yAxisUnit": "Bps"
+ },
+ {
+ "description": "The number of outstanding I/Os (read/write requests) waiting to access the disk.",
+ "fillSpans": false,
+ "id": "845ee717-bbd1-424c-8293-f49e76aa43b3",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_disk_queue_depth_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "afe73a96-1c56-451e-bca6-2c41c62d47a8",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "afe73a96-1c56-451e-bca6-2c41c62d47a8",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "DiskQueueDepth",
- "yAxisUnit": "none"
- },
- {
- "description": "The percentage of throughput credits remaining in the burst bucket of your RDS database. ",
- "fillSpans": false,
- "id": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_ebsiobalance__average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_ebsiobalance__average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "e88eb970",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "DiskQueueDepth",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The percentage of throughput credits remaining in the burst bucket of your RDS database. ",
+ "fillSpans": false,
+ "id": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_ebsiobalance__average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "1d8b8b67-0646-4ebc-aa8b-1c10643ddfa0",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "1d8b8b67-0646-4ebc-aa8b-1c10643ddfa0",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "EBSByteBalance%",
- "yAxisUnit": "none"
- },
- {
- "description": "The percentage of I/O credits remaining in the burst bucket of your RDS database.",
- "fillSpans": false,
- "id": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_ebsiobalance__average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_ebsiobalance__average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "c8d78684",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "EBSByteBalance%",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The percentage of I/O credits remaining in the burst bucket of your RDS database.",
+ "fillSpans": false,
+ "id": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_ebsiobalance__average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "a0f7c676-ae5f-4db9-bb73-26dbb9db7fab",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "a0f7c676-ae5f-4db9-bb73-26dbb9db7fab",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "EBSIOBalance%",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_write_latency_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_write_latency_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "5b97fb87",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "EBSIOBalance%",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_write_latency_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "7533cf12-7ee3-49e8-8fcd-c1f82ea317ab",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "7533cf12-7ee3-49e8-8fcd-c1f82ea317ab",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "WriteLatency",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_swap_usage_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_swap_usage_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "afabe318",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "WriteLatency",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_swap_usage_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "61ecb019-0fbf-44f1-a9db-995b86ee4805",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "61ecb019-0fbf-44f1-a9db-995b86ee4805",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "SwapUsage",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "336bca83-50be-4937-b41b-ca8fde150f4d",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_checkpoint_lag_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_checkpoint_lag_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "abac3888",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "SwapUsage",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "336bca83-50be-4937-b41b-ca8fde150f4d",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_checkpoint_lag_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "187a2eae-4fe4-4e47-b544-20404532cbb2",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "187a2eae-4fe4-4e47-b544-20404532cbb2",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "CheckpointLag",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "d73f2e63-33d8-40f7-a67b-861a628ba249",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_replica_lag_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_replica_lag_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "47be5579",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "CheckpointLag",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "d73f2e63-33d8-40f7-a67b-861a628ba249",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_replica_lag_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "53e6ee05-bcbc-4f01-b061-a358371d92ff",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "53e6ee05-bcbc-4f01-b061-a358371d92ff",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "ReplicaLag",
+ "yAxisUnit": "none"
}
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "ReplicaLag",
- "yAxisUnit": "none"
- }
- ],
- "uuid": "05e473e2-5733-4877-8b7f-cb311d4e9c0a"
+ ]
}
\ No newline at end of file
diff --git a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/overview_dot.json b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/overview_dot.json
index 1b28ffc043..e2db6cb530 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/overview_dot.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/overview_dot.json
@@ -1,2782 +1,2458 @@
{
- "id": "aws_rds_postgres",
- "description": "",
- "layout": [
- {
- "h": 5,
- "i": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 5,
- "i": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 5,
- "i": "d73f2e63-33d8-40f7-a67b-861a628ba249",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 5
- },
- {
- "h": 5,
- "i": "336bca83-50be-4937-b41b-ca8fde150f4d",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 5
- },
- {
- "h": 5,
- "i": "6807e631-4894-4de8-8a55-686c8fa08d4b",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 10
- },
- {
- "h": 5,
- "i": "d599a942-4dbf-4e29-a3ac-a3142399b557",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 10
- },
- {
- "h": 5,
- "i": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 15
- },
- {
- "h": 5,
- "i": "845ee717-bbd1-424c-8293-f49e76aa43b3",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 15
- },
- {
- "h": 5,
- "i": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 20
- },
- {
- "h": 5,
- "i": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 20
- },
- {
- "h": 5,
- "i": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 0,
- "y": 25
- },
- {
- "h": 5,
- "i": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 4,
- "y": 25
- },
- {
- "h": 5,
- "i": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 8,
- "y": 25
- },
- {
- "h": 5,
- "i": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 0,
- "y": 30
- },
- {
- "h": 5,
- "i": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 4,
- "y": 30
- },
- {
- "h": 5,
- "i": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
- "moved": false,
- "static": false,
- "w": 4,
- "x": 8,
- "y": 30
- },
- {
- "h": 5,
- "i": "ffc39591-288f-4b28-87ee-43456d5d0667",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 35
- }
- ],
- "panelMap": {},
- "tags": [
- "aws",
- "rds",
- "postgres"
- ],
- "title": "AWS RDS Postgres",
- "uploadedGrafana": false,
- "variables": {
- "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e": {
- "allSelected": true,
- "customValue": "",
- "description": "This is the unique key that identifies a DB instance",
- "id": "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e",
- "modificationUUID": "1ecf21e3-488a-41e7-92f2-7dc75c9de49a",
- "multiSelect": true,
- "name": "dbinstance_identifier",
- "order": 0,
- "queryValue": "SELECT JSONExtractString(labels, 'dbinstance_identifier') as dbinstance_identifier\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name like 'aws_rds_database_connections_average'\nGROUP BY dbinstance_identifier",
- "selectedValue": [
- "integration-db-instance-instance-1",
- "integration-db-instance-instance-2",
- "integration-db-instance-instance-3",
- "integration-test-postgres-instance-1",
- "integration-test-postgres-instance-2",
- "integration-test-postgres-instance-3",
- "integration-testing-db-instance-1",
- "integration-testing-db-instance-2",
- "integration-testing-db-instance-3"
- ],
- "showALLOption": true,
- "sort": "ASC",
- "textboxValue": "",
- "type": "QUERY"
- }
- },
- "version": "v4",
- "widgets": [
- {
- "description": "The number of client network connections to the database instance.",
- "fillSpans": false,
- "id": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_database_connections_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_database_connections_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "4e451ffc",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "b6816e82-3e9b-4dc6-9fc0-047ef50e47d4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
+ "description": "",
+ "id": "aws_rds_postgres",
+ "layout": [
+ {
+ "h": 5,
+ "i": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 0
+ },
+ {
+ "h": 5,
+ "i": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 0
+ },
+ {
+ "h": 5,
+ "i": "d73f2e63-33d8-40f7-a67b-861a628ba249",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 5
+ },
+ {
+ "h": 5,
+ "i": "336bca83-50be-4937-b41b-ca8fde150f4d",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 5
+ },
+ {
+ "h": 5,
+ "i": "6807e631-4894-4de8-8a55-686c8fa08d4b",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 10
+ },
+ {
+ "h": 5,
+ "i": "d599a942-4dbf-4e29-a3ac-a3142399b557",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 10
+ },
+ {
+ "h": 5,
+ "i": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 15
+ },
+ {
+ "h": 5,
+ "i": "845ee717-bbd1-424c-8293-f49e76aa43b3",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 15
+ },
+ {
+ "h": 5,
+ "i": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 20
+ },
+ {
+ "h": 5,
+ "i": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 20
+ },
+ {
+ "h": 5,
+ "i": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 0,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 4,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 8,
+ "y": 25
+ },
+ {
+ "h": 5,
+ "i": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 0,
+ "y": 30
+ },
+ {
+ "h": 5,
+ "i": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 4,
+ "y": 30
+ },
+ {
+ "h": 5,
+ "i": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
+ "moved": false,
+ "static": false,
+ "w": 4,
+ "x": 8,
+ "y": 30
+ },
+ {
+ "h": 5,
+ "i": "ffc39591-288f-4b28-87ee-43456d5d0667",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 35
}
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
+ ],
+ "panelMap": {},
+ "tags": [
+ "aws",
+ "rds",
+ "postgres"
+ ],
+ "title": "AWS RDS Postgres",
+ "uploadedGrafana": false,
+ "uuid": "05e473e2-5733-4877-8b7f-cb311d4e9c0a",
+ "variables": {
+ "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e": {
+ "allSelected": true,
+ "customValue": "",
+ "description": "This is the unique key that identifies a DB instance",
+ "id": "5ae02d7b-d201-4481-ad6f-ffb9d53e1b3e",
+ "modificationUUID": "1ecf21e3-488a-41e7-92f2-7dc75c9de49a",
+ "multiSelect": true,
+ "name": "dbinstance_identifier",
+ "order": 0,
+ "queryValue": "SELECT JSONExtractString(labels, 'dbinstance_identifier') as dbinstance_identifier\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name like 'aws_rds_database_connections_average'\nGROUP BY dbinstance_identifier",
+ "selectedValue": [
+ "integration-db-instance-instance-1",
+ "integration-db-instance-instance-2",
+ "integration-db-instance-instance-3",
+ "integration-test-postgres-instance-1",
+ "integration-test-postgres-instance-2",
+ "integration-test-postgres-instance-3",
+ "integration-testing-db-instance-1",
+ "integration-testing-db-instance-2",
+ "integration-testing-db-instance-3"
+ ],
+ "showALLOption": true,
+ "sort": "ASC",
+ "textboxValue": "",
+ "type": "QUERY"
}
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "DatabaseConnections",
- "yAxisUnit": "short"
},
- {
- "description": "The percentage of CPU utilization.",
- "fillSpans": false,
- "id": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_cpuutilization_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_cpuutilization_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f0a48ddc",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ "version": "v5",
+ "widgets": [
+ {
+ "description": "The number of client network connections to the database instance.",
+ "fillSpans": false,
+ "id": "94fe032e-3ffc-4cdc-aae6-f851fa47d957",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_database_connections_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "0318116a-ba6b-405c-b2c0-8dfb321f3ad0",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "CPUUtilization",
- "yAxisUnit": "percent"
- },
- {
- "description": "The amount of available random access memory. This metric reports the value of the MemAvailable field of /proc/meminfo",
- "fillSpans": false,
- "id": "d599a942-4dbf-4e29-a3ac-a3142399b557",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_freeable_memory_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_freeable_memory_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "b738d056",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ "id": "b6816e82-3e9b-4dc6-9fc0-047ef50e47d4",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "5a1e0e0d-3190-4a38-8030-b48d24ebe0f1",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "FreeableMemory",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_read_latency_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_read_latency_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "d0ac5956",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "DatabaseConnections",
+ "yAxisUnit": "short"
+ },
+ {
+ "description": "The percentage of CPU utilization.",
+ "fillSpans": false,
+ "id": "8d22c6a7-b22e-4ad2-b242-e15de32ddc0f",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_cpuutilization_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "0318116a-ba6b-405c-b2c0-8dfb321f3ad0",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "794a5db3-b75c-4354-a509-ab24b5daeba4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "ReadLatency",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_read_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_read_throughput_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "bdc062ed",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "CPUUtilization",
+ "yAxisUnit": "percent"
+ },
+ {
+ "description": "The amount of available random access memory. This metric reports the value of the MemAvailable field of /proc/meminfo",
+ "fillSpans": false,
+ "id": "d599a942-4dbf-4e29-a3ac-a3142399b557",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_freeable_memory_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "5a1e0e0d-3190-4a38-8030-b48d24ebe0f1",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "6915105d-17eb-4863-8ccd-88c6a56d9ad7",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": "aws_rds_read_throughput_average"
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "ReadThroughput",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_read_iops_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_read_iops_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "74504cdf",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "FreeableMemory",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "c6939628-3c4c-48fb-a2cf-46f6cb358359",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_read_latency_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "794a5db3-b75c-4354-a509-ab24b5daeba4",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "0ab52186-6617-4f8b-a3fc-3778c09b6faf",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "ReadIOPS",
- "yAxisUnit": "none"
- },
- {
- "description": "The amount of available storage space.",
- "fillSpans": false,
- "id": "6807e631-4894-4de8-8a55-686c8fa08d4b",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_free_storage_space_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_free_storage_space_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "3cfa657c",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "ReadLatency",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "03c1f0bd-6713-4355-b8e3-6ef781af32c2",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_read_throughput_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "6915105d-17eb-4863-8ccd-88c6a56d9ad7",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": "aws_rds_read_throughput_average"
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "b7f7c9e9-0fdf-462e-b465-57025785e98f",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "FreeStorageSpace",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_write_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_write_throughput_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "05330793",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "ReadThroughput",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "37aabb43-fd8b-47c5-9444-0cd77f9ac435",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_read_iops_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "0ab52186-6617-4f8b-a3fc-3778c09b6faf",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "d6be5165-c686-412f-80f7-4a81a28cae7d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "WriteThroughput",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_write_iops_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_write_iops_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "0606e3a2",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "ReadIOPS",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The amount of available storage space.",
+ "fillSpans": false,
+ "id": "6807e631-4894-4de8-8a55-686c8fa08d4b",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_free_storage_space_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "b7f7c9e9-0fdf-462e-b465-57025785e98f",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "253e440a-b13d-411c-a069-d4da1f4c84d7",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "WriteIOPS",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "ffc39591-288f-4b28-87ee-43456d5d0667",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "table",
- "query": {
- "clickhouse_sql": [
- {
- "name": "A",
- "legend": "",
- "disabled": false,
- "query": ""
- }
- ],
- "promql": [
- {
- "name": "A",
- "query": "",
- "legend": "",
- "disabled": false
- }
- ],
- "builder": {
- "queryData": [
- {
- "dataSource": "metrics",
- "queryName": "A",
- "aggregateOperator": "sum",
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_network_transmit_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_network_transmit_throughput_average",
- "type": "Gauge"
- },
- "timeAggregation": "sum",
- "spaceAggregation": "sum",
- "functions": [],
- "filters": {
- "items": [
- {
- "id": "9a27ef98",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "FreeStorageSpace",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "7854afc7-0cd5-4792-a760-be98a2e2f96b",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_write_throughput_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "expression": "A",
- "disabled": true,
- "having": [],
- "stepInterval": 60,
- "limit": null,
- "orderBy": [],
- "groupBy": [
- {
- "dataType": "string",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag",
- "id": "dbinstance_identifier--string--tag--false"
+ "id": "d6be5165-c686-412f-80f7-4a81a28cae7d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "legend": "n/w transmit",
- "reduceTo": "sum"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "WriteThroughput",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "8126584b-eaa9-4b79-ba8e-a00c394544d8",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_write_iops_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "253e440a-b13d-411c-a069-d4da1f4c84d7",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
},
- {
- "dataSource": "metrics",
- "queryName": "B",
- "aggregateOperator": "sum",
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_network_receive_throughput_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_network_receive_throughput_average",
- "type": "Gauge"
- },
- "timeAggregation": "sum",
- "spaceAggregation": "sum",
- "functions": [],
- "filters": {
- "items": [
- {
- "id": "df2ee1fc",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "WriteIOPS",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "ffc39591-288f-4b28-87ee-43456d5d0667",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "table",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_network_transmit_throughput_average",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": true,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "n/w transmit",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_network_receive_throughput_average",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": true,
+ "expression": "B",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "n/w receive",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": [
+ {
+ "disabled": false,
+ "expression": "A/1024/1024",
+ "legend": "n/w transmit (mb)",
+ "queryName": "F1"
+ },
+ {
+ "disabled": false,
+ "expression": "B/1024/1024",
+ "legend": "n/w receive (mb)",
+ "queryName": "F2"
+ }
]
- }
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "expression": "B",
- "disabled": true,
- "having": [],
- "stepInterval": 60,
- "limit": null,
- "orderBy": [],
- "groupBy": [
- {
- "dataType": "string",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag",
- "id": "dbinstance_identifier--string--tag--false"
- }
- ],
- "legend": "n/w receive",
- "reduceTo": "sum"
- }
- ],
- "queryFormulas": [
- {
- "queryName": "F1",
- "expression": "A/1024/1024",
- "disabled": false,
- "legend": "n/w transmit (mb)"
+ "id": "60b5a712-ac27-4b2e-a8d7-a180b389c780",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
},
- {
- "queryName": "F2",
- "expression": "B/1024/1024",
- "disabled": false,
- "legend": "n/w receive (mb)"
- }
- ]
- },
- "id": "60b5a712-ac27-4b2e-a8d7-a180b389c780",
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Network transmit/receive",
- "yAxisUnit": "Bps"
- },
- {
- "description": "The number of outstanding I/Os (read/write requests) waiting to access the disk.",
- "fillSpans": false,
- "id": "845ee717-bbd1-424c-8293-f49e76aa43b3",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_disk_queue_depth_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_disk_queue_depth_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "96c73381",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Network transmit/receive",
+ "yAxisUnit": "Bps"
+ },
+ {
+ "description": "The number of outstanding I/Os (read/write requests) waiting to access the disk.",
+ "fillSpans": false,
+ "id": "845ee717-bbd1-424c-8293-f49e76aa43b3",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_disk_queue_depth_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "afe73a96-1c56-451e-bca6-2c41c62d47a8",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "afe73a96-1c56-451e-bca6-2c41c62d47a8",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "DiskQueueDepth",
- "yAxisUnit": "none"
- },
- {
- "description": "The percentage of throughput credits remaining in the burst bucket of your RDS database. ",
- "fillSpans": false,
- "id": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_ebsiobalance__average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_ebsiobalance__average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "e88eb970",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "DiskQueueDepth",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The percentage of throughput credits remaining in the burst bucket of your RDS database. ",
+ "fillSpans": false,
+ "id": "ae099f6e-5d6c-4127-ac70-2da9741837d7",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_ebsiobalance__average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "1d8b8b67-0646-4ebc-aa8b-1c10643ddfa0",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "1d8b8b67-0646-4ebc-aa8b-1c10643ddfa0",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "EBSByteBalance%",
- "yAxisUnit": "none"
- },
- {
- "description": "The percentage of I/O credits remaining in the burst bucket of your RDS database.",
- "fillSpans": false,
- "id": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_ebsiobalance__average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_ebsiobalance__average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "c8d78684",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "EBSByteBalance%",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "The percentage of I/O credits remaining in the burst bucket of your RDS database.",
+ "fillSpans": false,
+ "id": "31c78945-ea1e-4ae1-b0fb-6f1c9de2c016",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_ebsiobalance__average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "a0f7c676-ae5f-4db9-bb73-26dbb9db7fab",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "a0f7c676-ae5f-4db9-bb73-26dbb9db7fab",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "EBSIOBalance%",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_write_latency_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_write_latency_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "5b97fb87",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "EBSIOBalance%",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "3d0a6717-1fd0-4810-b0e9-fe5190d5809f",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_write_latency_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "7533cf12-7ee3-49e8-8fcd-c1f82ea317ab",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "7533cf12-7ee3-49e8-8fcd-c1f82ea317ab",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "WriteLatency",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_swap_usage_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_swap_usage_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "afabe318",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "WriteLatency",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "c5189b72-1055-4d6a-b18d-fa23bd9c28d6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_swap_usage_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "61ecb019-0fbf-44f1-a9db-995b86ee4805",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "61ecb019-0fbf-44f1-a9db-995b86ee4805",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "SwapUsage",
- "yAxisUnit": "decbytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "336bca83-50be-4937-b41b-ca8fde150f4d",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_checkpoint_lag_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_checkpoint_lag_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "abac3888",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "SwapUsage",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "336bca83-50be-4937-b41b-ca8fde150f4d",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_checkpoint_lag_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "id": "187a2eae-4fe4-4e47-b544-20404532cbb2",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "187a2eae-4fe4-4e47-b544-20404532cbb2",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "CheckpointLag",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "d73f2e63-33d8-40f7-a67b-861a628ba249",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "aws_rds_replica_lag_average--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "aws_rds_replica_lag_average",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "47be5579",
- "key": {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.dbinstance_identifier}}"
- ]
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "CheckpointLag",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "d73f2e63-33d8-40f7-a67b-861a628ba249",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "aws_rds_replica_lag_average",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "dbinstance_identifier IN $dbinstance_identifier"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "dbinstance_identifier--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "dbinstance_identifier",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "{{dbinstance_identifier}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "53e6ee05-bcbc-4f01-b061-a358371d92ff",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "dbinstance_identifier--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "dbinstance_identifier",
- "type": "tag"
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "{{dbinstance_identifier}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "avg"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "53e6ee05-bcbc-4f01-b061-a358371d92ff",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "ReplicaLag",
+ "yAxisUnit": "none"
}
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "ReplicaLag",
- "yAxisUnit": "none"
- }
- ],
- "uuid": "05e473e2-5733-4877-8b7f-cb311d4e9c0a"
+ ]
}
\ No newline at end of file
diff --git a/pkg/query-service/app/integrations/builtin_integrations/clickhouse/assets/dashboards/overview.json b/pkg/query-service/app/integrations/builtin_integrations/clickhouse/assets/dashboards/overview.json
index 98b714d021..f5559e435c 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/clickhouse/assets/dashboards/overview.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/clickhouse/assets/dashboards/overview.json
@@ -1,7744 +1,6176 @@
{
- "id": "clickhouse-overview",
- "description": "This dashboard provides a high-level overview of your Clickhouse Server hosts.",
- "layout": [
- {
- "h": 3,
- "i": "3b96004b-f356-4fc9-a7de-36af5eabad5d",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 9
- },
- {
- "h": 3,
- "i": "be48f124-96d1-4327-ae10-6f2c1b81fe50",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 12
- },
- {
- "h": 3,
- "i": "8eb1e295-d5e8-4007-acb1-a9ec385d6f4d",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 3,
- "i": "7f36d404-8915-4bfb-ac93-b69a9ea1428a",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 6
- },
- {
- "h": 3,
- "i": "947053c4-b809-4241-9cb2-90e09868c2a9",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 3
- },
- {
- "h": 3,
- "i": "653248f0-9658-4be3-ba03-017d804e90c8",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 3,
- "i": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "i": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 6
- },
- {
- "h": 3,
- "i": "97a2c7bb-f135-412b-a006-167dcc1882c6",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 3
- },
- {
- "h": 3,
- "i": "486edfb2-02ce-45a3-ab89-06fce614edcf",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 15
- },
- {
- "h": 3,
- "i": "fcb693b5-6786-49e0-8007-4bc6009c70e2",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 15
+ "description": "This dashboard provides a high-level overview of your Clickhouse Server hosts.",
+ "id": "clickhouse-overview",
+ "layout": [
+ {
+ "h": 3,
+ "i": "3b96004b-f356-4fc9-a7de-36af5eabad5d",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 9
+ },
+ {
+ "h": 3,
+ "i": "be48f124-96d1-4327-ae10-6f2c1b81fe50",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 12
+ },
+ {
+ "h": 3,
+ "i": "8eb1e295-d5e8-4007-acb1-a9ec385d6f4d",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 12
+ },
+ {
+ "h": 3,
+ "i": "7f36d404-8915-4bfb-ac93-b69a9ea1428a",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 6
+ },
+ {
+ "h": 3,
+ "i": "947053c4-b809-4241-9cb2-90e09868c2a9",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 3
+ },
+ {
+ "h": 3,
+ "i": "653248f0-9658-4be3-ba03-017d804e90c8",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 0
+ },
+ {
+ "h": 3,
+ "i": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 0
+ },
+ {
+ "h": 3,
+ "i": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 6
+ },
+ {
+ "h": 3,
+ "i": "97a2c7bb-f135-412b-a006-167dcc1882c6",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 3
+ },
+ {
+ "h": 3,
+ "i": "486edfb2-02ce-45a3-ab89-06fce614edcf",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 15
+ },
+ {
+ "h": 3,
+ "i": "fcb693b5-6786-49e0-8007-4bc6009c70e2",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 15
+ },
+ {
+ "h": 3,
+ "i": "581eb12e-8c92-4a8d-9800-0f72f350cfd1",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 9
+ }
+ ],
+ "tags": [],
+ "title": "Clickhouse Overview",
+ "uploadedGrafana": false,
+ "uuid": "e74aeb83-ac4b-4313-8a97-216b62c8fc59",
+ "variables": {
+ "eaf65de3-20bb-4dbc-9792-32a445f7be8f": {
+ "allSelected": false,
+ "customValue": "",
+ "description": "",
+ "id": "eaf65de3-20bb-4dbc-9792-32a445f7be8f",
+ "key": "eaf65de3-20bb-4dbc-9792-32a445f7be8f",
+ "modificationUUID": "2fbb477e-7775-427b-ab14-29b673dd216c",
+ "multiSelect": false,
+ "name": "host_name",
+ "order": 0,
+ "queryValue": "SELECT JSONExtractString(labels, 'host_name') AS host_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'ClickHouseMetrics_VersionInteger'\nGROUP BY host_name",
+ "selectedValue": "",
+ "showALLOption": false,
+ "sort": "DISABLED",
+ "textboxValue": "",
+ "type": "QUERY"
+ }
},
- {
- "h": 3,
- "i": "581eb12e-8c92-4a8d-9800-0f72f350cfd1",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 9
- }
- ],
- "tags": [],
- "title": "Clickhouse Overview",
- "variables": {
- "eaf65de3-20bb-4dbc-9792-32a445f7be8f": {
- "allSelected": false,
- "customValue": "",
- "description": "",
- "id": "eaf65de3-20bb-4dbc-9792-32a445f7be8f",
- "key": "eaf65de3-20bb-4dbc-9792-32a445f7be8f",
- "modificationUUID": "2fbb477e-7775-427b-ab14-29b673dd216c",
- "multiSelect": false,
- "name": "host_name",
- "order": 0,
- "queryValue": "SELECT JSONExtractString(labels, 'host_name') AS host_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'ClickHouseMetrics_VersionInteger'\nGROUP BY host_name",
- "selectedValue": "",
- "showALLOption": false,
- "sort": "DISABLED",
- "textboxValue": "",
- "type": "QUERY"
- }
- },
- "uploadedGrafana": false,
- "version": "v4",
- "widgets": [
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "version": "v5",
+ "widgets": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "653248f0-9658-4be3-ba03-017d804e90c8",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertedRows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertedRows",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "a7d9e1d3",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "653248f0-9658-4be3-ba03-017d804e90c8",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertedRows",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Inserted Rows",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Inserted Rows",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Inserted Rows",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Inserted Rows",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_QueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "All Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Other Queries (not select or insert)",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_QueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_QueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "6fd64e65",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "All Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "ce64d4b6",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Total Query Time",
+ "yAxisUnit": "µs"
+ },
+ {
+ "description": "Writes rejected with \"Too many parts\" for inserts or \"Too many mutations\" for mutations",
+ "fillSpans": false,
+ "id": "7f36d404-8915-4bfb-ac93-b69a9ea1428a",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_RejectedInserts",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Rejected Inserts ('Too many parts')",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_RejectedMutations",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Rejected Mutations ('Too many mutations')",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "ffcd0e01",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "a5bd4adb-1610-43a1-a11e-72dc4e76416d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "da05a175",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rejected Writes",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Other Queries (not select or insert)",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Total Query Time",
- "yAxisUnit": "µs"
- },
- {
- "description": "Writes rejected with \"Too many parts\" for inserts or \"Too many mutations\" for mutations",
- "fillSpans": false,
- "id": "7f36d404-8915-4bfb-ac93-b69a9ea1428a",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_RejectedInserts--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_RejectedInserts",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "8c903ae3",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Rejected Inserts ('Too many parts')",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_RejectedMutations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_RejectedMutations",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "74059430",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Rejected Mutations ('Too many mutations')",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "a5bd4adb-1610-43a1-a11e-72dc4e76416d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rejected Writes",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "653248f0-9658-4be3-ba03-017d804e90c8",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertedRows",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Inserted Rows",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Inserted Rows",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "653248f0-9658-4be3-ba03-017d804e90c8",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertedRows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertedRows",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "a7d9e1d3",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Inserted Rows",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Inserted Rows",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_QueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "All Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Other Queries (not select or insert)",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Total Query Time",
+ "yAxisUnit": "µs"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "8eb1e295-d5e8-4007-acb1-a9ec385d6f4d",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseMetrics_MemoryTracking",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "max"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Memory Used",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "3bc4df66-32bd-42fe-9744-71a678107ebb",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Memory Usage",
+ "yAxisUnit": "bytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_QueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_QueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "6fd64e65",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "All Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "ce64d4b6",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "ffcd0e01",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "da05a175",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Other Queries (not select or insert)",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Total Query Time",
- "yAxisUnit": "µs"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "8eb1e295-d5e8-4007-acb1-a9ec385d6f4d",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseMetrics_MemoryTracking--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseMetrics_MemoryTracking",
- "type": "Gauge"
- },
- "aggregateOperator": "max",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "5b1aee4f",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "653248f0-9658-4be3-ba03-017d804e90c8",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertedRows",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Inserted Rows",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Memory Used",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "max"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "3bc4df66-32bd-42fe-9744-71a678107ebb",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Memory Usage",
- "yAxisUnit": "bytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Inserted Rows",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "653248f0-9658-4be3-ba03-017d804e90c8",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertedRows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertedRows",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "a7d9e1d3",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_QueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "All Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Other Queries (not select or insert)",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Inserted Rows",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Inserted Rows",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Total Query Time",
+ "yAxisUnit": "µs"
+ },
+ {
+ "description": "Writes rejected with \"Too many parts\" for inserts or \"Too many mutations\" for mutations",
+ "fillSpans": false,
+ "id": "7f36d404-8915-4bfb-ac93-b69a9ea1428a",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_RejectedInserts",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Rejected Inserts",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_RejectedMutations",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Rejected Mutations",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ "id": "a5bd4adb-1610-43a1-a11e-72dc4e76416d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_QueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_QueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "6fd64e65",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "All Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "ce64d4b6",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rejected Writes",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "ffcd0e01",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "da05a175",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Other Queries (not select or insert)",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Total Query Time",
- "yAxisUnit": "µs"
- },
- {
- "description": "Writes rejected with \"Too many parts\" for inserts or \"Too many mutations\" for mutations",
- "fillSpans": false,
- "id": "7f36d404-8915-4bfb-ac93-b69a9ea1428a",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_RejectedInserts--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_RejectedInserts",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "8c903ae3",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Rejected Inserts",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_RejectedMutations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_RejectedMutations",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "74059430",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Rejected Mutations",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "a5bd4adb-1610-43a1-a11e-72dc4e76416d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rejected Writes",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "653248f0-9658-4be3-ba03-017d804e90c8",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertedRows",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Inserted Rows",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Inserted Rows",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host_name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host_name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "653248f0-9658-4be3-ba03-017d804e90c8",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertedRows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertedRows",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "a7d9e1d3",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Inserted Rows",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Inserted Rows",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_QueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "All Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Other Queries (not select or insert)",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Total Query Time",
+ "yAxisUnit": "µs"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "947053c4-b809-4241-9cb2-90e09868c2a9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertedBytes",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Inserted Data",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "781619c1-2da3-464b-b2af-206645d8da71",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Inserted Data",
+ "yAxisUnit": "binBps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "486edfb2-02ce-45a3-ab89-06fce614edcf",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_NetworkReceiveBytes",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Received",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_NetworkSendBytes",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Sent",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_QueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_QueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "6fd64e65",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "57e90fd3-ddc9-44a3-8349-ddcb543c0d6e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "All Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "ce64d4b6",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Network Traffic",
+ "yAxisUnit": "binBps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "fcb693b5-6786-49e0-8007-4bc6009c70e2",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OSCPUVirtualTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "OSCPUVirtualTimeMicroseconds",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OSCPUWaitMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "OSCPUWaitMicroseconds",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "ffcd0e01",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "e1dda6e4-1032-4e95-b7ec-fb292e3d6823",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "da05a175",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Other Queries (not select or insert)",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Total Query Time",
- "yAxisUnit": "µs"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "947053c4-b809-4241-9cb2-90e09868c2a9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertedBytes--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertedBytes",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "e9d17ef7",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "CPU",
+ "yAxisUnit": "µs"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "be48f124-96d1-4327-ae10-6f2c1b81fe50",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OSReadBytes",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Read",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OSWriteBytes",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Write",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Inserted Data",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "781619c1-2da3-464b-b2af-206645d8da71",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Inserted Data",
- "yAxisUnit": "binBps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "486edfb2-02ce-45a3-ab89-06fce614edcf",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_NetworkReceiveBytes--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_NetworkReceiveBytes",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "cce0dcd3",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "d26049ee-35ff-4f30-b359-6f0d00bb8600",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Received",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_NetworkSendBytes--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_NetworkSendBytes",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "a29a23a0",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Disk",
+ "yAxisUnit": "binBps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "581eb12e-8c92-4a8d-9800-0f72f350cfd1",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_MergesTimeMilliseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Total Time Spent on Merges",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Sent",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "57e90fd3-ddc9-44a3-8349-ddcb543c0d6e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Network Traffic",
- "yAxisUnit": "binBps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "fcb693b5-6786-49e0-8007-4bc6009c70e2",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OSCPUVirtualTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OSCPUVirtualTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "d2c354fa",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "df0e8faf-801a-4e24-a690-10a6d11651e0",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "OSCPUVirtualTimeMicroseconds",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OSCPUWaitMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OSCPUWaitMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "f6af7585",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Total Time spent for Background Merges",
+ "yAxisUnit": "ms"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "3b96004b-f356-4fc9-a7de-36af5eabad5d",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Merge",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host_name = $host_name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Number of merges launched",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "OSCPUWaitMicroseconds",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "e1dda6e4-1032-4e95-b7ec-fb292e3d6823",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "CPU",
- "yAxisUnit": "µs"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "be48f124-96d1-4327-ae10-6f2c1b81fe50",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OSReadBytes--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OSReadBytes",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "75a5ec5f",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
+ "id": "cbeb3c56-5a43-467e-b130-b1cb11c6ee4f",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Read",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OSWriteBytes--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OSWriteBytes",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "98263fc3",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Write",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "d26049ee-35ff-4f30-b359-6f0d00bb8600",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Disk",
- "yAxisUnit": "binBps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "581eb12e-8c92-4a8d-9800-0f72f350cfd1",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_MergesTimeMilliseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_MergesTimeMilliseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "1ac0d1d1",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Total Time Spent on Merges",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "df0e8faf-801a-4e24-a690-10a6d11651e0",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Total Time spent for Background Merges",
- "yAxisUnit": "ms"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "3b96004b-f356-4fc9-a7de-36af5eabad5d",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Merge--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Merge",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "61c9d724",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host_name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Number of merges launched",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "cbeb3c56-5a43-467e-b130-b1cb11c6ee4f",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Background Merges Launched",
+ "yAxisUnit": "cps"
}
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Background Merges Launched",
- "yAxisUnit": "cps"
- }
- ],
- "uuid": "e74aeb83-ac4b-4313-8a97-216b62c8fc59"
-}
+ ]
+}
\ No newline at end of file
diff --git a/pkg/query-service/app/integrations/builtin_integrations/clickhouse/assets/dashboards/overview_dot.json b/pkg/query-service/app/integrations/builtin_integrations/clickhouse/assets/dashboards/overview_dot.json
index 44a3132e4c..8bd561c77a 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/clickhouse/assets/dashboards/overview_dot.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/clickhouse/assets/dashboards/overview_dot.json
@@ -1,7744 +1,6176 @@
{
- "id": "clickhouse-overview",
- "description": "This dashboard provides a high-level overview of your Clickhouse Server hosts.",
- "layout": [
- {
- "h": 3,
- "i": "3b96004b-f356-4fc9-a7de-36af5eabad5d",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 9
- },
- {
- "h": 3,
- "i": "be48f124-96d1-4327-ae10-6f2c1b81fe50",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 12
- },
- {
- "h": 3,
- "i": "8eb1e295-d5e8-4007-acb1-a9ec385d6f4d",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 3,
- "i": "7f36d404-8915-4bfb-ac93-b69a9ea1428a",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 6
- },
- {
- "h": 3,
- "i": "947053c4-b809-4241-9cb2-90e09868c2a9",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 3
- },
- {
- "h": 3,
- "i": "653248f0-9658-4be3-ba03-017d804e90c8",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 3,
- "i": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "i": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 6
- },
- {
- "h": 3,
- "i": "97a2c7bb-f135-412b-a006-167dcc1882c6",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 3
- },
- {
- "h": 3,
- "i": "486edfb2-02ce-45a3-ab89-06fce614edcf",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 15
- },
- {
- "h": 3,
- "i": "fcb693b5-6786-49e0-8007-4bc6009c70e2",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 15
+ "description": "This dashboard provides a high-level overview of your Clickhouse Server hosts.",
+ "id": "clickhouse-overview",
+ "layout": [
+ {
+ "h": 3,
+ "i": "3b96004b-f356-4fc9-a7de-36af5eabad5d",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 9
+ },
+ {
+ "h": 3,
+ "i": "be48f124-96d1-4327-ae10-6f2c1b81fe50",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 12
+ },
+ {
+ "h": 3,
+ "i": "8eb1e295-d5e8-4007-acb1-a9ec385d6f4d",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 12
+ },
+ {
+ "h": 3,
+ "i": "7f36d404-8915-4bfb-ac93-b69a9ea1428a",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 6
+ },
+ {
+ "h": 3,
+ "i": "947053c4-b809-4241-9cb2-90e09868c2a9",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 3
+ },
+ {
+ "h": 3,
+ "i": "653248f0-9658-4be3-ba03-017d804e90c8",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 0
+ },
+ {
+ "h": 3,
+ "i": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 0
+ },
+ {
+ "h": 3,
+ "i": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 6
+ },
+ {
+ "h": 3,
+ "i": "97a2c7bb-f135-412b-a006-167dcc1882c6",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 3
+ },
+ {
+ "h": 3,
+ "i": "486edfb2-02ce-45a3-ab89-06fce614edcf",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 15
+ },
+ {
+ "h": 3,
+ "i": "fcb693b5-6786-49e0-8007-4bc6009c70e2",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 15
+ },
+ {
+ "h": 3,
+ "i": "581eb12e-8c92-4a8d-9800-0f72f350cfd1",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 9
+ }
+ ],
+ "tags": [],
+ "title": "Clickhouse Overview",
+ "uploadedGrafana": false,
+ "uuid": "e74aeb83-ac4b-4313-8a97-216b62c8fc59",
+ "variables": {
+ "eaf65de3-20bb-4dbc-9792-32a445f7be8f": {
+ "allSelected": false,
+ "customValue": "",
+ "description": "",
+ "id": "eaf65de3-20bb-4dbc-9792-32a445f7be8f",
+ "key": "eaf65de3-20bb-4dbc-9792-32a445f7be8f",
+ "modificationUUID": "2fbb477e-7775-427b-ab14-29b673dd216c",
+ "multiSelect": false,
+ "name": "host.name",
+ "order": 0,
+ "queryValue": "SELECT JSONExtractString(labels, 'host.name') AS `host.name`\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'ClickHouseMetrics_VersionInteger' and __normalized=false \nGROUP BY `host.name`",
+ "selectedValue": "",
+ "showALLOption": false,
+ "sort": "DISABLED",
+ "textboxValue": "",
+ "type": "QUERY"
+ }
},
- {
- "h": 3,
- "i": "581eb12e-8c92-4a8d-9800-0f72f350cfd1",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 9
- }
- ],
- "tags": [],
- "title": "Clickhouse Overview",
- "variables": {
- "eaf65de3-20bb-4dbc-9792-32a445f7be8f": {
- "allSelected": false,
- "customValue": "",
- "description": "",
- "id": "eaf65de3-20bb-4dbc-9792-32a445f7be8f",
- "key": "eaf65de3-20bb-4dbc-9792-32a445f7be8f",
- "modificationUUID": "2fbb477e-7775-427b-ab14-29b673dd216c",
- "multiSelect": false,
- "name": "host.name",
- "order": 0,
- "queryValue": "SELECT JSONExtractString(labels, 'host.name') AS `host.name`\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'ClickHouseMetrics_VersionInteger' and __normalized=false \nGROUP BY `host.name`",
- "selectedValue": "",
- "showALLOption": false,
- "sort": "DISABLED",
- "textboxValue": "",
- "type": "QUERY"
- }
- },
- "uploadedGrafana": false,
- "version": "v4",
- "widgets": [
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "version": "v5",
+ "widgets": [
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "653248f0-9658-4be3-ba03-017d804e90c8",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertedRows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertedRows",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "a7d9e1d3",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "653248f0-9658-4be3-ba03-017d804e90c8",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertedRows",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Inserted Rows",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Inserted Rows",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Inserted Rows",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Inserted Rows",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_QueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "All Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Other Queries (not select or insert)",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_QueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_QueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "6fd64e65",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "All Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "ce64d4b6",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Total Query Time",
+ "yAxisUnit": "µs"
+ },
+ {
+ "description": "Writes rejected with \"Too many parts\" for inserts or \"Too many mutations\" for mutations",
+ "fillSpans": false,
+ "id": "7f36d404-8915-4bfb-ac93-b69a9ea1428a",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_RejectedInserts",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Rejected Inserts ('Too many parts')",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_RejectedMutations",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Rejected Mutations ('Too many mutations')",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "ffcd0e01",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "a5bd4adb-1610-43a1-a11e-72dc4e76416d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "da05a175",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rejected Writes",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Other Queries (not select or insert)",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Total Query Time",
- "yAxisUnit": "µs"
- },
- {
- "description": "Writes rejected with \"Too many parts\" for inserts or \"Too many mutations\" for mutations",
- "fillSpans": false,
- "id": "7f36d404-8915-4bfb-ac93-b69a9ea1428a",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_RejectedInserts--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_RejectedInserts",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "8c903ae3",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Rejected Inserts ('Too many parts')",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_RejectedMutations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_RejectedMutations",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "74059430",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Rejected Mutations ('Too many mutations')",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "a5bd4adb-1610-43a1-a11e-72dc4e76416d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rejected Writes",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "653248f0-9658-4be3-ba03-017d804e90c8",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertedRows",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Inserted Rows",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Inserted Rows",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "653248f0-9658-4be3-ba03-017d804e90c8",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertedRows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertedRows",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "a7d9e1d3",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Inserted Rows",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Inserted Rows",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_QueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "All Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Other Queries (not select or insert)",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Total Query Time",
+ "yAxisUnit": "µs"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "8eb1e295-d5e8-4007-acb1-a9ec385d6f4d",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseMetrics_MemoryTracking",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "max"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Memory Used",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "3bc4df66-32bd-42fe-9744-71a678107ebb",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Memory Usage",
+ "yAxisUnit": "bytes"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_QueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_QueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "6fd64e65",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "All Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "ce64d4b6",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "ffcd0e01",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "da05a175",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Other Queries (not select or insert)",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Total Query Time",
- "yAxisUnit": "µs"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "8eb1e295-d5e8-4007-acb1-a9ec385d6f4d",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseMetrics_MemoryTracking--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseMetrics_MemoryTracking",
- "type": "Gauge"
- },
- "aggregateOperator": "max",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "5b1aee4f",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "653248f0-9658-4be3-ba03-017d804e90c8",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertedRows",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Inserted Rows",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Memory Used",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "stepInterval": 60,
- "timeAggregation": "max"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "3bc4df66-32bd-42fe-9744-71a678107ebb",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Memory Usage",
- "yAxisUnit": "bytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Inserted Rows",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "653248f0-9658-4be3-ba03-017d804e90c8",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertedRows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertedRows",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "a7d9e1d3",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_QueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "All Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Other Queries (not select or insert)",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Inserted Rows",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Inserted Rows",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Total Query Time",
+ "yAxisUnit": "µs"
+ },
+ {
+ "description": "Writes rejected with \"Too many parts\" for inserts or \"Too many mutations\" for mutations",
+ "fillSpans": false,
+ "id": "7f36d404-8915-4bfb-ac93-b69a9ea1428a",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_RejectedInserts",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Rejected Inserts",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_RejectedMutations",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Rejected Mutations",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ "id": "a5bd4adb-1610-43a1-a11e-72dc4e76416d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_QueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_QueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "6fd64e65",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "All Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "ce64d4b6",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rejected Writes",
+ "yAxisUnit": "none"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "ffcd0e01",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "da05a175",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Other Queries (not select or insert)",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Total Query Time",
- "yAxisUnit": "µs"
- },
- {
- "description": "Writes rejected with \"Too many parts\" for inserts or \"Too many mutations\" for mutations",
- "fillSpans": false,
- "id": "7f36d404-8915-4bfb-ac93-b69a9ea1428a",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_RejectedInserts--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_RejectedInserts",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "8c903ae3",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Rejected Inserts",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_RejectedMutations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_RejectedMutations",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "74059430",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Rejected Mutations",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "a5bd4adb-1610-43a1-a11e-72dc4e76416d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rejected Writes",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "653248f0-9658-4be3-ba03-017d804e90c8",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertedRows",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Inserted Rows",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Inserted Rows",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Query",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_AsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "host.name--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "host.name",
+ "type": "tag"
+ }
+ ],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "653248f0-9658-4be3-ba03-017d804e90c8",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertedRows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertedRows",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "a7d9e1d3",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Rate of Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedSelectQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Async Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Inserted Rows",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "ee3de02b-cb8b-4ebc-8041-245f10943ca6",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Inserted Rows",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a62fdaa8-9193-46c1-a951-8e3d5a6b1cf9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Query--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Query",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "f39fa24e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "feac81df",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
}
- ],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "c8516e54",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
}
- ],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_AsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_AsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "fabac011",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Failed Queries",
+ "yAxisUnit": "cps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_QueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "All Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Select Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "C",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Insert Queries",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "C",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "D",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Other Queries (not select or insert)",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "D",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "9a78e4be-1f4d-4104-b97b-26ba927b100e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Rate of Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "1a1a3a6a-83d2-49db-aa4d-d6f166cc65f0",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "7d653034",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedSelectQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedSelectQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "18cd347e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Total Query Time",
+ "yAxisUnit": "µs"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "947053c4-b809-4241-9cb2-90e09868c2a9",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_InsertedBytes",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Inserted Data",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "96af023f",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "781619c1-2da3-464b-b2af-206645d8da71",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_FailedAsyncInsertQuery--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_FailedAsyncInsertQuery",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "1ec63ffc",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Inserted Data",
+ "yAxisUnit": "binBps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "486edfb2-02ce-45a3-ab89-06fce614edcf",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_NetworkReceiveBytes",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Received",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_NetworkSendBytes",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Sent",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Async Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "536cb476-340c-4afb-a5cc-538ebe419f8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Failed Queries",
- "yAxisUnit": "cps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "97a2c7bb-f135-412b-a006-167dcc1882c6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_QueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_QueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "6fd64e65",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "57e90fd3-ddc9-44a3-8349-ddcb543c0d6e",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "All Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_SelectQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "ce64d4b6",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Network Traffic",
+ "yAxisUnit": "binBps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "fcb693b5-6786-49e0-8007-4bc6009c70e2",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OSCPUVirtualTimeMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "OSCPUVirtualTimeMicroseconds",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OSCPUWaitMicroseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "OSCPUWaitMicroseconds",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Select Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- },
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filters": {
- "items": [
- {
- "id": "ffcd0e01",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "e1dda6e4-1032-4e95-b7ec-fb292e3d6823",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Insert Queries",
- "limit": null,
- "orderBy": [],
- "queryName": "C",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OtherQueryTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filters": {
- "items": [
- {
- "id": "da05a175",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Other Queries (not select or insert)",
- "limit": null,
- "orderBy": [],
- "queryName": "D",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "e1a1e8b1-60c0-40b6-8391-151d79e91325",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Total Query Time",
- "yAxisUnit": "µs"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "947053c4-b809-4241-9cb2-90e09868c2a9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_InsertedBytes--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_InsertedBytes",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "e9d17ef7",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "CPU",
+ "yAxisUnit": "µs"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "be48f124-96d1-4327-ae10-6f2c1b81fe50",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OSReadBytes",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Read",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ },
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_OSWriteBytes",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "B",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Write",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "B",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Inserted Data",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "781619c1-2da3-464b-b2af-206645d8da71",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Inserted Data",
- "yAxisUnit": "binBps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "486edfb2-02ce-45a3-ab89-06fce614edcf",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_NetworkReceiveBytes--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_NetworkReceiveBytes",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "cce0dcd3",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "d26049ee-35ff-4f30-b359-6f0d00bb8600",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Received",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_NetworkSendBytes--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_NetworkSendBytes",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "a29a23a0",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Disk",
+ "yAxisUnit": "binBps"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "581eb12e-8c92-4a8d-9800-0f72f350cfd1",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_MergesTimeMilliseconds",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Total Time Spent on Merges",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Sent",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "57e90fd3-ddc9-44a3-8349-ddcb543c0d6e",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Network Traffic",
- "yAxisUnit": "binBps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "fcb693b5-6786-49e0-8007-4bc6009c70e2",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OSCPUVirtualTimeMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OSCPUVirtualTimeMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "d2c354fa",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "df0e8faf-801a-4e24-a690-10a6d11651e0",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "OSCPUVirtualTimeMicroseconds",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OSCPUWaitMicroseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OSCPUWaitMicroseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "f6af7585",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Total Time spent for Background Merges",
+ "yAxisUnit": "ms"
+ },
+ {
+ "description": "",
+ "fillSpans": false,
+ "id": "3b96004b-f356-4fc9-a7de-36af5eabad5d",
+ "isStacked": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregations": [
+ {
+ "metricName": "ClickHouseProfileEvents_Merge",
+ "reduceTo": "avg",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filter": {
+ "expression": "host.name = $host.name"
+ },
+ "functions": [],
+ "groupBy": [],
+ "having": {
+ "expression": ""
+ },
+ "legend": "Number of merges launched",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "stepInterval": 60
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "OSCPUWaitMicroseconds",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "e1dda6e4-1032-4e95-b7ec-fb292e3d6823",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "CPU",
- "yAxisUnit": "µs"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "be48f124-96d1-4327-ae10-6f2c1b81fe50",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OSReadBytes--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OSReadBytes",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "75a5ec5f",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
+ "id": "cbeb3c56-5a43-467e-b130-b1cb11c6ee4f",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Read",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
+ "queryType": "builder"
},
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_OSWriteBytes--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_OSWriteBytes",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filters": {
- "items": [
- {
- "id": "98263fc3",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Write",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "d26049ee-35ff-4f30-b359-6f0d00bb8600",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Disk",
- "yAxisUnit": "binBps"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "581eb12e-8c92-4a8d-9800-0f72f350cfd1",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_MergesTimeMilliseconds--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_MergesTimeMilliseconds",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "1ac0d1d1",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Total Time Spent on Merges",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "df0e8faf-801a-4e24-a690-10a6d11651e0",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Total Time spent for Background Merges",
- "yAxisUnit": "ms"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "3b96004b-f356-4fc9-a7de-36af5eabad5d",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "ClickHouseProfileEvents_Merge--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "ClickHouseProfileEvents_Merge",
- "type": "Sum"
- },
- "aggregateOperator": "rate",
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filters": {
- "items": [
- {
- "id": "61c9d724",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "=",
- "value": "{{.host.name}}"
- }
- ],
- "op": "AND"
- },
- "functions": [],
- "groupBy": [],
- "having": [],
- "legend": "Number of merges launched",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "reduceTo": "avg",
- "spaceAggregation": "sum",
- "stepInterval": 60,
- "timeAggregation": "rate"
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "cbeb3c56-5a43-467e-b130-b1cb11c6ee4f",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "responseStatusCode--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "responseStatusCode",
- "type": "tag"
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Background Merges Launched",
+ "yAxisUnit": "cps"
}
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Background Merges Launched",
- "yAxisUnit": "cps"
- }
- ],
- "uuid": "e74aeb83-ac4b-4313-8a97-216b62c8fc59"
-}
+ ]
+}
\ No newline at end of file
diff --git a/pkg/query-service/app/integrations/builtin_integrations/mongo/assets/dashboards/overview.json b/pkg/query-service/app/integrations/builtin_integrations/mongo/assets/dashboards/overview.json
index 5b993cb2ca..f499a7083f 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/mongo/assets/dashboards/overview.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/mongo/assets/dashboards/overview.json
@@ -1,6 +1,6 @@
{
- "id": "mongo-overview",
"description": "This dashboard provides a high-level overview of your MongoDB. It includes read/write performance, most-used replicas, collection metrics etc...",
+ "id": "mongo-overview",
"layout": [
{
"h": 3,
@@ -92,6 +92,7 @@
"type": "QUERY"
}
},
+ "version": "v5",
"widgets": [
{
"description": "Total number of operations",
@@ -105,37 +106,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb_operation_count--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb_operation_count",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "mongodb_operation_count",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "a468a30b",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [
{
@@ -147,12 +131,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{operation}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -196,37 +181,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb_operation_time--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb_operation_time",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "mongodb_operation_time",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "31be3166",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [
{
@@ -238,12 +206,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{operation}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -287,37 +256,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb_cache_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb_cache_operations",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "mongodb_cache_operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "01b45814",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [
{
@@ -329,12 +281,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{type}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -378,58 +331,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb_operation_latency_time--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb_operation_latency_time",
- "type": "Gauge"
- },
- "aggregateOperator": "max",
+ "aggregations": [
+ {
+ "metricName": "mongodb_operation_latency_time",
+ "reduceTo": "sum",
+ "spaceAggregation": "max",
+ "temporality": null,
+ "timeAggregation": "max"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "2e165319",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "read"
- },
- {
- "id": "888e920b",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'read' AND host_name IN $host_name)"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Latency",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -473,58 +397,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb_operation_latency_time--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb_operation_latency_time",
- "type": "Gauge"
- },
- "aggregateOperator": "max",
+ "aggregations": [
+ {
+ "metricName": "mongodb_operation_latency_time",
+ "reduceTo": "sum",
+ "spaceAggregation": "max",
+ "temporality": null,
+ "timeAggregation": "max"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "53b37ca7",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "9862c46c",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "write"
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(host_name IN $host_name AND operation = 'write')"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Latency",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -568,58 +463,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb_operation_latency_time--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb_operation_latency_time",
- "type": "Gauge"
- },
- "aggregateOperator": "max",
+ "aggregations": [
+ {
+ "metricName": "mongodb_operation_latency_time",
+ "reduceTo": "sum",
+ "spaceAggregation": "max",
+ "temporality": null,
+ "timeAggregation": "max"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "c33ad4b6",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "c70ecfd0",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "command"
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(host_name IN $host_name AND operation = 'command')"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Latency",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -663,37 +529,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb_network_io_receive--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb_network_io_receive",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "mongodb_network_io_receive",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "5c9d7fe3",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [
{
@@ -705,46 +554,30 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Bytes received :: {{host_name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
},
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb_network_io_transmit--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb_network_io_transmit",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "mongodb_network_io_transmit",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "B",
- "filters": {
- "items": [
- {
- "id": "96520885",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [
{
@@ -756,12 +589,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Bytes transmitted :: {{host_name}}",
"limit": null,
"orderBy": [],
"queryName": "B",
- "reduceTo": "sum",
"stepInterval": 60
}
],
diff --git a/pkg/query-service/app/integrations/builtin_integrations/mongo/assets/dashboards/overview_dot.json b/pkg/query-service/app/integrations/builtin_integrations/mongo/assets/dashboards/overview_dot.json
index 777302d96f..242aba0aed 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/mongo/assets/dashboards/overview_dot.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/mongo/assets/dashboards/overview_dot.json
@@ -1,6 +1,6 @@
{
- "id": "mongo-overview",
"description": "This dashboard provides a high-level overview of your MongoDB. It includes read/write performance, most-used replicas, collection metrics etc...",
+ "id": "mongo-overview",
"layout": [
{
"h": 3,
@@ -92,6 +92,7 @@
"type": "QUERY"
}
},
+ "version": "v5",
"widgets": [
{
"description": "Total number of operations",
@@ -105,37 +106,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb.operation.count--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb.operation.count",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "mongodb.operation.count",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "a468a30b",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -147,12 +131,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{operation}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -196,37 +181,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb.operation.time--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb.operation.time",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "mongodb.operation.time",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "31be3166",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -238,12 +206,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{operation}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -287,37 +256,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb.cache.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb.cache.operations",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "mongodb.cache.operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "01b45814",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -329,12 +281,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{type}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -378,58 +331,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb.operation.latency.time--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb.operation.latency.time",
- "type": "Gauge"
- },
- "aggregateOperator": "max",
+ "aggregations": [
+ {
+ "metricName": "mongodb.operation.latency.time",
+ "reduceTo": "sum",
+ "spaceAggregation": "max",
+ "temporality": null,
+ "timeAggregation": "max"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "2e165319",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "read"
- },
- {
- "id": "888e920b",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'read' AND host.name IN $host.name)"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Latency",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -473,58 +397,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb.operation.latency.time--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb.operation.latency.time",
- "type": "Gauge"
- },
- "aggregateOperator": "max",
+ "aggregations": [
+ {
+ "metricName": "mongodb.operation.latency.time",
+ "reduceTo": "sum",
+ "spaceAggregation": "max",
+ "temporality": null,
+ "timeAggregation": "max"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "53b37ca7",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "9862c46c",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "write"
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(host.name IN $host.name AND operation = 'write')"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Latency",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -568,58 +463,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb.operation.latency.time--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb.operation.latency.time",
- "type": "Gauge"
- },
- "aggregateOperator": "max",
+ "aggregations": [
+ {
+ "metricName": "mongodb.operation.latency.time",
+ "reduceTo": "sum",
+ "spaceAggregation": "max",
+ "temporality": null,
+ "timeAggregation": "max"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "c33ad4b6",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "c70ecfd0",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "command"
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(host.name IN $host.name AND operation = 'command')"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Latency",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -663,37 +529,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb.network.io.receive--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb.network.io.receive",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "mongodb.network.io.receive",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "5c9d7fe3",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -705,46 +554,30 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Bytes received :: {{host.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
},
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "mongodb.network.io.transmit--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "mongodb.network.io.transmit",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "mongodb.network.io.transmit",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "B",
- "filters": {
- "items": [
- {
- "id": "96520885",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -756,12 +589,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Bytes transmitted :: {{host.name}}",
"limit": null,
"orderBy": [],
"queryName": "B",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -794,4 +628,4 @@
"yAxisUnit": "bytes"
}
]
-}
+}
\ No newline at end of file
diff --git a/pkg/query-service/app/integrations/builtin_integrations/postgres/assets/dashboards/overview.json b/pkg/query-service/app/integrations/builtin_integrations/postgres/assets/dashboards/overview.json
index 944e06b03f..b2d314cd5f 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/postgres/assets/dashboards/overview.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/postgres/assets/dashboards/overview.json
@@ -1,6 +1,6 @@
{
- "id": "postgres-overview",
"description": "This dashboard provides a high-level overview of your PostgreSQL databases. It includes replication, locks, and throughput etc...",
+ "id": "postgres-overview",
"layout": [
{
"h": 3,
@@ -129,6 +129,7 @@
"type": "QUERY"
},
"8ecaee70-640f-46fd-83d9-a4fd18bc66e6": {
+ "allSelected": true,
"customValue": "",
"description": "List of tables",
"id": "8ecaee70-640f-46fd-83d9-a4fd18bc66e6",
@@ -137,10 +138,6 @@
"name": "table_name",
"order": 0,
"queryValue": "SELECT JSONExtractString(labels, 'postgresql_table_name') AS table_name\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'postgresql_operations' AND JSONExtractString(labels, 'postgresql_database_name') IN {{.db_name}}\nGROUP BY table_name",
- "showALLOption": true,
- "sort": "ASC",
- "textboxValue": "",
- "type": "QUERY",
"selectedValue": [
"public.activations",
"public.licenses",
@@ -150,7 +147,10 @@
"public.trials",
"public.usage"
],
- "allSelected": true
+ "showALLOption": true,
+ "sort": "ASC",
+ "textboxValue": "",
+ "type": "QUERY"
},
"c66d1581-e5e1-440d-8ff6-ebcf078ab6dd": {
"allSelected": true,
@@ -172,6 +172,7 @@
"type": "QUERY"
}
},
+ "version": "v5",
"widgets": [
{
"description": "The average number of db insert operations.",
@@ -185,65 +186,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql_operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "c1dff946",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "ins"
- },
- {
- "id": "0cd6dc8f",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "2e60e171",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'ins' AND host_name IN $host_name AND postgresql_database_name IN $db_name)"
},
"groupBy": [
{
@@ -255,12 +211,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{postgresql_database_name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -304,65 +261,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql_operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "98463ec9",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "upd"
- },
- {
- "id": "47db4e8e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "64020332",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'upd' AND host_name IN $host_name AND postgresql_database_name IN $db_name)"
},
"groupBy": [
{
@@ -374,12 +286,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{postgresql_database_name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -423,65 +336,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql_operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "62738de4",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "del"
- },
- {
- "id": "d18471e2",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "9d153899",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'del' AND host_name IN $host_name AND postgresql_database_name IN $db_name)"
},
"groupBy": [
{
@@ -493,12 +361,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{postgresql_database_name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -542,65 +411,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql_operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "a91e35c4",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "hot_upd"
- },
- {
- "id": "2b419378",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "7b4a29a2",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'hot_upd' AND host_name IN $host_name AND postgresql_database_name IN $db_name)"
},
"groupBy": [
{
@@ -612,12 +436,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{postgresql_database_name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -661,65 +486,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql_operations",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "d6aeccf7",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "ins"
- },
- {
- "id": "4004a127",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "ee4e9344",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'ins' AND host_name IN $host_name AND postgresql_database_name IN $db_name)"
},
"groupBy": [
{
@@ -731,74 +511,30 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Inserted",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
},
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql_operations",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "B",
- "filters": {
- "items": [
- {
- "id": "a12cceed",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "upd"
- },
- {
- "id": "11735104",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "2d542482",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'upd' AND host_name IN $host_name AND postgresql_database_name IN $db_name)"
},
"groupBy": [
{
@@ -810,74 +546,30 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Updated",
"limit": null,
"orderBy": [],
"queryName": "B",
- "reduceTo": "sum",
"stepInterval": 60
},
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql_operations",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "C",
- "filters": {
- "items": [
- {
- "id": "1bca3e46",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "del"
- },
- {
- "id": "3631755d",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "44ffc874",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'del' AND host_name IN $host_name AND postgresql_database_name IN $db_name)"
},
"groupBy": [
{
@@ -889,12 +581,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Deleted",
"limit": null,
"orderBy": [],
"queryName": "C",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -938,37 +631,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_database_locks--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_database_locks",
- "type": "Gauge"
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "postgresql_database_locks",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "527a3124",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [
{
@@ -980,12 +656,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{mode}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -1029,52 +706,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_deadlocks--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_deadlocks",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "postgresql_deadlocks",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "ff14f172",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "efb83717",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(host_name IN $host_name AND postgresql_database_name IN $db_name)"
},
"groupBy": [
{
@@ -1086,12 +731,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{postgresql_database_name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -1135,52 +781,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_backends--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_backends",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql_backends",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "ed335b00",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "20d2a4c5",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(host_name IN $host_name AND postgresql_database_name IN $db_name)"
},
"groupBy": [
{
@@ -1192,12 +806,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{postgresql_database_name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -1241,88 +856,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_rows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_rows",
- "type": "Sum"
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "postgresql_rows",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "70786905",
- "key": {
- "dataType": "string",
- "id": "state--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "state",
- "type": "tag"
- },
- "op": "=",
- "value": "dead"
- },
- {
- "id": "810e39a9",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "3e5ef839",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
- {
- "id": "9e913563",
- "key": {
- "dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(state = 'dead' AND host_name IN $host_name AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Dead rows",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -1366,67 +922,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_index_scans--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_index_scans",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "postgresql_index_scans",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "da04d826",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "590332a7",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
- {
- "id": "171b9516",
- "key": {
- "dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(host_name IN $host_name AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
},
"groupBy": [
{
@@ -1438,12 +947,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{postgresql_index_name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -1487,80 +997,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_rows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_rows",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql_rows",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "83f9cab9",
- "key": {
- "dataType": "string",
- "id": "state--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "state",
- "type": "tag"
- },
- "op": "=",
- "value": "dead"
- },
- {
- "id": "2a0284c2",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "c2aaf758",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
- {
- "id": "a603fda9",
- "key": {
- "dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(state = 'dead' AND host_name IN $host_name AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
},
"groupBy": [
{
@@ -1572,89 +1022,30 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Dead rows",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
},
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_rows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_rows",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql_rows",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "B",
- "filters": {
- "items": [
- {
- "id": "82f1f0f5",
- "key": {
- "dataType": "string",
- "id": "state--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "state",
- "type": "tag"
- },
- "op": "=",
- "value": "live"
- },
- {
- "id": "14de7a06",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "0a88a27a",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
- {
- "id": "4417218d",
- "key": {
- "dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(state = 'live' AND host_name IN $host_name AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
},
"groupBy": [
{
@@ -1666,76 +1057,30 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Live rows",
"limit": null,
"orderBy": [],
"queryName": "B",
- "reduceTo": "sum",
"stepInterval": 60
},
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_index_scans--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_index_scans",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "postgresql_index_scans",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "C",
- "filters": {
- "items": [
- {
- "id": "22795c15",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "d7e7c193",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
- {
- "id": "d3ae1dbe",
- "key": {
- "dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(host_name IN $host_name AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
},
"groupBy": [
{
@@ -1747,76 +1092,30 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Index scans",
"limit": null,
"orderBy": [],
"queryName": "C",
- "reduceTo": "sum",
"stepInterval": 60
},
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql_table_size--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql_table_size",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql_table_size",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "D",
- "filters": {
- "items": [
- {
- "id": "48c436ab",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- },
- {
- "id": "cc617789",
- "key": {
- "dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_database_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db_name}}"
- ]
- },
- {
- "id": "b4029d50",
- "key": {
- "dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql_table_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(host_name IN $host_name AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
},
"groupBy": [
{
@@ -1828,12 +1127,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Table size",
"limit": null,
"orderBy": [],
"queryName": "D",
- "reduceTo": "sum",
"stepInterval": 60
}
],
diff --git a/pkg/query-service/app/integrations/builtin_integrations/postgres/assets/dashboards/overview_dot.json b/pkg/query-service/app/integrations/builtin_integrations/postgres/assets/dashboards/overview_dot.json
index f781e93cc4..ed02af9709 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/postgres/assets/dashboards/overview_dot.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/postgres/assets/dashboards/overview_dot.json
@@ -1,6 +1,6 @@
{
- "id": "postgres-overview",
"description": "This dashboard provides a high-level overview of your PostgreSQL databases. It includes replication, locks, and throughput etc...",
+ "id": "postgres-overview",
"layout": [
{
"h": 3,
@@ -129,6 +129,7 @@
"type": "QUERY"
},
"8ecaee70-640f-46fd-83d9-a4fd18bc66e6": {
+ "allSelected": true,
"customValue": "",
"description": "List of tables",
"id": "8ecaee70-640f-46fd-83d9-a4fd18bc66e6",
@@ -137,10 +138,6 @@
"name": "table.name",
"order": 0,
"queryValue": "SELECT JSONExtractString(labels, 'postgresql.table.name') AS `table.name`\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'postgresql.operations' AND JSONExtractString(labels, 'postgresql.database.name') IN {{.db.name}}\nGROUP BY `table.name`",
- "showALLOption": true,
- "sort": "ASC",
- "textboxValue": "",
- "type": "QUERY",
"selectedValue": [
"public.activations",
"public.licenses",
@@ -150,7 +147,10 @@
"public.trials",
"public.usage"
],
- "allSelected": true
+ "showALLOption": true,
+ "sort": "ASC",
+ "textboxValue": "",
+ "type": "QUERY"
},
"c66d1581-e5e1-440d-8ff6-ebcf078ab6dd": {
"allSelected": true,
@@ -172,6 +172,7 @@
"type": "QUERY"
}
},
+ "version": "v5",
"widgets": [
{
"description": "The average number of db insert operations.",
@@ -185,65 +186,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql.operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "c1dff946",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "ins"
- },
- {
- "id": "0cd6dc8f",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "2e60e171",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'ins' AND host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
@@ -255,12 +211,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -304,65 +261,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql.operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "98463ec9",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "upd"
- },
- {
- "id": "47db4e8e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "64020332",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'upd' AND host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
@@ -374,12 +286,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -423,65 +336,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql.operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "62738de4",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "del"
- },
- {
- "id": "d18471e2",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "9d153899",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'del' AND host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
@@ -493,12 +361,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -542,65 +411,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql.operations",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "a91e35c4",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "hot_upd"
- },
- {
- "id": "2b419378",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "7b4a29a2",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'hot_upd' AND host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
@@ -612,12 +436,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -661,65 +486,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql.operations",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "d6aeccf7",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "ins"
- },
- {
- "id": "4004a127",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "ee4e9344",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'ins' AND host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
@@ -731,74 +511,30 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Inserted",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
},
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql.operations",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "B",
- "filters": {
- "items": [
- {
- "id": "a12cceed",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "upd"
- },
- {
- "id": "11735104",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "2d542482",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'upd' AND host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
@@ -810,74 +546,30 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Updated",
"limit": null,
"orderBy": [],
"queryName": "B",
- "reduceTo": "sum",
"stepInterval": 60
},
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.operations--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.operations",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql.operations",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "C",
- "filters": {
- "items": [
- {
- "id": "1bca3e46",
- "key": {
- "dataType": "string",
- "id": "operation--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "operation",
- "type": "tag"
- },
- "op": "=",
- "value": "del"
- },
- {
- "id": "3631755d",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "44ffc874",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(operation = 'del' AND host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
@@ -889,12 +581,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Deleted",
"limit": null,
"orderBy": [],
"queryName": "C",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -938,37 +631,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.database.locks--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.database.locks",
- "type": "Gauge"
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "postgresql.database.locks",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "527a3124",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -980,12 +656,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{mode}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -1029,52 +706,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.deadlocks--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.deadlocks",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "postgresql.deadlocks",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "ff14f172",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "efb83717",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
@@ -1086,12 +731,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -1135,52 +781,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.backends--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.backends",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql.backends",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "ed335b00",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "20d2a4c5",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
@@ -1192,12 +806,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -1241,88 +856,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.rows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.rows",
- "type": "Sum"
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "postgresql.rows",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "70786905",
- "key": {
- "dataType": "string",
- "id": "state--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "state",
- "type": "tag"
- },
- "op": "=",
- "value": "dead"
- },
- {
- "id": "810e39a9",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "3e5ef839",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- },
- {
- "id": "9e913563",
- "key": {
- "dataType": "string",
- "id": "postgresql.table.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(state = 'dead' AND host.name IN $host.name AND postgresql.database.name IN $db.name AND postgresql.table.name IN $table.name)"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Dead rows",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -1366,67 +922,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.index.scans--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.index.scans",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "postgresql.index.scans",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "da04d826",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "590332a7",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- },
- {
- "id": "171b9516",
- "key": {
- "dataType": "string",
- "id": "postgresql.table.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(host.name IN $host.name AND postgresql.database.name IN $db.name AND postgresql.table.name IN $table.name)"
},
"groupBy": [
{
@@ -1438,12 +947,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "{{postgresql.index.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -1487,80 +997,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.rows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.rows",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql.rows",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "83f9cab9",
- "key": {
- "dataType": "string",
- "id": "state--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "state",
- "type": "tag"
- },
- "op": "=",
- "value": "dead"
- },
- {
- "id": "2a0284c2",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "c2aaf758",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- },
- {
- "id": "a603fda9",
- "key": {
- "dataType": "string",
- "id": "postgresql.table.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(state = 'dead' AND host.name IN $host.name AND postgresql.database.name IN $db.name AND postgresql.table.name IN $table.name)"
},
"groupBy": [
{
@@ -1572,89 +1022,30 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Dead rows",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
},
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.rows--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.rows",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql.rows",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "B",
- "filters": {
- "items": [
- {
- "id": "82f1f0f5",
- "key": {
- "dataType": "string",
- "id": "state--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "state",
- "type": "tag"
- },
- "op": "=",
- "value": "live"
- },
- {
- "id": "14de7a06",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "0a88a27a",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- },
- {
- "id": "4417218d",
- "key": {
- "dataType": "string",
- "id": "postgresql.table.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(state = 'live' AND host.name IN $host.name AND postgresql.database.name IN $db.name AND postgresql.table.name IN $table.name)"
},
"groupBy": [
{
@@ -1666,76 +1057,30 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Live rows",
"limit": null,
"orderBy": [],
"queryName": "B",
- "reduceTo": "sum",
"stepInterval": 60
},
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.index.scans--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.index.scans",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "postgresql.index.scans",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "C",
- "filters": {
- "items": [
- {
- "id": "22795c15",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "d7e7c193",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- },
- {
- "id": "d3ae1dbe",
- "key": {
- "dataType": "string",
- "id": "postgresql.table.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(host.name IN $host.name AND postgresql.database.name IN $db.name AND postgresql.table.name IN $table.name)"
},
"groupBy": [
{
@@ -1747,76 +1092,30 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Index scans",
"limit": null,
"orderBy": [],
"queryName": "C",
- "reduceTo": "sum",
"stepInterval": 60
},
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "postgresql.table.size--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "postgresql.table.size",
- "type": "Sum"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "postgresql.table.size",
+ "reduceTo": "avg",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "D",
- "filters": {
- "items": [
- {
- "id": "48c436ab",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- },
- {
- "id": "cc617789",
- "key": {
- "dataType": "string",
- "id": "postgresql.database.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.database.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.db.name}}"
- ]
- },
- {
- "id": "b4029d50",
- "key": {
- "dataType": "string",
- "id": "postgresql.table.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "postgresql.table.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.table.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "(host.name IN $host.name AND postgresql.database.name IN $db.name AND postgresql.table.name IN $table.name)"
},
"groupBy": [
{
@@ -1828,12 +1127,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Table size",
"limit": null,
"orderBy": [],
"queryName": "D",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -1866,4 +1166,4 @@
"yAxisUnit": "none"
}
]
-}
+}
\ No newline at end of file
diff --git a/pkg/query-service/app/integrations/builtin_integrations/redis/assets/dashboards/overview.json b/pkg/query-service/app/integrations/builtin_integrations/redis/assets/dashboards/overview.json
index 3fd2c255ce..87ffc929a3 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/redis/assets/dashboards/overview.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/redis/assets/dashboards/overview.json
@@ -1,6 +1,6 @@
{
- "id": "redis-overview",
"description": "This dashboard shows the Redis instance overview. It includes latency, hit/miss rate, connections, and memory information.\n",
+ "id": "redis-overview",
"layout": [
{
"h": 3,
@@ -111,6 +111,7 @@
"type": "QUERY"
}
},
+ "version": "v5",
"widgets": [
{
"description": "Rate successful lookup of keys in the main dictionary",
@@ -124,45 +125,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis_keyspace_hits--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis_keyspace_hits",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "redis_keyspace_hits",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "e99669ea",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Hit/s across all hosts",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -206,45 +191,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis_clients_blocked--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis_clients_blocked",
- "type": "Sum"
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "redis_clients_blocked",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "97247f25",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Blocked clients across all hosts",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -288,28 +257,26 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "",
- "id": "redis_db_keys------false",
- "isColumn": false,
- "key": "redis_db_keys",
- "type": ""
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "redis_db_keys",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [],
- "op": "AND"
- },
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -353,45 +320,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis_rdb_changes_since_last_save--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis_rdb_changes_since_last_save",
- "type": "Sum"
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "redis_rdb_changes_since_last_save",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "d4aef346",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Number of unsaved changes",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -435,45 +386,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis_commands--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis_commands",
- "type": "Gauge"
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "redis_commands",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "458dc402",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "ops/s",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -517,37 +452,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis_memory_used--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis_memory_used",
- "type": "Gauge"
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "redis_memory_used",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "394a537e",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [
{
@@ -559,46 +477,30 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Used::{{host_name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
},
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis_maxmemory--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis_maxmemory",
- "type": "Gauge"
- },
- "aggregateOperator": "max",
+ "aggregations": [
+ {
+ "metricName": "redis_maxmemory",
+ "reduceTo": "sum",
+ "spaceAggregation": "max",
+ "temporality": null,
+ "timeAggregation": "max"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "B",
- "filters": {
- "items": [
- {
- "id": "0c0754da",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [
{
@@ -610,12 +512,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Max::{{host_name}}",
"limit": null,
"orderBy": [],
"queryName": "B",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -659,37 +562,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis_memory_rss--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis_memory_rss",
- "type": "Gauge"
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "redis_memory_rss",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "4dc9ae49",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [
{
@@ -701,12 +587,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Rss::{{host_name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -750,37 +637,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis_memory_fragmentation_ratio--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis_memory_fragmentation_ratio",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "redis_memory_fragmentation_ratio",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "79dc25f3",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [
{
@@ -792,12 +662,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Rss::{{host_name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -841,37 +712,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis_keys_evicted--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis_keys_evicted",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "redis_keys_evicted",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "53d189ac",
- "key": {
- "dataType": "string",
- "id": "host_name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host_name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host_name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host_name IN $host_name"
},
"groupBy": [
{
@@ -883,12 +737,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Rss::{{host_name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
diff --git a/pkg/query-service/app/integrations/builtin_integrations/redis/assets/dashboards/overview_dot.json b/pkg/query-service/app/integrations/builtin_integrations/redis/assets/dashboards/overview_dot.json
index dacf4db862..9bdb6ccf99 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/redis/assets/dashboards/overview_dot.json
+++ b/pkg/query-service/app/integrations/builtin_integrations/redis/assets/dashboards/overview_dot.json
@@ -1,6 +1,6 @@
{
- "id": "redis-overview",
"description": "This dashboard shows the Redis instance overview. It includes latency, hit/miss rate, connections, and memory information.\n",
+ "id": "redis-overview",
"layout": [
{
"h": 3,
@@ -111,6 +111,7 @@
"type": "QUERY"
}
},
+ "version": "v5",
"widgets": [
{
"description": "Rate successful lookup of keys in the main dictionary",
@@ -124,45 +125,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis.keyspace.hits--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis.keyspace.hits",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "redis.keyspace.hits",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "e99669ea",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Hit/s across all hosts",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -206,45 +191,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis.clients.blocked--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis.clients.blocked",
- "type": "Sum"
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "redis.clients.blocked",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "97247f25",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Blocked clients across all hosts",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -288,28 +257,26 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "",
- "id": "redis.db.keys------false",
- "isColumn": false,
- "key": "redis.db.keys",
- "type": ""
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "redis.db.keys",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [],
- "op": "AND"
- },
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -353,45 +320,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis.rdb.changes_since_last_save--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis.rdb.changes_since_last_save",
- "type": "Sum"
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "redis.rdb.changes_since_last_save",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "d4aef346",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Number of unsaved changes",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -435,45 +386,29 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis.commands--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis.commands",
- "type": "Gauge"
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "redis.commands",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "458dc402",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "ops/s",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -517,37 +452,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis.memory.used--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis.memory.used",
- "type": "Gauge"
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "redis.memory.used",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "394a537e",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -559,46 +477,30 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Used::{{host.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
},
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis.maxmemory--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis.maxmemory",
- "type": "Gauge"
- },
- "aggregateOperator": "max",
+ "aggregations": [
+ {
+ "metricName": "redis.maxmemory",
+ "reduceTo": "sum",
+ "spaceAggregation": "max",
+ "temporality": null,
+ "timeAggregation": "max"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "B",
- "filters": {
- "items": [
- {
- "id": "0c0754da",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -610,12 +512,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Max::{{host.name}}",
"limit": null,
"orderBy": [],
"queryName": "B",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -659,37 +562,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis.memory.rss--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis.memory.rss",
- "type": "Gauge"
- },
- "aggregateOperator": "sum",
+ "aggregations": [
+ {
+ "metricName": "redis.memory.rss",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "sum"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "4dc9ae49",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -701,12 +587,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Rss::{{host.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -750,37 +637,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis.memory.fragmentation_ratio--float64--Gauge--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis.memory.fragmentation_ratio",
- "type": "Gauge"
- },
- "aggregateOperator": "avg",
+ "aggregations": [
+ {
+ "metricName": "redis.memory.fragmentation_ratio",
+ "reduceTo": "sum",
+ "spaceAggregation": "avg",
+ "temporality": null,
+ "timeAggregation": "avg"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "79dc25f3",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -792,12 +662,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Rss::{{host.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -841,37 +712,20 @@
"builder": {
"queryData": [
{
- "aggregateAttribute": {
- "dataType": "float64",
- "id": "redis.keys.evicted--float64--Sum--true",
- "isColumn": true,
- "isJSON": false,
- "key": "redis.keys.evicted",
- "type": "Sum"
- },
- "aggregateOperator": "sum_rate",
+ "aggregations": [
+ {
+ "metricName": "redis.keys.evicted",
+ "reduceTo": "sum",
+ "spaceAggregation": "sum",
+ "temporality": null,
+ "timeAggregation": "rate"
+ }
+ ],
"dataSource": "metrics",
"disabled": false,
"expression": "A",
- "filters": {
- "items": [
- {
- "id": "53d189ac",
- "key": {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- },
- "op": "in",
- "value": [
- "{{.host.name}}"
- ]
- }
- ],
- "op": "AND"
+ "filter": {
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -883,12 +737,13 @@
"type": "tag"
}
],
- "having": [],
+ "having": {
+ "expression": ""
+ },
"legend": "Rss::{{host.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
- "reduceTo": "sum",
"stepInterval": 60
}
],
@@ -921,4 +776,4 @@
"yAxisUnit": "short"
}
]
-}
+}
\ No newline at end of file