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(integrations): make dot-metrics dashboards canonical, remove IsDotMetricsEnabled flag (#11406)

swapnil-signoz27dc996fd860
diff --git a/pkg/query-service/app/integrations/builtin.go b/pkg/query-service/app/integrations/builtin.go
index db865eeb58..a455d4e29c 100644
--- a/pkg/query-service/app/integrations/builtin.go
+++ b/pkg/query-service/app/integrations/builtin.go
@@ -7,8 +7,6 @@ import (
"strings"
"unicode"
- "github.com/SigNoz/signoz/pkg/query-service/constants"
-
"encoding/base64"
"encoding/json"
"fmt"
@@ -178,27 +176,6 @@ func HydrateFileUris(spec interface{}, fs embed.FS, basedir string) (interface{}
if specMap, ok := spec.(map[string]interface{}); ok {
result := map[string]interface{}{}
for k, v := range specMap {
- // Check if this is a dashboards slice and if dot metrics are enabled
- if k == "dashboards" && constants.IsDotMetricsEnabled {
- if dashboards, ok := v.([]interface{}); ok {
- for i, dashboard := range dashboards {
- if dashboardUri, ok := dashboard.(string); ok {
- if strings.HasPrefix(dashboardUri, "file://") {
- dashboards[i] = strings.Replace(dashboardUri, ".json", "_dot.json", 1)
- }
- } else if dashBoardMap, ok := dashboard.(map[string]interface{}); ok {
- if dashboardUri, ok := dashBoardMap["definition"].(string); ok {
- if strings.HasPrefix(dashboardUri, "file://") {
- dashboardUri = strings.Replace(dashboardUri, ".json", "_dot.json", 1)
- }
- dashBoardMap["definition"] = dashboardUri
- }
- dashboards[i] = dashBoardMap
- }
- }
- v = dashboards
- }
- }
hydrated, err := HydrateFileUris(v, fs, basedir)
if err != nil {
return nil, err
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
deleted file mode 100644
index 2fd5447150..0000000000
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_elasticache/assets/dashboards/overview_dot.json
+++ /dev/null
@@ -1,1844 +0,0 @@
-{
- "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
- }
- ],
- "panelMap": {},
- "tags": [
- "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"
- }
- },
- "version": "v5",
- "widgets": [
- {
- "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": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "f31a92eb-aefb-4468-b163-95c2d29e3eaa",
- "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": "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": [
- {
- "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": [
- {
- "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": "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": [
- {
- "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": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "b659e4ed-5b6b-4ec8-911c-b906580b1ab5",
- "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": "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": [
- {
- "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": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "f2bc46b8-8d90-4d31-8e38-df61f7b58f55",
- "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": "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": [
- {
- "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": [
- {
- "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 Fragmentation Ratio",
- "yAxisUnit": "none"
- },
- {
- "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": [
- {
- "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": "Swap Usage",
- "yAxisUnit": "none"
- },
- {
- "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": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "cb158f83-72aa-4c36-bd26-9efc03d6ad15",
- "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": "Freeable Memory",
- "yAxisUnit": "decbytes"
- },
- {
- "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": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "a0114277-cb86-40b2-b002-71b021f81e39",
- "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 Bytes In",
- "yAxisUnit": "decbytes"
- },
- {
- "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": [
- {
- "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 Bytes Out",
- "yAxisUnit": "decbytes"
- },
- {
- "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": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "1ee12dc9-a2f0-4c19-90ec-269cbece6fee",
- "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": "Current Connections",
- "yAxisUnit": "none"
- },
- {
- "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": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "95afdad6-29c3-4248-859f-bf142ad68f6a",
- "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": "Replication Lag",
- "yAxisUnit": "s"
- },
- {
- "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": [
- {
- "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": "Evictions",
- "yAxisUnit": "none"
- },
- {
- "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": [
- {
- "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"
- }
- ]
-}
\ 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 ddb64ae838..90629673c1 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
@@ -367,9 +367,9 @@
"id": "31d3f13b-27d5-4291-9fb3-d5d5708a72f3",
"modificationUUID": "e4a9edf1-acd0-48b7-8a35-1b4bb668408d",
"multiSelect": false,
- "name": "mysql_instance_endpoint",
+ "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",
+ "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",
@@ -393,7 +393,7 @@
{
"aggregations": [
{
- "metricName": "mysql_buffer_pool_usage",
+ "metricName": "mysql.buffer_pool.pages",
"reduceTo": "avg",
"spaceAggregation": "avg",
"temporality": null,
@@ -404,7 +404,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -529,7 +529,7 @@
{
"aggregations": [
{
- "metricName": "mysql_buffer_pool_pages",
+ "metricName": "mysql.buffer_pool.pages",
"reduceTo": "avg",
"spaceAggregation": "sum",
"temporality": null,
@@ -540,7 +540,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -658,7 +658,7 @@
{
"aggregations": [
{
- "metricName": "mysql_buffer_pool_data_pages",
+ "metricName": "mysql.buffer_pool.data_pages",
"reduceTo": "avg",
"spaceAggregation": "sum",
"temporality": null,
@@ -669,7 +669,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -788,7 +788,7 @@
{
"aggregations": [
{
- "metricName": "mysql_buffer_pool_page_flushes",
+ "metricName": "mysql.buffer_pool.page_flushes",
"reduceTo": "avg",
"spaceAggregation": "sum",
"temporality": null,
@@ -799,7 +799,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [],
@@ -915,7 +915,7 @@
{
"aggregations": [
{
- "metricName": "mysql_table_io_wait_count",
+ "metricName": "mysql.table.io.wait.count",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -926,7 +926,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -1045,7 +1045,7 @@
{
"aggregations": [
{
- "metricName": "mysql_table_io_wait_count",
+ "metricName": "mysql.table.io.wait.count",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -1056,7 +1056,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -1175,7 +1175,7 @@
{
"aggregations": [
{
- "metricName": "mysql_table_io_wait_count",
+ "metricName": "mysql.table.io.wait.count",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -1186,7 +1186,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -1305,7 +1305,7 @@
{
"aggregations": [
{
- "metricName": "mysql_handlers",
+ "metricName": "mysql.handlers",
"reduceTo": "avg",
"spaceAggregation": "sum",
"temporality": null,
@@ -1316,7 +1316,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -1329,7 +1329,7 @@
}
],
"having": {
- "expression": "sum(mysql_handlers) \u003e 0"
+ "expression": "sum(mysql.handlers) \u003e 0"
},
"legend": "{{kind}}",
"limit": null,
@@ -1434,7 +1434,7 @@
{
"aggregations": [
{
- "metricName": "mysql_locks",
+ "metricName": "mysql.locks",
"reduceTo": "avg",
"spaceAggregation": "sum",
"temporality": null,
@@ -1445,7 +1445,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -1563,7 +1563,7 @@
{
"aggregations": [
{
- "metricName": "mysql_log_operations",
+ "metricName": "mysql.log_operations",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -1574,7 +1574,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -1693,7 +1693,7 @@
{
"aggregations": [
{
- "metricName": "mysql_connection_count",
+ "metricName": "mysql.connection.count",
"reduceTo": "avg",
"spaceAggregation": "sum",
"temporality": null,
@@ -1704,7 +1704,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [],
@@ -1720,7 +1720,7 @@
{
"aggregations": [
{
- "metricName": "mysql_connection_errors",
+ "metricName": "mysql.connection.errors",
"reduceTo": "avg",
"spaceAggregation": "sum",
"temporality": null,
@@ -1731,7 +1731,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -1745,7 +1745,7 @@
}
],
"having": {
- "expression": "sum(mysql_connection_errors) \u003e 0"
+ "expression": "sum(mysql.connection.errors) \u003e 0"
},
"legend": "Error count: {{error}}",
"limit": null,
@@ -1850,7 +1850,7 @@
{
"aggregations": [
{
- "metricName": "mysql_opened_resources",
+ "metricName": "mysql.opened_resources",
"reduceTo": "avg",
"spaceAggregation": "sum",
"temporality": null,
@@ -1861,7 +1861,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -1874,7 +1874,7 @@
}
],
"having": {
- "expression": "sum(mysql_opened_resources) \u003e 0"
+ "expression": "sum(mysql.opened_resources) \u003e 0"
},
"legend": "{{kind}}",
"limit": null,
@@ -1979,7 +1979,7 @@
{
"aggregations": [
{
- "metricName": "mysql_operations",
+ "metricName": "mysql.operations",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -1990,7 +1990,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -2109,7 +2109,7 @@
{
"aggregations": [
{
- "metricName": "mysql_row_locks",
+ "metricName": "mysql.row_locks",
"reduceTo": "avg",
"spaceAggregation": "sum",
"temporality": null,
@@ -2120,7 +2120,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -2238,7 +2238,7 @@
{
"aggregations": [
{
- "metricName": "mysql_threads",
+ "metricName": "mysql.threads",
"reduceTo": "avg",
"spaceAggregation": "sum",
"temporality": null,
@@ -2249,7 +2249,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -2367,7 +2367,7 @@
{
"aggregations": [
{
- "metricName": "mysql_row_operations",
+ "metricName": "mysql.row_operations",
"reduceTo": "avg",
"spaceAggregation": "sum",
"temporality": null,
@@ -2378,7 +2378,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
@@ -2497,7 +2497,7 @@
{
"aggregations": [
{
- "metricName": "mysql_prepared_statements",
+ "metricName": "mysql.prepared_statements",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -2508,7 +2508,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "mysql_instance_endpoint = $mysql_instance_endpoint"
+ "expression": "mysql.instance.endpoint = $mysql.instance.endpoint"
},
"functions": [],
"groupBy": [
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
deleted file mode 100644
index 90629673c1..0000000000
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/db_metrics_dot.json
+++ /dev/null
@@ -1,2623 +0,0 @@
-{
- "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",
- "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"
- ],
- "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"
- }
- },
- "version": "v5",
- "widgets": [
- {
- "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": [
- {
- "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": [
- {
- "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": [
- {
- "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": [
- {
- "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": [
- {
- "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": "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": [
- {
- "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": [
- {
- "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": [
- {
- "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": [
- {
- "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": [
- {
- "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": "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_dot.json b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/overview_dot.json
deleted file mode 100644
index 7dc0c82237..0000000000
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_mysql/assets/dashboards/overview_dot.json
+++ /dev/null
@@ -1,2296 +0,0 @@
-{
- "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
- }
- ],
- "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": "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": ""
- }
- ],
- "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": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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"
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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"
- }
- ]
-}
\ 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 bf0514be1b..6a8395c52e 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
@@ -287,7 +287,7 @@
"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",
+ "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",
@@ -309,7 +309,7 @@
"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",
+ "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"
],
@@ -335,7 +335,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_operations",
+ "metricName": "postgresql.operations",
"reduceTo": "sum",
"spaceAggregation": "avg",
"temporality": null,
@@ -346,22 +346,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(operation = 'ins' AND postgresql_database_name IN $db_name)"
+ "expression": "(operation = 'ins' AND postgresql.database.name IN $db_name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "{{postgresql_database_name}}",
+ "legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -410,7 +410,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_operations",
+ "metricName": "postgresql.operations",
"reduceTo": "sum",
"spaceAggregation": "avg",
"temporality": null,
@@ -421,22 +421,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(operation = 'upd' AND postgresql_database_name IN $db_name)"
+ "expression": "(operation = 'upd' AND postgresql.database.name IN $db_name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "{{postgresql_database_name}}",
+ "legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -485,7 +485,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_operations",
+ "metricName": "postgresql.operations",
"reduceTo": "sum",
"spaceAggregation": "avg",
"temporality": null,
@@ -496,22 +496,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(operation = 'del' AND postgresql_database_name IN $db_name)"
+ "expression": "(operation = 'del' AND postgresql.database.name IN $db_name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "{{postgresql_database_name}}",
+ "legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -560,7 +560,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_operations",
+ "metricName": "postgresql.operations",
"reduceTo": "sum",
"spaceAggregation": "avg",
"temporality": null,
@@ -571,22 +571,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(operation = 'hot_upd' AND postgresql_database_name IN $db_name)"
+ "expression": "(operation = 'hot_upd' AND postgresql.database.name IN $db_name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "{{postgresql_database_name}}",
+ "legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -635,7 +635,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_operations",
+ "metricName": "postgresql.operations",
"reduceTo": "avg",
"spaceAggregation": "avg",
"temporality": null,
@@ -646,15 +646,15 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(operation = 'ins' AND postgresql_database_name IN $db_name)"
+ "expression": "(operation = 'ins' AND postgresql.database.name IN $db_name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
@@ -670,7 +670,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_operations",
+ "metricName": "postgresql.operations",
"reduceTo": "avg",
"spaceAggregation": "avg",
"temporality": null,
@@ -681,15 +681,15 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "(operation = 'upd' AND postgresql_database_name IN $db_name)"
+ "expression": "(operation = 'upd' AND postgresql.database.name IN $db_name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
@@ -705,7 +705,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_operations",
+ "metricName": "postgresql.operations",
"reduceTo": "avg",
"spaceAggregation": "avg",
"temporality": null,
@@ -716,15 +716,15 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "(operation = 'del' AND postgresql_database_name IN $db_name)"
+ "expression": "(operation = 'del' AND postgresql.database.name IN $db_name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
@@ -780,7 +780,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_database_locks",
+ "metricName": "postgresql.database.locks",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -852,7 +852,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_deadlocks",
+ "metricName": "postgresql.deadlocks",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -863,22 +863,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "postgresql_database_name IN $db_name"
+ "expression": "postgresql.database.name IN $db_name"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "{{postgresql_database_name}}",
+ "legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -927,7 +927,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_backends",
+ "metricName": "postgresql.backends",
"reduceTo": "sum",
"spaceAggregation": "avg",
"temporality": null,
@@ -938,22 +938,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "postgresql_database_name IN $db_name"
+ "expression": "postgresql.database.name IN $db_name"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "{{postgresql_database_name}}",
+ "legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -1002,7 +1002,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_rows",
+ "metricName": "postgresql.rows",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -1013,7 +1013,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(state = 'dead' AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ "expression": "(state = 'dead' AND postgresql.database.name IN $db_name AND postgresql.table.name IN $table_name)"
},
"groupBy": [],
"having": {
@@ -1068,7 +1068,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_index_scans",
+ "metricName": "postgresql.index.scans",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -1079,22 +1079,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ "expression": "(postgresql.database.name IN $db_name AND postgresql.table.name IN $table_name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_index_name--string--tag--false",
+ "id": "postgresql.index.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_index_name",
+ "key": "postgresql.index.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "{{postgresql_index_name}}",
+ "legend": "{{postgresql.index.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -1143,7 +1143,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_rows",
+ "metricName": "postgresql.rows",
"reduceTo": "avg",
"spaceAggregation": "avg",
"temporality": null,
@@ -1154,16 +1154,16 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(state = 'dead' AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ "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",
+ "id": "postgresql.table.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_table_name",
+ "key": "postgresql.table.name",
"type": "tag"
}
],
@@ -1179,7 +1179,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_rows",
+ "metricName": "postgresql.rows",
"reduceTo": "avg",
"spaceAggregation": "avg",
"temporality": null,
@@ -1190,16 +1190,16 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "(state = 'live' AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ "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",
+ "id": "postgresql.table.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_table_name",
+ "key": "postgresql.table.name",
"type": "tag"
}
],
@@ -1215,7 +1215,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_index_scans",
+ "metricName": "postgresql.index.scans",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -1226,16 +1226,16 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "(postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ "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",
+ "id": "postgresql.table.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_table_name",
+ "key": "postgresql.table.name",
"type": "tag"
}
],
@@ -1251,7 +1251,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_table_size",
+ "metricName": "postgresql.table.size",
"reduceTo": "avg",
"spaceAggregation": "avg",
"temporality": null,
@@ -1262,16 +1262,16 @@
"disabled": true,
"expression": "D",
"filter": {
- "expression": "(postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ "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",
+ "id": "postgresql.table.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_table_name",
+ "key": "postgresql.table.name",
"type": "tag"
}
],
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
deleted file mode 100644
index 6a8395c52e..0000000000
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/db_metrics_overview_dot.json
+++ /dev/null
@@ -1,1350 +0,0 @@
-{
- "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": 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"
- ],
- "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"
- }
- },
- "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": [
- {
- "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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "bf48ac4c-bc0c-41a0-87f4-6f8ae7888d1f",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "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": [
- {
- "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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "34a6ac3a-b7f6-4b5f-a084-a44378033d82",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "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": [
- {
- "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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "734393d1-76ed-4f4f-bef8-0a91d27ebec4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "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": [
- {
- "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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "f43c2d19-4abc-4f5e-881b-db7add4a870a",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "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": [
- {
- "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": []
- },
- "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": [
- {
- "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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "877b0df3-9ae3-455e-ad27-bc3aa40b3f4c",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "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": [
- {
- "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": []
- },
- "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": [
- {
- "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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "205b99a0-2f1c-4bd2-9ba0-cc2da6ef247a",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "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": [
- {
- "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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "cc7452c8-118b-4676-959e-7062bafc41ee",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "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": [
- {
- "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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "2c6b630b-8bd9-4001-815b-f2b1f439a9dd",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "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"
- }
- ]
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "05e9c65b-a296-47c0-a802-2fca3320b07a",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "selectedLogFields": [],
- "selectedTracesFields": [],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Table stats",
- "yAxisUnit": "none"
- },
- {
- "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_dot.json b/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/overview_dot.json
deleted file mode 100644
index e2db6cb530..0000000000
--- a/pkg/query-service/app/integrations/builtin_integrations/aws_rds_postgres/assets/dashboards/overview_dot.json
+++ /dev/null
@@ -1,2458 +0,0 @@
-{
- "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
- }
- ],
- "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"
- }
- },
- "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": ""
- }
- ],
- "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": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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"
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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"
- },
- "selectedLogFields": [
- {
- "dataType": "string",
- "name": "body",
- "type": ""
- },
- {
- "dataType": "string",
- "name": "timestamp",
- "type": ""
- }
- ],
- "selectedTracesFields": [
- {
- "dataType": "string",
- "id": "serviceName--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "serviceName",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "name--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "name",
- "type": "tag"
- },
- {
- "dataType": "float64",
- "id": "durationNano--float64--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "durationNano",
- "type": "tag"
- },
- {
- "dataType": "string",
- "id": "httpMethod--string--tag--true",
- "isColumn": true,
- "isJSON": false,
- "key": "httpMethod",
- "type": "tag"
- },
- {
- "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": ""
- }
- ],
- "id": "60b5a712-ac27-4b2e-a8d7-a180b389c780",
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": "ReplicaLag",
- "yAxisUnit": "none"
- }
- ]
-}
\ 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 f5559e435c..8bd561c77a 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
@@ -124,9 +124,9 @@
"key": "eaf65de3-20bb-4dbc-9792-32a445f7be8f",
"modificationUUID": "2fbb477e-7775-427b-ab14-29b673dd216c",
"multiSelect": false,
- "name": "host_name",
+ "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",
+ "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",
@@ -161,16 +161,16 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -197,16 +197,16 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -233,16 +233,16 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -269,16 +269,16 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -399,7 +399,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -426,7 +426,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -453,7 +453,7 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -480,7 +480,7 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -601,7 +601,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -722,16 +722,16 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -758,16 +758,16 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -794,16 +794,16 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -830,16 +830,16 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -960,7 +960,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -987,7 +987,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -1014,7 +1014,7 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -1041,7 +1041,7 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -1162,7 +1162,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -1189,7 +1189,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -1216,7 +1216,7 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -1243,7 +1243,7 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -1364,7 +1364,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -1391,7 +1391,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -1512,16 +1512,16 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -1548,16 +1548,16 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -1584,16 +1584,16 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -1620,16 +1620,16 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -1750,7 +1750,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -1777,7 +1777,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -1804,7 +1804,7 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -1831,7 +1831,7 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -1952,7 +1952,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -2073,16 +2073,16 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -2109,16 +2109,16 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -2145,16 +2145,16 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -2181,16 +2181,16 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -2311,7 +2311,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -2338,7 +2338,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -2365,7 +2365,7 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -2392,7 +2392,7 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -2513,7 +2513,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -2540,7 +2540,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -2567,7 +2567,7 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -2594,7 +2594,7 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -2715,7 +2715,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -2836,16 +2836,16 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -2872,16 +2872,16 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -2908,16 +2908,16 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -2944,16 +2944,16 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -3074,7 +3074,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -3101,7 +3101,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -3128,7 +3128,7 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -3155,7 +3155,7 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -3276,7 +3276,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -3397,16 +3397,16 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -3433,16 +3433,16 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -3469,16 +3469,16 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -3505,16 +3505,16 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -3635,7 +3635,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -3662,7 +3662,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -3689,7 +3689,7 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -3716,7 +3716,7 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -3837,7 +3837,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -3864,7 +3864,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -3891,7 +3891,7 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -3918,7 +3918,7 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -4039,7 +4039,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -4066,7 +4066,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -4187,16 +4187,16 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -4223,16 +4223,16 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -4259,16 +4259,16 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -4295,16 +4295,16 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -4425,7 +4425,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -4452,7 +4452,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -4479,7 +4479,7 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -4506,7 +4506,7 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -4627,7 +4627,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -4748,16 +4748,16 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -4784,16 +4784,16 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -4820,16 +4820,16 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -4856,16 +4856,16 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
@@ -4986,7 +4986,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5013,7 +5013,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5040,7 +5040,7 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5067,7 +5067,7 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5188,7 +5188,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5215,7 +5215,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5242,7 +5242,7 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5269,7 +5269,7 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5390,7 +5390,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5511,7 +5511,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5538,7 +5538,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5659,7 +5659,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5686,7 +5686,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5807,7 +5807,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5834,7 +5834,7 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -5955,7 +5955,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
@@ -6076,7 +6076,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name = $host_name"
+ "expression": "host.name = $host.name"
},
"functions": [],
"groupBy": [],
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
deleted file mode 100644
index 8bd561c77a..0000000000
--- a/pkg/query-service/app/integrations/builtin_integrations/clickhouse/assets/dashboards/overview_dot.json
+++ /dev/null
@@ -1,6176 +0,0 @@
-{
- "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"
- }
- },
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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": [
- {
- "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": ""
- }
- ],
- "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"
- }
- ],
- "softMax": 0,
- "softMin": 0,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Background Merges Launched",
- "yAxisUnit": "cps"
- }
- ]
-}
\ 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 f499a7083f..242aba0aed 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
@@ -80,9 +80,9 @@
"id": "a2c21714-a814-4d31-9b56-7367c3208801",
"modificationUUID": "448e675a-4531-45b1-b434-a9ee809470d6",
"multiSelect": true,
- "name": "host_name",
+ "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 = 'mongodb_memory_usage'\nGROUP BY host_name",
+ "queryValue": "SELECT JSONExtractString(labels, 'host.name') AS `host.name`\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'mongodb_memory_usage'\nGROUP BY `host.name`",
"selectedValue": [
"Srikanths-MacBook-Pro.local"
],
@@ -108,7 +108,7 @@
{
"aggregations": [
{
- "metricName": "mongodb_operation_count",
+ "metricName": "mongodb.operation.count",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -119,7 +119,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -183,7 +183,7 @@
{
"aggregations": [
{
- "metricName": "mongodb_operation_time",
+ "metricName": "mongodb.operation.time",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -194,7 +194,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -258,7 +258,7 @@
{
"aggregations": [
{
- "metricName": "mongodb_cache_operations",
+ "metricName": "mongodb.cache.operations",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -269,7 +269,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -333,7 +333,7 @@
{
"aggregations": [
{
- "metricName": "mongodb_operation_latency_time",
+ "metricName": "mongodb.operation.latency.time",
"reduceTo": "sum",
"spaceAggregation": "max",
"temporality": null,
@@ -344,7 +344,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(operation = 'read' AND host_name IN $host_name)"
+ "expression": "(operation = 'read' AND host.name IN $host.name)"
},
"groupBy": [],
"having": {
@@ -399,7 +399,7 @@
{
"aggregations": [
{
- "metricName": "mongodb_operation_latency_time",
+ "metricName": "mongodb.operation.latency.time",
"reduceTo": "sum",
"spaceAggregation": "max",
"temporality": null,
@@ -410,7 +410,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(host_name IN $host_name AND operation = 'write')"
+ "expression": "(host.name IN $host.name AND operation = 'write')"
},
"groupBy": [],
"having": {
@@ -465,7 +465,7 @@
{
"aggregations": [
{
- "metricName": "mongodb_operation_latency_time",
+ "metricName": "mongodb.operation.latency.time",
"reduceTo": "sum",
"spaceAggregation": "max",
"temporality": null,
@@ -476,7 +476,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(host_name IN $host_name AND operation = 'command')"
+ "expression": "(host.name IN $host.name AND operation = 'command')"
},
"groupBy": [],
"having": {
@@ -531,7 +531,7 @@
{
"aggregations": [
{
- "metricName": "mongodb_network_io_receive",
+ "metricName": "mongodb.network.io.receive",
"reduceTo": "sum",
"spaceAggregation": "avg",
"temporality": null,
@@ -542,22 +542,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "Bytes received :: {{host_name}}",
+ "legend": "Bytes received :: {{host.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -566,7 +566,7 @@
{
"aggregations": [
{
- "metricName": "mongodb_network_io_transmit",
+ "metricName": "mongodb.network.io.transmit",
"reduceTo": "sum",
"spaceAggregation": "avg",
"temporality": null,
@@ -577,22 +577,22 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "Bytes transmitted :: {{host_name}}",
+ "legend": "Bytes transmitted :: {{host.name}}",
"limit": null,
"orderBy": [],
"queryName": "B",
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
deleted file mode 100644
index 242aba0aed..0000000000
--- a/pkg/query-service/app/integrations/builtin_integrations/mongo/assets/dashboards/overview_dot.json
+++ /dev/null
@@ -1,631 +0,0 @@
-{
- "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,
- "i": "0c3d2b15-89be-4d62-a821-b26d93332ed3",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 3
- },
- {
- "h": 3,
- "i": "14504a3c-4a05-4d22-bab3-e22e94f51380",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 6
- },
- {
- "h": 3,
- "i": "dcfb3829-c3f2-44bb-907d-8dc8a6dc4aab",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 3
- },
- {
- "h": 3,
- "i": "bfc9e80b-02bf-4122-b3da-3dd943d35012",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 3,
- "i": "4c07a7d2-893a-46c2-bcdb-a19b6efeac3a",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "i": "a5a64eec-1034-4aa6-8cb1-05673c4426c6",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 6
- },
- {
- "h": 3,
- "i": "503af589-ef4d-4fe3-8934-c8f7eb480d9a",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 9
- }
- ],
- "name": "",
- "tags": [
- "mongo",
- "database"
- ],
- "title": "Mongo overview",
- "variables": {
- "a2c21714-a814-4d31-9b56-7367c3208801": {
- "allSelected": true,
- "customValue": "",
- "description": "List of hosts sending mongo metrics",
- "id": "a2c21714-a814-4d31-9b56-7367c3208801",
- "modificationUUID": "448e675a-4531-45b1-b434-a9ee809470d6",
- "multiSelect": true,
- "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 = 'mongodb_memory_usage'\nGROUP BY `host.name`",
- "selectedValue": [
- "Srikanths-MacBook-Pro.local"
- ],
- "showALLOption": true,
- "sort": "ASC",
- "textboxValue": "",
- "type": "QUERY"
- }
- },
- "version": "v5",
- "widgets": [
- {
- "description": "Total number of operations",
- "fillSpans": false,
- "id": "4c07a7d2-893a-46c2-bcdb-a19b6efeac3a",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "mongodb.operation.count",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "rate"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "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": "7da5d899-8b06-4139-9a89-47baf9551ff8",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Operations count",
- "yAxisUnit": "none"
- },
- {
- "description": "The total time spent performing operations.",
- "fillSpans": false,
- "id": "bfc9e80b-02bf-4122-b3da-3dd943d35012",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "mongodb.operation.time",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "rate"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "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": "2ca35957-894a-46ae-a2a6-95d7e400d8e1",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Total operations time",
- "yAxisUnit": "ms"
- },
- {
- "description": "The number of cache operations",
- "fillSpans": false,
- "id": "dcfb3829-c3f2-44bb-907d-8dc8a6dc4aab",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "mongodb.cache.operations",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "rate"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "type--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "type",
- "type": "tag"
- }
- ],
- "having": {
- "expression": ""
- },
- "legend": "{{type}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "bb439198-dcf5-4767-b0d0-ab5785159b8d",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Cache operations",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "14504a3c-4a05-4d22-bab3-e22e94f51380",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "mongodb.operation.latency.time",
- "reduceTo": "sum",
- "spaceAggregation": "max",
- "temporality": null,
- "timeAggregation": "max"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "(operation = 'read' AND host.name IN $host.name)"
- },
- "groupBy": [],
- "having": {
- "expression": ""
- },
- "legend": "Latency",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "4a9cafe8-778b-476c-b825-c04e165bf285",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Read latency",
- "yAxisUnit": "µs"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "a5a64eec-1034-4aa6-8cb1-05673c4426c6",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "mongodb.operation.latency.time",
- "reduceTo": "sum",
- "spaceAggregation": "max",
- "temporality": null,
- "timeAggregation": "max"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "(host.name IN $host.name AND operation = 'write')"
- },
- "groupBy": [],
- "having": {
- "expression": ""
- },
- "legend": "Latency",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "446827eb-a4f2-4ff3-966b-fb65288c983b",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Write latency",
- "yAxisUnit": "µs"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "503af589-ef4d-4fe3-8934-c8f7eb480d9a",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "mongodb.operation.latency.time",
- "reduceTo": "sum",
- "spaceAggregation": "max",
- "temporality": null,
- "timeAggregation": "max"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "(host.name IN $host.name AND operation = 'command')"
- },
- "groupBy": [],
- "having": {
- "expression": ""
- },
- "legend": "Latency",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "7b7b977d-0921-4552-8cfe-d82dfde63ef4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Command latency",
- "yAxisUnit": "µs"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "0c3d2b15-89be-4d62-a821-b26d93332ed3",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "mongodb.network.io.receive",
- "reduceTo": "sum",
- "spaceAggregation": "avg",
- "temporality": null,
- "timeAggregation": "avg"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": {
- "expression": ""
- },
- "legend": "Bytes received :: {{host.name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "stepInterval": 60
- },
- {
- "aggregations": [
- {
- "metricName": "mongodb.network.io.transmit",
- "reduceTo": "sum",
- "spaceAggregation": "avg",
- "temporality": null,
- "timeAggregation": "avg"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": {
- "expression": ""
- },
- "legend": "Bytes transmitted :: {{host.name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "41eea5bc-f9cf-45c2-92fb-ef226d6b540b",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Network IO",
- "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 b2d314cd5f..ed02af9709 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
@@ -117,9 +117,9 @@
"key": "4250ef7b-8f42-4a24-902a-a764d070b92d",
"modificationUUID": "4427b655-c8d2-40ce-84ed-7cb058bd3041",
"multiSelect": true,
- "name": "host_name",
+ "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 = 'postgresql_operations'\nGROUP BY host_name",
+ "queryValue": "SELECT JSONExtractString(labels, 'host.name') AS `host.name`\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'postgresql.operations'\nGROUP BY `host.name`",
"selectedValue": [
"Srikanths-MacBook-Pro.local"
],
@@ -135,9 +135,9 @@
"id": "8ecaee70-640f-46fd-83d9-a4fd18bc66e6",
"modificationUUID": "a51321cd-47a2-470a-8df4-372e5bb36f2c",
"multiSelect": true,
- "name": "table_name",
+ "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",
+ "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.activations",
"public.licenses",
@@ -160,9 +160,9 @@
"key": "c66d1581-e5e1-440d-8ff6-ebcf078ab6dd",
"modificationUUID": "564a3f43-98f8-4189-b5e4-dcb518d73852",
"multiSelect": true,
- "name": "db_name",
+ "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",
+ "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": [
"postgres"
],
@@ -188,7 +188,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_operations",
+ "metricName": "postgresql.operations",
"reduceTo": "sum",
"spaceAggregation": "avg",
"temporality": null,
@@ -199,22 +199,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(operation = 'ins' AND host_name IN $host_name AND postgresql_database_name IN $db_name)"
+ "expression": "(operation = 'ins' AND host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "{{postgresql_database_name}}",
+ "legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -263,7 +263,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_operations",
+ "metricName": "postgresql.operations",
"reduceTo": "sum",
"spaceAggregation": "avg",
"temporality": null,
@@ -274,22 +274,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(operation = 'upd' AND host_name IN $host_name AND postgresql_database_name IN $db_name)"
+ "expression": "(operation = 'upd' AND host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "{{postgresql_database_name}}",
+ "legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -338,7 +338,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_operations",
+ "metricName": "postgresql.operations",
"reduceTo": "sum",
"spaceAggregation": "avg",
"temporality": null,
@@ -349,22 +349,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(operation = 'del' AND host_name IN $host_name AND postgresql_database_name IN $db_name)"
+ "expression": "(operation = 'del' AND host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "{{postgresql_database_name}}",
+ "legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -413,7 +413,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_operations",
+ "metricName": "postgresql.operations",
"reduceTo": "sum",
"spaceAggregation": "avg",
"temporality": null,
@@ -424,22 +424,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(operation = 'hot_upd' AND host_name IN $host_name AND postgresql_database_name IN $db_name)"
+ "expression": "(operation = 'hot_upd' AND host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "{{postgresql_database_name}}",
+ "legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -488,7 +488,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_operations",
+ "metricName": "postgresql.operations",
"reduceTo": "avg",
"spaceAggregation": "avg",
"temporality": null,
@@ -499,15 +499,15 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(operation = 'ins' AND host_name IN $host_name AND postgresql_database_name IN $db_name)"
+ "expression": "(operation = 'ins' AND host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
@@ -523,7 +523,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_operations",
+ "metricName": "postgresql.operations",
"reduceTo": "avg",
"spaceAggregation": "avg",
"temporality": null,
@@ -534,15 +534,15 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "(operation = 'upd' AND host_name IN $host_name AND postgresql_database_name IN $db_name)"
+ "expression": "(operation = 'upd' AND host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
@@ -558,7 +558,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_operations",
+ "metricName": "postgresql.operations",
"reduceTo": "avg",
"spaceAggregation": "avg",
"temporality": null,
@@ -569,15 +569,15 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "(operation = 'del' AND host_name IN $host_name AND postgresql_database_name IN $db_name)"
+ "expression": "(operation = 'del' AND host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
@@ -633,7 +633,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_database_locks",
+ "metricName": "postgresql.database.locks",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -644,7 +644,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
@@ -708,7 +708,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_deadlocks",
+ "metricName": "postgresql.deadlocks",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -719,22 +719,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(host_name IN $host_name AND postgresql_database_name IN $db_name)"
+ "expression": "(host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "{{postgresql_database_name}}",
+ "legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -783,7 +783,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_backends",
+ "metricName": "postgresql.backends",
"reduceTo": "sum",
"spaceAggregation": "avg",
"temporality": null,
@@ -794,22 +794,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(host_name IN $host_name AND postgresql_database_name IN $db_name)"
+ "expression": "(host.name IN $host.name AND postgresql.database.name IN $db.name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_database_name--string--tag--false",
+ "id": "postgresql.database.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_database_name",
+ "key": "postgresql.database.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "{{postgresql_database_name}}",
+ "legend": "{{postgresql.database.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -858,7 +858,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_rows",
+ "metricName": "postgresql.rows",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -869,7 +869,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(state = 'dead' AND host_name IN $host_name AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ "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": {
@@ -924,7 +924,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_index_scans",
+ "metricName": "postgresql.index.scans",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -935,22 +935,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(host_name IN $host_name AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ "expression": "(host.name IN $host.name AND postgresql.database.name IN $db.name AND postgresql.table.name IN $table.name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_index_name--string--tag--false",
+ "id": "postgresql.index.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_index_name",
+ "key": "postgresql.index.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "{{postgresql_index_name}}",
+ "legend": "{{postgresql.index.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -999,7 +999,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_rows",
+ "metricName": "postgresql.rows",
"reduceTo": "avg",
"spaceAggregation": "avg",
"temporality": null,
@@ -1010,15 +1010,15 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "(state = 'dead' AND host_name IN $host_name AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ "expression": "(state = 'dead' AND host.name IN $host.name AND postgresql.database.name IN $db.name AND postgresql.table.name IN $table.name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
+ "id": "postgresql.table.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_table_name",
+ "key": "postgresql.table.name",
"type": "tag"
}
],
@@ -1034,7 +1034,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_rows",
+ "metricName": "postgresql.rows",
"reduceTo": "avg",
"spaceAggregation": "avg",
"temporality": null,
@@ -1045,15 +1045,15 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "(state = 'live' AND host_name IN $host_name AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ "expression": "(state = 'live' AND host.name IN $host.name AND postgresql.database.name IN $db.name AND postgresql.table.name IN $table.name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
+ "id": "postgresql.table.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_table_name",
+ "key": "postgresql.table.name",
"type": "tag"
}
],
@@ -1069,7 +1069,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_index_scans",
+ "metricName": "postgresql.index.scans",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -1080,15 +1080,15 @@
"disabled": false,
"expression": "C",
"filter": {
- "expression": "(host_name IN $host_name AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ "expression": "(host.name IN $host.name AND postgresql.database.name IN $db.name AND postgresql.table.name IN $table.name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
+ "id": "postgresql.table.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_table_name",
+ "key": "postgresql.table.name",
"type": "tag"
}
],
@@ -1104,7 +1104,7 @@
{
"aggregations": [
{
- "metricName": "postgresql_table_size",
+ "metricName": "postgresql.table.size",
"reduceTo": "avg",
"spaceAggregation": "avg",
"temporality": null,
@@ -1115,15 +1115,15 @@
"disabled": false,
"expression": "D",
"filter": {
- "expression": "(host_name IN $host_name AND postgresql_database_name IN $db_name AND postgresql_table_name IN $table_name)"
+ "expression": "(host.name IN $host.name AND postgresql.database.name IN $db.name AND postgresql.table.name IN $table.name)"
},
"groupBy": [
{
"dataType": "string",
- "id": "postgresql_table_name--string--tag--false",
+ "id": "postgresql.table.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "postgresql_table_name",
+ "key": "postgresql.table.name",
"type": "tag"
}
],
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
deleted file mode 100644
index ed02af9709..0000000000
--- a/pkg/query-service/app/integrations/builtin_integrations/postgres/assets/dashboards/overview_dot.json
+++ /dev/null
@@ -1,1169 +0,0 @@
-{
- "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,
- "i": "9552123d-6265-48a7-8624-3f4a3fc3c9c0",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 18
- },
- {
- "h": 3,
- "i": "d7838815-4f5b-4454-86fd-f658b201f3a9",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 15
- },
- {
- "h": 3,
- "i": "f9a6f683-7455-4643-acc8-467cc5ea52cf",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 15
- },
- {
- "h": 3,
- "i": "8638a199-20a0-4255-b0a2-3b1ba06c485b",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 3,
- "y": 12
- },
- {
- "h": 3,
- "i": "e9341e70-ccb3-47fc-af95-56ba8942c4f2",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 9
- },
- {
- "h": 3,
- "i": "6b700035-e3c2-4c48-99fa-ebfd6202eed3",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 9
- },
- {
- "h": 3,
- "i": "bada7864-1d23-4d49-a868-c6b8a93c738f",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 3,
- "y": 6
- },
- {
- "h": 3,
- "i": "191d09a6-40b0-4de8-a5b0-aa4254454b99",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "i": "fa941c00-ce19-49cc-baf2-c38598767dee",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 3,
- "i": "114fcf80-e1de-4716-b1aa-0e0738dba10e",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 3
- },
- {
- "h": 3,
- "i": "667428ef-9b9a-4e91-bd1e-938e0dc1ff32",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 3
- }
- ],
- "name": "",
- "tags": [
- "postgres",
- "database"
- ],
- "title": "Postgres overview",
- "variables": {
- "4250ef7b-8f42-4a24-902a-a764d070b92d": {
- "allSelected": true,
- "customValue": "",
- "description": "List of hosts sending Postgres metrics",
- "id": "4250ef7b-8f42-4a24-902a-a764d070b92d",
- "key": "4250ef7b-8f42-4a24-902a-a764d070b92d",
- "modificationUUID": "4427b655-c8d2-40ce-84ed-7cb058bd3041",
- "multiSelect": true,
- "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 = 'postgresql.operations'\nGROUP BY `host.name`",
- "selectedValue": [
- "Srikanths-MacBook-Pro.local"
- ],
- "showALLOption": true,
- "sort": "ASC",
- "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.activations",
- "public.licenses",
- "public.plans",
- "public.subscription_items",
- "public.subscriptions",
- "public.trials",
- "public.usage"
- ],
- "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": [
- "postgres"
- ],
- "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": [
- {
- "aggregations": [
- {
- "metricName": "postgresql.operations",
- "reduceTo": "sum",
- "spaceAggregation": "avg",
- "temporality": null,
- "timeAggregation": "avg"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "(operation = 'ins' AND host.name IN $host.name 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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "bf48ac4c-bc0c-41a0-87f4-6f8ae7888d1f",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "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": [
- {
- "aggregations": [
- {
- "metricName": "postgresql.operations",
- "reduceTo": "sum",
- "spaceAggregation": "avg",
- "temporality": null,
- "timeAggregation": "avg"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "(operation = 'upd' AND host.name IN $host.name 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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "34a6ac3a-b7f6-4b5f-a084-a44378033d82",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "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": [
- {
- "aggregations": [
- {
- "metricName": "postgresql.operations",
- "reduceTo": "sum",
- "spaceAggregation": "avg",
- "temporality": null,
- "timeAggregation": "avg"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "(operation = 'del' AND host.name IN $host.name 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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "734393d1-76ed-4f4f-bef8-0a91d27ebec4",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "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": [
- {
- "aggregations": [
- {
- "metricName": "postgresql.operations",
- "reduceTo": "sum",
- "spaceAggregation": "avg",
- "temporality": null,
- "timeAggregation": "avg"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "(operation = 'hot_upd' AND host.name IN $host.name 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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "f43c2d19-4abc-4f5e-881b-db7add4a870a",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "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": [
- {
- "aggregations": [
- {
- "metricName": "postgresql.operations",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "temporality": null,
- "timeAggregation": "avg"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "(operation = 'ins' AND host.name IN $host.name 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 host.name IN $host.name 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 host.name IN $host.name 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": []
- },
- "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": [
- {
- "aggregations": [
- {
- "metricName": "postgresql.database.locks",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "sum"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "877b0df3-9ae3-455e-ad27-bc3aa40b3f4c",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "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": [
- {
- "aggregations": [
- {
- "metricName": "postgresql.deadlocks",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "rate"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "(host.name IN $host.name 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": []
- },
- "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": [
- {
- "aggregations": [
- {
- "metricName": "postgresql.backends",
- "reduceTo": "sum",
- "spaceAggregation": "avg",
- "temporality": null,
- "timeAggregation": "avg"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "(host.name IN $host.name 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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "205b99a0-2f1c-4bd2-9ba0-cc2da6ef247a",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "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": [
- {
- "aggregations": [
- {
- "metricName": "postgresql.rows",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "sum"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "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": {
- "expression": ""
- },
- "legend": "Dead rows",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "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"
- },
- "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": [
- {
- "aggregations": [
- {
- "metricName": "postgresql.index.scans",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "rate"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "(host.name IN $host.name AND 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": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "2c6b630b-8bd9-4001-815b-f2b1f439a9dd",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "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 host.name IN $host.name AND postgresql.database.name IN $db.name AND postgresql.table.name IN $table.name)"
- },
- "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": 60
- },
- {
- "aggregations": [
- {
- "metricName": "postgresql.rows",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "temporality": null,
- "timeAggregation": "avg"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "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": [
- {
- "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": 60
- },
- {
- "aggregations": [
- {
- "metricName": "postgresql.index.scans",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "rate"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "C",
- "filter": {
- "expression": "(host.name IN $host.name AND postgresql.database.name IN $db.name AND postgresql.table.name IN $table.name)"
- },
- "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": 60
- },
- {
- "aggregations": [
- {
- "metricName": "postgresql.table.size",
- "reduceTo": "avg",
- "spaceAggregation": "avg",
- "temporality": null,
- "timeAggregation": "avg"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "D",
- "filter": {
- "expression": "(host.name IN $host.name AND postgresql.database.name IN $db.name AND postgresql.table.name IN $table.name)"
- },
- "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": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "26a9dcbf-4fc7-4ddd-b786-2078def1f462",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Table stats",
- "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 87ffc929a3..9bdb6ccf99 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
@@ -99,9 +99,9 @@
"key": "94f19b3c-ad9f-4b47-a9b2-f312c09fa965",
"modificationUUID": "4c5b0c03-9cbc-425b-8d8e-7152e5c39ba8",
"multiSelect": true,
- "name": "host_name",
+ "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 = 'redis_cpu_time'\nGROUP BY host_name",
+ "queryValue": "SELECT JSONExtractString(labels, 'host.name') AS `host.name`\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'redis.cpu.time'\nGROUP BY `host.name`",
"selectedValue": [
"Srikanths-MacBook-Pro.local"
],
@@ -127,7 +127,7 @@
{
"aggregations": [
{
- "metricName": "redis_keyspace_hits",
+ "metricName": "redis.keyspace.hits",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -138,7 +138,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [],
"having": {
@@ -193,7 +193,7 @@
{
"aggregations": [
{
- "metricName": "redis_clients_blocked",
+ "metricName": "redis.clients.blocked",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -204,7 +204,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [],
"having": {
@@ -259,7 +259,7 @@
{
"aggregations": [
{
- "metricName": "redis_db_keys",
+ "metricName": "redis.db.keys",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -322,7 +322,7 @@
{
"aggregations": [
{
- "metricName": "redis_rdb_changes_since_last_save",
+ "metricName": "redis.rdb.changes_since_last_save",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -333,7 +333,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [],
"having": {
@@ -388,7 +388,7 @@
{
"aggregations": [
{
- "metricName": "redis_commands",
+ "metricName": "redis.commands",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -399,7 +399,7 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [],
"having": {
@@ -454,7 +454,7 @@
{
"aggregations": [
{
- "metricName": "redis_memory_used",
+ "metricName": "redis.memory.used",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -465,22 +465,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "Used::{{host_name}}",
+ "legend": "Used::{{host.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -489,7 +489,7 @@
{
"aggregations": [
{
- "metricName": "redis_maxmemory",
+ "metricName": "redis.maxmemory",
"reduceTo": "sum",
"spaceAggregation": "max",
"temporality": null,
@@ -500,22 +500,22 @@
"disabled": false,
"expression": "B",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "Max::{{host_name}}",
+ "legend": "Max::{{host.name}}",
"limit": null,
"orderBy": [],
"queryName": "B",
@@ -564,7 +564,7 @@
{
"aggregations": [
{
- "metricName": "redis_memory_rss",
+ "metricName": "redis.memory.rss",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -575,22 +575,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "Rss::{{host_name}}",
+ "legend": "Rss::{{host.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -639,7 +639,7 @@
{
"aggregations": [
{
- "metricName": "redis_memory_fragmentation_ratio",
+ "metricName": "redis.memory.fragmentation_ratio",
"reduceTo": "sum",
"spaceAggregation": "avg",
"temporality": null,
@@ -650,22 +650,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "Rss::{{host_name}}",
+ "legend": "Rss::{{host.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
@@ -714,7 +714,7 @@
{
"aggregations": [
{
- "metricName": "redis_keys_evicted",
+ "metricName": "redis.keys.evicted",
"reduceTo": "sum",
"spaceAggregation": "sum",
"temporality": null,
@@ -725,22 +725,22 @@
"disabled": false,
"expression": "A",
"filter": {
- "expression": "host_name IN $host_name"
+ "expression": "host.name IN $host.name"
},
"groupBy": [
{
"dataType": "string",
- "id": "host_name--string--tag--false",
+ "id": "host.name--string--tag--false",
"isColumn": false,
"isJSON": false,
- "key": "host_name",
+ "key": "host.name",
"type": "tag"
}
],
"having": {
"expression": ""
},
- "legend": "Rss::{{host_name}}",
+ "legend": "Rss::{{host.name}}",
"limit": null,
"orderBy": [],
"queryName": "A",
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
deleted file mode 100644
index 9bdb6ccf99..0000000000
--- a/pkg/query-service/app/integrations/builtin_integrations/redis/assets/dashboards/overview_dot.json
+++ /dev/null
@@ -1,779 +0,0 @@
-{
- "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,
- "i": "d4c164bc-8fc2-4dbc-aadd-8d17479ca649",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 9
- },
- {
- "h": 3,
- "i": "2fbaef0d-3cdb-4ce3-aa3c-9bbbb41786d9",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 3,
- "y": 6
- },
- {
- "h": 3,
- "i": "f5ee1511-0d2b-4404-9ce0-e991837decc2",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 3
- },
- {
- "h": 3,
- "i": "b19c7058-b806-4ea2-974a-ca555b168991",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 3
- },
- {
- "h": 3,
- "i": "bf0deeeb-e926-4234-944c-82bacd96af47",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 0
- },
- {
- "h": 3,
- "i": "a77227c7-16f5-4353-952e-b183c715a61c",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 0
- },
- {
- "h": 3,
- "i": "9698cee2-b1f3-4c0b-8c9f-3da4f0e05f17",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 9
- },
- {
- "h": 3,
- "i": "64a5f303-d7db-44ff-9a0e-948e5c653320",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 0,
- "y": 12
- },
- {
- "h": 3,
- "i": "3e80a918-69af-4c9a-bc57-a94e1d41b05c",
- "moved": false,
- "static": false,
- "w": 6,
- "x": 6,
- "y": 12
- }
- ],
- "name": "",
- "tags": [
- "redis",
- "database"
- ],
- "title": "Redis overview",
- "variables": {
- "94f19b3c-ad9f-4b47-a9b2-f312c09fa965": {
- "allSelected": true,
- "customValue": "",
- "description": "List of hosts sending Redis metrics",
- "id": "94f19b3c-ad9f-4b47-a9b2-f312c09fa965",
- "key": "94f19b3c-ad9f-4b47-a9b2-f312c09fa965",
- "modificationUUID": "4c5b0c03-9cbc-425b-8d8e-7152e5c39ba8",
- "multiSelect": true,
- "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 = 'redis.cpu.time'\nGROUP BY `host.name`",
- "selectedValue": [
- "Srikanths-MacBook-Pro.local"
- ],
- "showALLOption": true,
- "sort": "ASC",
- "textboxValue": "",
- "type": "QUERY"
- }
- },
- "version": "v5",
- "widgets": [
- {
- "description": "Rate successful lookup of keys in the main dictionary",
- "fillSpans": false,
- "id": "a77227c7-16f5-4353-952e-b183c715a61c",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "redis.keyspace.hits",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "rate"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "groupBy": [],
- "having": {
- "expression": ""
- },
- "legend": "Hit/s across all hosts",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "42c9c117-bfaf-49f7-b528-aad099392295",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Hits/s",
- "yAxisUnit": "none"
- },
- {
- "description": "Number of clients pending on a blocking call",
- "fillSpans": false,
- "id": "bf0deeeb-e926-4234-944c-82bacd96af47",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "redis.clients.blocked",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "sum"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "groupBy": [],
- "having": {
- "expression": ""
- },
- "legend": "Blocked clients across all hosts",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "b77a9e11-fb98-4a95-88a8-c3ad25c14369",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Clients blocked",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "b19c7058-b806-4ea2-974a-ca555b168991",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "redis.db.keys",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "sum"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "groupBy": [],
- "having": {
- "expression": ""
- },
- "legend": "",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "b77a9e11-fb98-4a95-88a8-c3ad25c14369",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Keyspace Keys",
- "yAxisUnit": "none"
- },
- {
- "description": "Number of changes since the last dump",
- "fillSpans": false,
- "id": "f5ee1511-0d2b-4404-9ce0-e991837decc2",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "redis.rdb.changes_since_last_save",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "sum"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "groupBy": [],
- "having": {
- "expression": ""
- },
- "legend": "Number of unsaved changes",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "32cedddf-606d-4de1-8c1d-4b7049e6430c",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Unsaved changes",
- "yAxisUnit": "none"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "2fbaef0d-3cdb-4ce3-aa3c-9bbbb41786d9",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "redis.commands",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "sum"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "groupBy": [],
- "having": {
- "expression": ""
- },
- "legend": "ops/s",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "c70de4dd-a68a-42df-a249-6610c296709c",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Command/s",
- "yAxisUnit": "ops"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "d4c164bc-8fc2-4dbc-aadd-8d17479ca649",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "redis.memory.used",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "sum"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": {
- "expression": ""
- },
- "legend": "Used::{{host.name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "stepInterval": 60
- },
- {
- "aggregations": [
- {
- "metricName": "redis.maxmemory",
- "reduceTo": "sum",
- "spaceAggregation": "max",
- "temporality": null,
- "timeAggregation": "max"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "B",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": {
- "expression": ""
- },
- "legend": "Max::{{host.name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "B",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "2f47df76-f09e-4152-8623-971f0fe66bfe",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Memory usage",
- "yAxisUnit": "bytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "9698cee2-b1f3-4c0b-8c9f-3da4f0e05f17",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "redis.memory.rss",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "sum"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": {
- "expression": ""
- },
- "legend": "Rss::{{host.name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "fddd043c-1385-481c-9f4c-381f261e1dd9",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "RSS Memory",
- "yAxisUnit": "bytes"
- },
- {
- "description": "",
- "fillSpans": false,
- "id": "64a5f303-d7db-44ff-9a0e-948e5c653320",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "redis.memory.fragmentation_ratio",
- "reduceTo": "sum",
- "spaceAggregation": "avg",
- "temporality": null,
- "timeAggregation": "avg"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": {
- "expression": ""
- },
- "legend": "Rss::{{host.name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "3e802b07-0249-4d79-a5c7-6580ab535ad0",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Fragmentation ratio",
- "yAxisUnit": "short"
- },
- {
- "description": "Number of evicted keys due to maxmemory limit",
- "fillSpans": false,
- "id": "3e80a918-69af-4c9a-bc57-a94e1d41b05c",
- "isStacked": false,
- "nullZeroValues": "zero",
- "opacity": "1",
- "panelTypes": "graph",
- "query": {
- "builder": {
- "queryData": [
- {
- "aggregations": [
- {
- "metricName": "redis.keys.evicted",
- "reduceTo": "sum",
- "spaceAggregation": "sum",
- "temporality": null,
- "timeAggregation": "rate"
- }
- ],
- "dataSource": "metrics",
- "disabled": false,
- "expression": "A",
- "filter": {
- "expression": "host.name IN $host.name"
- },
- "groupBy": [
- {
- "dataType": "string",
- "id": "host.name--string--tag--false",
- "isColumn": false,
- "isJSON": false,
- "key": "host.name",
- "type": "tag"
- }
- ],
- "having": {
- "expression": ""
- },
- "legend": "Rss::{{host.name}}",
- "limit": null,
- "orderBy": [],
- "queryName": "A",
- "stepInterval": 60
- }
- ],
- "queryFormulas": []
- },
- "clickhouse_sql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "id": "15d1d9d7-eb10-464b-aa7b-33ff211996f7",
- "promql": [
- {
- "disabled": false,
- "legend": "",
- "name": "A",
- "query": ""
- }
- ],
- "queryType": "builder"
- },
- "softMax": null,
- "softMin": null,
- "thresholds": [],
- "timePreferance": "GLOBAL_TIME",
- "title": "Eviction rate",
- "yAxisUnit": "short"
- }
- ]
-}
\ No newline at end of file