mirror of
https://github.com/hanzoai/o11y.git
synced 2026-10-15 12:58:33 +00:00
6176 lines
238 KiB
JSON
6176 lines
238 KiB
JSON
{
|
|
"description": "This dashboard provides a high-level overview of your Clickhouse Server hosts.",
|
|
"id": "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 o11y_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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": []
|
|
},
|
|
"datastore_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"
|
|
}
|
|
]
|
|
} |