Files
o11y/tests/e2e/testdata/apm-metrics.json

3639 lines
111 KiB
JSON

{
"description": "",
"image": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0Ljk0OTQgMTMuOTQyQzE2LjIzMTggMTIuNDI1OCAxNy4zMjY4IDkuNzAyMiAxNi4xOTU2IDYuNTc0ODdDMTUuNjQ0MyA1LjA1MjQ1IDE1LjAyMTkgNC4yMDI0OSAxNC4yOTY5IDMuNjYyNTJDMTMuODU1NyAzLjMzMzc5IDEyLjA5MzMgMi41MDYzMyA5Ljc1OTY1IDIuODY3NTZDOC4wNTM0OSAzLjEzMjU1IDUuNzc0ODcgNC4yMDg3NCA0LjI5MzY5IDUuOTU5OUMyLjg1NzUyIDcuNjYxMDYgMS43NDg4MyA5LjAwNDc0IDEuNjk3NTggMTAuMzA5N0MxLjYzMTMzIDExLjk4ODMgMi44OTYyNyAxMy40MzA4IDMuMDUwMDEgMTMuNjY0NUMzLjMyMzc0IDE0LjA3OTUgNS4xOTExNSAxNi40NTE4IDguNjk5NzEgMTYuNTczMUMxMS43OTcgMTYuNjc5MyAxMy44MTQ0IDE1LjI4NDQgMTQuOTQ5NCAxMy45NDJaIiBmaWxsPSIjNDAzRDNFIi8+CjxwYXRoIGQ9Ik00LjU1MzYzIDIuNzM3NDdDMi45Mzc0NiAzLjg5MTE2IDEuMTIxMzEgNi4yNTEwMyAxLjQ0NzU0IDkuNTYwODZDMS42MDYyOCAxMS4xNzIgMi4wMDI1MSAxMi4xNDk1IDIuNTcxMjMgMTIuODUwN0MyLjkxNzQ2IDEzLjI3ODIgNC40MTk4OCAxNC41NDkzIDYuNzczNTEgMTQuNzM2OEM5LjE0NTg4IDE0LjkyNTYgMTAuOTQ5NSAxNC4zOTQ0IDEyLjgzMzIgMTMuMDg0NEMxNi42NjE3IDEwLjQyMDggMTYuMDk4IDYuMzkzNTMgMTUuOTM0MyA1LjkyNDhDMTUuNzcwNSA1LjQ1NjA3IDE0LjU0NDQgMi42OTYyMiAxMS4xNzMzIDEuNzE1MDJDOC4xOTg0NCAwLjg1MDA2OCA1Ljk4MzU1IDEuNzE1MDIgNC41NTM2MyAyLjczNzQ3WiIgZmlsbD0iIzVFNjM2NyIvPgo8cGF0aCBkPSJNNy4zOTM1MyAyLjk2MTA5QzUuNjE3MzcgMi44OTczNCAzLjkxOTk2IDQuMjg4NTIgMy43NTYyMiA2LjAwNTkzQzMuNTkyNDggNy43MjIwOSA0LjY1NDkyIDkuMDI5NTIgNi4zMDk4MyA5LjI5NTc2QzcuOTY0NzUgOS41NjA3NCA5Ljg3ODM5IDguNTU1OCAxMC4yNjM0IDYuNDUwOTFDMTAuNjYwOSA0LjI4MjI3IDkuMDg5NjkgMy4wMjIzNCA3LjM5MzUzIDIuOTYxMDlaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNNy45NDIxNyA1LjkwMTE1QzcuOTQyMTcgNS45MDExNSA4LjM2OTY1IDUuODEyNCA4LjQ1NDY1IDUuMTgyNDRDOC41MzgzOSA0LjU2MjQ3IDguMjMwOTEgNC4wMzM3NSA3LjUxMzQ1IDMuODQzNzZDNi43MzM0OSAzLjYzNzUyIDYuMjA0NzcgNC4wNjYyNSA2LjA2NzI3IDQuNTE3NDdDNS44NzYwMyA1LjE0NDk0IDYuMTU4NTIgNS40NDM2NyA2LjE1ODUyIDUuNDQzNjdDNi4xNTg1MiA1LjQ0MzY3IDUuMzkzNTYgNS42Mjc0MSA1LjMzMjMxIDYuNTI5ODdDNS4yNzQ4MSA3LjM4MTA3IDUuODU2MDMgNy44Mzg1NSA2LjQzOTc1IDcuOTc4NTRDNy4xNjA5NiA4LjE1MjI4IDcuOTc4NDIgNy45NTQ3OSA4LjE3ODQxIDcuMDM0ODRDOC4zNDQ2NSA2LjI3NzM4IDcuOTQyMTcgNS45MDExNSA3Ljk0MjE3IDUuOTAxMTVaIiBmaWxsPSIjMzAzMDMwIi8+CjxwYXRoIGQ9Ik02LjczOTgzIDQuNzUzNjJDNi42NzEwOSA1LjAxMjM1IDYuODA4NTggNS4yNjIzNCA3LjA3ODU3IDUuMzMxMDlDNy4zNjk4IDUuNDA0ODMgNy42MzQ3OSA1LjMwODU5IDcuNzA2MDMgNS4wMTExQzcuNzY4NTMgNC43NDczNyA3LjY0MzU0IDQuNTE0ODggNy4zMzYwNSA0LjQzOTg4QzcuMDgzNTcgNC4zNzczOSA2LjgxNDgzIDQuNDcxMTMgNi43Mzk4MyA0Ljc1MzYyWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTYuOTU5NzggNi4wMzk3NEM2LjYzMjMgNS45Mzg0OSA2LjE5OTgyIDYuMDY0NzMgNi4xMzEwNyA2LjUwNDcxQzYuMDYyMzMgNi45NDQ2OSA2LjMyNjA2IDcuMTY5NjggNi42NzEwNCA3LjIzMjE3QzcuMDE2MDMgNy4yOTQ2NyA3LjM0MjI2IDcuMTEzNDMgNy40MDYwMSA2Ljc2MDk1QzcuNDY4NSA2LjQwOTcyIDcuMjg2MDEgNi4xMzk3MyA2Ljk1OTc4IDYuMDM5NzRaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K",
"layout": [
{
"h": 1,
"i": "5730893b-7b73-42fa-8ceb-cb3731438a44",
"maxH": 1,
"minH": 1,
"minW": 12,
"moved": false,
"static": false,
"w": 12,
"x": 0,
"y": 0
},
{
"h": 6,
"i": "02c09a9b-8b9f-45f8-a74c-46cd503ddf5c",
"moved": false,
"static": false,
"w": 6,
"x": 0,
"y": 1
},
{
"h": 6,
"i": "990685be-f055-47e9-90ef-d62198872795",
"moved": false,
"static": false,
"w": 6,
"x": 6,
"y": 1
},
{
"h": 6,
"i": "7bb8374a-de12-4c48-a9c6-7dc14a5eee4b",
"moved": false,
"static": false,
"w": 6,
"x": 0,
"y": 7
},
{
"h": 6,
"i": "f88a9056-ccaf-4275-b4fe-ddb004adb204",
"moved": false,
"static": false,
"w": 6,
"x": 6,
"y": 7
},
{
"h": 1,
"i": "e799d9bf-0dfa-4ee5-b786-9199b7ecd033",
"maxH": 1,
"minH": 1,
"minW": 12,
"moved": false,
"static": false,
"w": 12,
"x": 0,
"y": 13
},
{
"h": 6,
"i": "85fd56d5-01bc-4240-b959-c7a107d3d104",
"moved": false,
"static": false,
"w": 6,
"x": 0,
"y": 14
},
{
"h": 6,
"i": "e236ec5f-884c-4019-9976-c52cbd3c427d",
"moved": false,
"static": false,
"w": 6,
"x": 6,
"y": 14
},
{
"h": 1,
"i": "2ae2ded9-87fb-42f7-b6ce-56c5ad6abb66",
"maxH": 1,
"minH": 1,
"minW": 12,
"moved": false,
"static": false,
"w": 12,
"x": 0,
"y": 20
},
{
"h": 6,
"i": "9e0c2768-2ed6-420a-9ba7-7717d1af9a84",
"moved": false,
"static": false,
"w": 12,
"x": 0,
"y": 21
}
],
"panelMap": {
"2ae2ded9-87fb-42f7-b6ce-56c5ad6abb66": {
"collapsed": false,
"widgets": [
{
"h": 6,
"i": "9e0c2768-2ed6-420a-9ba7-7717d1af9a84",
"moved": false,
"static": false,
"w": 12,
"x": 0,
"y": 723
}
]
},
"5730893b-7b73-42fa-8ceb-cb3731438a44": {
"collapsed": false,
"widgets": [
{
"h": 6,
"i": "02c09a9b-8b9f-45f8-a74c-46cd503ddf5c",
"moved": false,
"static": false,
"w": 6,
"x": 0,
"y": 1
},
{
"h": 6,
"i": "990685be-f055-47e9-90ef-d62198872795",
"moved": false,
"static": false,
"w": 6,
"x": 6,
"y": 1
},
{
"h": 6,
"i": "7bb8374a-de12-4c48-a9c6-7dc14a5eee4b",
"moved": false,
"static": false,
"w": 6,
"x": 0,
"y": 7
},
{
"h": 6,
"i": "f88a9056-ccaf-4275-b4fe-ddb004adb204",
"moved": false,
"static": false,
"w": 6,
"x": 6,
"y": 7
}
]
},
"e799d9bf-0dfa-4ee5-b786-9199b7ecd033": {
"collapsed": false,
"widgets": [
{
"h": 6,
"i": "85fd56d5-01bc-4240-b959-c7a107d3d104",
"moved": false,
"static": false,
"w": 6,
"x": 0,
"y": 50
},
{
"h": 6,
"i": "e236ec5f-884c-4019-9976-c52cbd3c427d",
"moved": false,
"static": false,
"w": 6,
"x": 6,
"y": 50
}
]
}
},
"tags": [
"apm",
"latency",
"error rate",
"throughput"
],
"title": "APM Metrics",
"uploadedGrafana": false,
"uuid": "01987906-7e9a-7151-8c22-c9f26a3564d6",
"variables": {
"5ca550af-d285-4abb-9846-5b18e80d11a6": {
"allSelected": false,
"customValue": "",
"description": "The deployment environment of the service",
"id": "5ca550af-d285-4abb-9846-5b18e80d11a6",
"modificationUUID": "f5521fed-1d5b-4e82-8303-146574004b34",
"multiSelect": false,
"name": "deployment.environment",
"order": 0,
"queryValue": "SELECT JSONExtractString(labels, 'deployment.environment') AS `deployment.environment`\nFROM o11y_metrics.time_series_v4_1day\nWHERE (metric_name = 'o11y_calls_total') AND (unix_milli >= (toUnixTimestamp(now() - toIntervalDay(1)) * 1000))\nGROUP BY `deployment.environment`",
"showALLOption": false,
"sort": "DISABLED",
"textboxValue": "",
"type": "QUERY"
},
"8acb5fe1-1b57-4787-8014-4741b2184214": {
"allSelected": true,
"customValue": "",
"description": "The primary operations for the service are defined here. In a web API service, these are the API endpoints. For services that function as consumers, producers, or clients, these are the names of the entry-point spans.",
"id": "8acb5fe1-1b57-4787-8014-4741b2184214",
"key": "8acb5fe1-1b57-4787-8014-4741b2184214",
"modificationUUID": "3b961a0a-46b4-4669-9021-0f6ee612669b",
"multiSelect": true,
"name": "top_level_operation",
"order": 2,
"queryValue": "SELECT name FROM o11y_traces.top_level_operations WHERE serviceName = $service.name GROUP BY name",
"showALLOption": true,
"sort": "ASC",
"textboxValue": "",
"type": "QUERY"
},
"d23168aa-b80c-4beb-83ce-96d4e7ba0719": {
"allSelected": false,
"customValue": "",
"description": "The service.name value for the application",
"id": "d23168aa-b80c-4beb-83ce-96d4e7ba0719",
"key": "d23168aa-b80c-4beb-83ce-96d4e7ba0719",
"modificationUUID": "2f08bee5-68b3-4739-9649-930da67a27d4",
"multiSelect": false,
"name": "service.name",
"order": 1,
"queryValue": "\nSELECT JSONExtractString(labels, 'service.name') AS `service.name`\nFROM o11y_metrics.time_series_v4_1day\nWHERE (metric_name = 'o11y_calls_total') AND JSONExtractString(labels, 'deployment.environment') = $deployment.environment AND (unix_milli >= (toUnixTimestamp(now() - toIntervalDay(1)) * 1000))\nGROUP BY `service.name`",
"showALLOption": false,
"sort": "DISABLED",
"textboxValue": "",
"type": "QUERY"
}
},
"version": "v4",
"widgets": [
{
"description": "",
"id": "5730893b-7b73-42fa-8ceb-cb3731438a44",
"panelTypes": "row",
"title": "Overview"
},
{
"bucketCount": 30,
"bucketWidth": 0,
"columnUnits": {},
"description": "",
"fillSpans": false,
"id": "02c09a9b-8b9f-45f8-a74c-46cd503ddf5c",
"isStacked": false,
"mergeAllActiveQueries": false,
"nullZeroValues": "zero",
"opacity": "1",
"panelTypes": "graph",
"query": {
"builder": {
"queryData": [
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_latency.bucket--float64--Histogram--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_latency.bucket",
"type": "Histogram"
},
"aggregateOperator": "count",
"dataSource": "metrics",
"disabled": false,
"expression": "A",
"filters": {
"items": [
{
"id": "ecc58b5e",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "fd1c4e7e",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "795ffcb5",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "p99",
"limit": null,
"orderBy": [],
"queryName": "A",
"reduceTo": "avg",
"spaceAggregation": "p99",
"stepInterval": 60,
"timeAggregation": ""
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_latency.bucket--float64--Histogram--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_latency.bucket",
"type": "Histogram"
},
"aggregateOperator": "count",
"dataSource": "metrics",
"disabled": false,
"expression": "B",
"filters": {
"items": [
{
"id": "d9aaae74",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "861cba04",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "f7a5c7a9",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "p90",
"limit": null,
"orderBy": [],
"queryName": "B",
"reduceTo": "avg",
"spaceAggregation": "p90",
"stepInterval": 60,
"timeAggregation": ""
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_latency.bucket--float64--Histogram--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_latency.bucket",
"type": "Histogram"
},
"aggregateOperator": "count",
"dataSource": "metrics",
"disabled": false,
"expression": "C",
"filters": {
"items": [
{
"id": "e183c8e5",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "b3eba285",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "d14abd39",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "p50",
"limit": null,
"orderBy": [],
"queryName": "C",
"reduceTo": "avg",
"spaceAggregation": "p50",
"stepInterval": 60,
"timeAggregation": ""
}
],
"queryFormulas": []
},
"datastore_sql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"id": "7de05a44-1e82-4706-a02a-eaab7f52e46f",
"promql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"queryType": "builder"
},
"selectedLogFields": [
{
"dataType": "string",
"name": "body",
"type": ""
},
{
"dataType": "string",
"name": "timestamp",
"type": ""
}
],
"selectedTracesFields": [
{
"dataType": "string",
"id": "serviceName--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "serviceName",
"type": "tag"
},
{
"dataType": "string",
"id": "name--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "name",
"type": "tag"
},
{
"dataType": "float64",
"id": "durationNano--float64--tag--true",
"isColumn": true,
"isJSON": false,
"key": "durationNano",
"type": "tag"
},
{
"dataType": "string",
"id": "httpMethod--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "httpMethod",
"type": "tag"
},
{
"dataType": "string",
"id": "responseStatusCode--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "responseStatusCode",
"type": "tag"
}
],
"softMax": 0,
"softMin": 0,
"stackedBarChart": false,
"thresholds": [],
"timePreferance": "GLOBAL_TIME",
"title": "Latency",
"yAxisUnit": "ms"
},
{
"bucketCount": 30,
"bucketWidth": 0,
"columnUnits": {},
"description": "",
"fillSpans": false,
"id": "990685be-f055-47e9-90ef-d62198872795",
"isStacked": false,
"mergeAllActiveQueries": false,
"nullZeroValues": "zero",
"opacity": "1",
"panelTypes": "graph",
"query": {
"builder": {
"queryData": [
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_latency.count--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_latency.count",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": false,
"expression": "A",
"filters": {
"items": [
{
"id": "fb804ce3",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "6691b02b",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "74ea770a",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "rps",
"limit": null,
"orderBy": [],
"queryName": "A",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
}
],
"queryFormulas": []
},
"datastore_sql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"id": "b28ef855-58d1-45f9-a528-8b00c73aaad7",
"promql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"queryType": "builder"
},
"selectedLogFields": [
{
"dataType": "string",
"name": "body",
"type": ""
},
{
"dataType": "string",
"name": "timestamp",
"type": ""
}
],
"selectedTracesFields": [
{
"dataType": "string",
"id": "serviceName--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "serviceName",
"type": "tag"
},
{
"dataType": "string",
"id": "name--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "name",
"type": "tag"
},
{
"dataType": "float64",
"id": "durationNano--float64--tag--true",
"isColumn": true,
"isJSON": false,
"key": "durationNano",
"type": "tag"
},
{
"dataType": "string",
"id": "httpMethod--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "httpMethod",
"type": "tag"
},
{
"dataType": "string",
"id": "responseStatusCode--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "responseStatusCode",
"type": "tag"
}
],
"softMax": 0,
"softMin": 0,
"stackedBarChart": false,
"thresholds": [],
"timePreferance": "GLOBAL_TIME",
"title": "Request rate",
"yAxisUnit": "reqps"
},
{
"bucketCount": 30,
"bucketWidth": 0,
"columnUnits": {},
"description": "",
"fillSpans": false,
"id": "7bb8374a-de12-4c48-a9c6-7dc14a5eee4b",
"isStacked": false,
"mergeAllActiveQueries": false,
"nullZeroValues": "zero",
"opacity": "1",
"panelTypes": "graph",
"query": {
"builder": {
"queryData": [
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_calls_total--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_calls_total",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": true,
"expression": "A",
"filters": {
"items": [
{
"id": "77fb428f",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "0b2bf142",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "ff90bbd0",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
},
{
"id": "f93d40d6",
"key": {
"dataType": "string",
"id": "status.code--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "status.code",
"type": "tag"
},
"op": "=",
"value": "STATUS_CODE_ERROR"
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "",
"limit": null,
"orderBy": [],
"queryName": "A",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_calls_total--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_calls_total",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": true,
"expression": "B",
"filters": {
"items": [
{
"id": "4ea66ba4",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "f6e4ea12",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "0990a4ba",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "",
"limit": null,
"orderBy": [],
"queryName": "B",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
}
],
"queryFormulas": [
{
"disabled": false,
"expression": "A/B",
"legend": "error %",
"queryName": "F1"
}
]
},
"datastore_sql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"id": "8a6d9ea8-d50a-4f1b-8735-788e3cb0d6cd",
"promql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"queryType": "builder"
},
"selectedLogFields": [
{
"dataType": "string",
"name": "body",
"type": ""
},
{
"dataType": "string",
"name": "timestamp",
"type": ""
}
],
"selectedTracesFields": [
{
"dataType": "string",
"id": "serviceName--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "serviceName",
"type": "tag"
},
{
"dataType": "string",
"id": "name--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "name",
"type": "tag"
},
{
"dataType": "float64",
"id": "durationNano--float64--tag--true",
"isColumn": true,
"isJSON": false,
"key": "durationNano",
"type": "tag"
},
{
"dataType": "string",
"id": "httpMethod--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "httpMethod",
"type": "tag"
},
{
"dataType": "string",
"id": "responseStatusCode--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "responseStatusCode",
"type": "tag"
}
],
"softMax": 0,
"softMin": 0,
"stackedBarChart": false,
"thresholds": [],
"timePreferance": "GLOBAL_TIME",
"title": "Error percentage",
"yAxisUnit": "percentunit"
},
{
"bucketCount": 30,
"bucketWidth": 0,
"columnUnits": {
"A": "ns",
"B": "ns",
"C": "ns",
"D": "reqps",
"F1": "percent"
},
"columnWidths": {
"A": 145,
"B": 145,
"C": 145,
"D": 145,
"F1": 145,
"operation": 145
},
"description": "",
"fillSpans": false,
"id": "f88a9056-ccaf-4275-b4fe-ddb004adb204",
"isStacked": false,
"mergeAllActiveQueries": false,
"nullZeroValues": "zero",
"opacity": "1",
"panelTypes": "table",
"query": {
"builder": {
"queryData": [
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_latency.bucket--float64--Histogram--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_latency.bucket",
"type": "Histogram"
},
"aggregateOperator": "count",
"dataSource": "metrics",
"disabled": false,
"expression": "A",
"filters": {
"items": [
{
"id": "736c972c",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "8f7afa22",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "96984b21",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
}
],
"having": [],
"legend": "p99",
"limit": null,
"orderBy": [],
"queryName": "A",
"reduceTo": "avg",
"spaceAggregation": "p99",
"stepInterval": 60,
"timeAggregation": ""
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_latency.bucket--float64--Histogram--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_latency.bucket",
"type": "Histogram"
},
"aggregateOperator": "count",
"dataSource": "metrics",
"disabled": false,
"expression": "B",
"filters": {
"items": [
{
"id": "afa0a6c2",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "2d73e815",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "6712a404",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
}
],
"having": [],
"legend": "p90",
"limit": null,
"orderBy": [],
"queryName": "B",
"reduceTo": "avg",
"spaceAggregation": "p90",
"stepInterval": 60,
"timeAggregation": ""
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_latency.bucket--float64--Histogram--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_latency.bucket",
"type": "Histogram"
},
"aggregateOperator": "count",
"dataSource": "metrics",
"disabled": false,
"expression": "C",
"filters": {
"items": [
{
"id": "a975b446",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "9061988b",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "bfad805e",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
}
],
"having": [],
"legend": "p50",
"limit": null,
"orderBy": [],
"queryName": "C",
"reduceTo": "avg",
"spaceAggregation": "p50",
"stepInterval": 60,
"timeAggregation": ""
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_calls_total--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_calls_total",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": false,
"expression": "D",
"filters": {
"items": [
{
"id": "895a7689",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "c6076778",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "6031c94b",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
}
],
"having": [],
"legend": "req/s",
"limit": null,
"orderBy": [],
"queryName": "D",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_calls_total--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_calls_total",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": true,
"expression": "E",
"filters": {
"items": [
{
"id": "5e788d17",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "a9fdcf43",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "ce6c2254",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
},
{
"id": "34928212",
"key": {
"dataType": "string",
"id": "status.code--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "status.code",
"type": "tag"
},
"op": "=",
"value": "STATUS_CODE_ERROR"
}
],
"op": "AND"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
}
],
"having": [],
"legend": "err/s",
"limit": null,
"orderBy": [],
"queryName": "E",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
}
],
"queryFormulas": [
{
"disabled": false,
"expression": "E/D",
"legend": "error %",
"queryName": "F1"
}
]
},
"datastore_sql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"id": "1ba5fa07-b1d9-4abd-b9c1-7adaaca6f4c7",
"promql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"queryType": "builder"
},
"selectedLogFields": [
{
"dataType": "string",
"name": "body",
"type": ""
},
{
"dataType": "string",
"name": "timestamp",
"type": ""
}
],
"selectedTracesFields": [
{
"dataType": "string",
"id": "serviceName--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "serviceName",
"type": "tag"
},
{
"dataType": "string",
"id": "name--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "name",
"type": "tag"
},
{
"dataType": "float64",
"id": "durationNano--float64--tag--true",
"isColumn": true,
"isJSON": false,
"key": "durationNano",
"type": "tag"
},
{
"dataType": "string",
"id": "httpMethod--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "httpMethod",
"type": "tag"
},
{
"dataType": "string",
"id": "responseStatusCode--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "responseStatusCode",
"type": "tag"
}
],
"softMax": 0,
"softMin": 0,
"stackedBarChart": false,
"thresholds": [],
"timePreferance": "GLOBAL_TIME",
"title": "Top operations",
"yAxisUnit": "none"
},
{
"description": "",
"id": "afa3df81-073a-41b4-a813-4bd65b9e3042",
"isStacked": false,
"nullZeroValues": "",
"opacity": "",
"panelTypes": "graph",
"query": {
"builder": {
"queryData": [
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_db_latency_count--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_db_latency_count",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": false,
"expression": "A",
"filters": {
"items": [],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "",
"limit": null,
"orderBy": [],
"queryName": "A",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
}
],
"queryFormulas": []
},
"datastore_sql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"id": "2894023f-0785-4d18-8a89-bdd4a8444bd6",
"promql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"queryType": "builder"
},
"selectedLogFields": [
{
"dataType": "string",
"name": "body",
"type": ""
},
{
"dataType": "string",
"name": "timestamp",
"type": ""
}
],
"selectedTracesFields": [
{
"dataType": "string",
"id": "serviceName--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "serviceName",
"type": "tag"
},
{
"dataType": "string",
"id": "name--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "name",
"type": "tag"
},
{
"dataType": "float64",
"id": "durationNano--float64--tag--true",
"isColumn": true,
"isJSON": false,
"key": "durationNano",
"type": "tag"
},
{
"dataType": "string",
"id": "httpMethod--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "httpMethod",
"type": "tag"
},
{
"dataType": "string",
"id": "responseStatusCode--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "responseStatusCode",
"type": "tag"
}
],
"softMax": null,
"softMin": null,
"timePreferance": "GLOBAL_TIME",
"title": ""
},
{
"description": "",
"id": "5730893b-7b73-42fa-8ceb-cb3731438a44",
"panelTypes": "row",
"title": "Overview"
},
{
"bucketCount": 30,
"bucketWidth": 0,
"columnUnits": {},
"description": "",
"fillSpans": false,
"id": "02c09a9b-8b9f-45f8-a74c-46cd503ddf5c",
"isStacked": false,
"mergeAllActiveQueries": false,
"nullZeroValues": "zero",
"opacity": "1",
"panelTypes": "graph",
"query": {
"builder": {
"queryData": [
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_latency.bucket--float64--Histogram--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_latency.bucket",
"type": "Histogram"
},
"aggregateOperator": "count",
"dataSource": "metrics",
"disabled": false,
"expression": "A",
"filters": {
"items": [
{
"id": "ecc58b5e",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "fd1c4e7e",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "795ffcb5",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "p99",
"limit": null,
"orderBy": [],
"queryName": "A",
"reduceTo": "avg",
"spaceAggregation": "p99",
"stepInterval": 60,
"timeAggregation": ""
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_latency.bucket--float64--Histogram--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_latency.bucket",
"type": "Histogram"
},
"aggregateOperator": "count",
"dataSource": "metrics",
"disabled": false,
"expression": "B",
"filters": {
"items": [
{
"id": "d9aaae74",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "861cba04",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "f7a5c7a9",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "p90",
"limit": null,
"orderBy": [],
"queryName": "B",
"reduceTo": "avg",
"spaceAggregation": "p90",
"stepInterval": 60,
"timeAggregation": ""
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_latency.bucket--float64--Histogram--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_latency.bucket",
"type": "Histogram"
},
"aggregateOperator": "count",
"dataSource": "metrics",
"disabled": false,
"expression": "C",
"filters": {
"items": [
{
"id": "e183c8e5",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "b3eba285",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "d14abd39",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "p50",
"limit": null,
"orderBy": [],
"queryName": "C",
"reduceTo": "avg",
"spaceAggregation": "p50",
"stepInterval": 60,
"timeAggregation": ""
}
],
"queryFormulas": []
},
"datastore_sql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"id": "7de05a44-1e82-4706-a02a-eaab7f52e46f",
"promql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"queryType": "builder"
},
"selectedLogFields": [
{
"dataType": "string",
"name": "body",
"type": ""
},
{
"dataType": "string",
"name": "timestamp",
"type": ""
}
],
"selectedTracesFields": [
{
"dataType": "string",
"id": "serviceName--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "serviceName",
"type": "tag"
},
{
"dataType": "string",
"id": "name--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "name",
"type": "tag"
},
{
"dataType": "float64",
"id": "durationNano--float64--tag--true",
"isColumn": true,
"isJSON": false,
"key": "durationNano",
"type": "tag"
},
{
"dataType": "string",
"id": "httpMethod--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "httpMethod",
"type": "tag"
},
{
"dataType": "string",
"id": "responseStatusCode--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "responseStatusCode",
"type": "tag"
}
],
"softMax": 0,
"softMin": 0,
"stackedBarChart": false,
"thresholds": [],
"timePreferance": "GLOBAL_TIME",
"title": "Latency",
"yAxisUnit": "ms"
},
{
"bucketCount": 30,
"bucketWidth": 0,
"columnUnits": {},
"description": "",
"fillSpans": false,
"id": "990685be-f055-47e9-90ef-d62198872795",
"isStacked": false,
"mergeAllActiveQueries": false,
"nullZeroValues": "zero",
"opacity": "1",
"panelTypes": "graph",
"query": {
"builder": {
"queryData": [
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_latency.count--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_latency.count",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": false,
"expression": "A",
"filters": {
"items": [
{
"id": "fb804ce3",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "6691b02b",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "74ea770a",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "rps",
"limit": null,
"orderBy": [],
"queryName": "A",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
}
],
"queryFormulas": []
},
"datastore_sql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"id": "b28ef855-58d1-45f9-a528-8b00c73aaad7",
"promql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"queryType": "builder"
},
"selectedLogFields": [
{
"dataType": "string",
"name": "body",
"type": ""
},
{
"dataType": "string",
"name": "timestamp",
"type": ""
}
],
"selectedTracesFields": [
{
"dataType": "string",
"id": "serviceName--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "serviceName",
"type": "tag"
},
{
"dataType": "string",
"id": "name--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "name",
"type": "tag"
},
{
"dataType": "float64",
"id": "durationNano--float64--tag--true",
"isColumn": true,
"isJSON": false,
"key": "durationNano",
"type": "tag"
},
{
"dataType": "string",
"id": "httpMethod--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "httpMethod",
"type": "tag"
},
{
"dataType": "string",
"id": "responseStatusCode--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "responseStatusCode",
"type": "tag"
}
],
"softMax": 0,
"softMin": 0,
"stackedBarChart": false,
"thresholds": [],
"timePreferance": "GLOBAL_TIME",
"title": "Request rate",
"yAxisUnit": "reqps"
},
{
"bucketCount": 30,
"bucketWidth": 0,
"columnUnits": {},
"description": "",
"fillSpans": false,
"id": "7bb8374a-de12-4c48-a9c6-7dc14a5eee4b",
"isStacked": false,
"mergeAllActiveQueries": false,
"nullZeroValues": "zero",
"opacity": "1",
"panelTypes": "graph",
"query": {
"builder": {
"queryData": [
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_calls_total--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_calls_total",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": true,
"expression": "A",
"filters": {
"items": [
{
"id": "77fb428f",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "0b2bf142",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "ff90bbd0",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
},
{
"id": "f93d40d6",
"key": {
"dataType": "string",
"id": "status.code--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "status.code",
"type": "tag"
},
"op": "=",
"value": "STATUS_CODE_ERROR"
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "",
"limit": null,
"orderBy": [],
"queryName": "A",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_calls_total--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_calls_total",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": true,
"expression": "B",
"filters": {
"items": [
{
"id": "4ea66ba4",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "f6e4ea12",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "0990a4ba",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "",
"limit": null,
"orderBy": [],
"queryName": "B",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
}
],
"queryFormulas": [
{
"disabled": false,
"expression": "A/B",
"legend": "error %",
"queryName": "F1"
}
]
},
"datastore_sql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"id": "8a6d9ea8-d50a-4f1b-8735-788e3cb0d6cd",
"promql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"queryType": "builder"
},
"selectedLogFields": [
{
"dataType": "string",
"name": "body",
"type": ""
},
{
"dataType": "string",
"name": "timestamp",
"type": ""
}
],
"selectedTracesFields": [
{
"dataType": "string",
"id": "serviceName--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "serviceName",
"type": "tag"
},
{
"dataType": "string",
"id": "name--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "name",
"type": "tag"
},
{
"dataType": "float64",
"id": "durationNano--float64--tag--true",
"isColumn": true,
"isJSON": false,
"key": "durationNano",
"type": "tag"
},
{
"dataType": "string",
"id": "httpMethod--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "httpMethod",
"type": "tag"
},
{
"dataType": "string",
"id": "responseStatusCode--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "responseStatusCode",
"type": "tag"
}
],
"softMax": 0,
"softMin": 0,
"stackedBarChart": false,
"thresholds": [],
"timePreferance": "GLOBAL_TIME",
"title": "Error percentage",
"yAxisUnit": "percentunit"
},
{
"bucketCount": 30,
"bucketWidth": 0,
"columnUnits": {},
"columnWidths": {
"A": 145,
"B": 145,
"C": 145,
"D": 145,
"F1": 145,
"operation": 145
},
"description": "",
"fillSpans": false,
"id": "f88a9056-ccaf-4275-b4fe-ddb004adb204",
"isStacked": false,
"mergeAllActiveQueries": false,
"nullZeroValues": "zero",
"opacity": "1",
"panelTypes": "table",
"query": {
"builder": {
"queryData": [
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_latency.bucket--float64--Histogram--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_latency.bucket",
"type": "Histogram"
},
"aggregateOperator": "count",
"dataSource": "metrics",
"disabled": false,
"expression": "A",
"filters": {
"items": [
{
"id": "a9059872",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "8898b9b3",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "7fabf71b",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
}
],
"having": [],
"legend": "p99",
"limit": null,
"orderBy": [],
"queryName": "A",
"reduceTo": "avg",
"spaceAggregation": "p99",
"stepInterval": 60,
"timeAggregation": ""
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_latency.bucket--float64--Histogram--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_latency.bucket",
"type": "Histogram"
},
"aggregateOperator": "count",
"dataSource": "metrics",
"disabled": false,
"expression": "B",
"filters": {
"items": [
{
"id": "afa0a6c2",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "2d73e815",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "6712a404",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
}
],
"having": [],
"legend": "p90",
"limit": null,
"orderBy": [],
"queryName": "B",
"reduceTo": "avg",
"spaceAggregation": "p90",
"stepInterval": 60,
"timeAggregation": ""
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_latency.bucket--float64--Histogram--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_latency.bucket",
"type": "Histogram"
},
"aggregateOperator": "count",
"dataSource": "metrics",
"disabled": false,
"expression": "C",
"filters": {
"items": [
{
"id": "a975b446",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "9061988b",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "bfad805e",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
}
],
"having": [],
"legend": "p50",
"limit": null,
"orderBy": [],
"queryName": "C",
"reduceTo": "avg",
"spaceAggregation": "p50",
"stepInterval": 60,
"timeAggregation": ""
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_calls_total--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_calls_total",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": false,
"expression": "D",
"filters": {
"items": [
{
"id": "895a7689",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "c6076778",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "6031c94b",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
}
],
"op": "AND"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
}
],
"having": [],
"legend": "req/s",
"limit": null,
"orderBy": [],
"queryName": "D",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_calls_total--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_calls_total",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": true,
"expression": "E",
"filters": {
"items": [
{
"id": "5e788d17",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "a9fdcf43",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "ce6c2254",
"key": {
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
},
"op": "in",
"value": [
"{{.top_level_operation}}"
]
},
{
"id": "34928212",
"key": {
"dataType": "string",
"id": "status.code--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "status.code",
"type": "tag"
},
"op": "=",
"value": "STATUS_CODE_ERROR"
}
],
"op": "AND"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
"id": "operation--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "operation",
"type": "tag"
}
],
"having": [],
"legend": "err/s",
"limit": null,
"orderBy": [],
"queryName": "E",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
}
],
"queryFormulas": [
{
"disabled": false,
"expression": "E/D",
"legend": "error %",
"queryName": "F1"
}
]
},
"datastore_sql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"id": "bf4e5b51-0fdc-452e-a046-7674e44e5d7b",
"promql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"queryType": "builder"
},
"selectedLogFields": [
{
"dataType": "string",
"name": "body",
"type": ""
},
{
"dataType": "string",
"name": "timestamp",
"type": ""
}
],
"selectedTracesFields": [
{
"dataType": "string",
"id": "serviceName--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "serviceName",
"type": "tag"
},
{
"dataType": "string",
"id": "name--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "name",
"type": "tag"
},
{
"dataType": "float64",
"id": "durationNano--float64--tag--true",
"isColumn": true,
"isJSON": false,
"key": "durationNano",
"type": "tag"
},
{
"dataType": "string",
"id": "httpMethod--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "httpMethod",
"type": "tag"
},
{
"dataType": "string",
"id": "responseStatusCode--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "responseStatusCode",
"type": "tag"
}
],
"softMax": 0,
"softMin": 0,
"stackedBarChart": false,
"thresholds": [],
"timePreferance": "GLOBAL_TIME",
"title": "Top operations",
"yAxisUnit": "none"
},
{
"description": "",
"id": "e799d9bf-0dfa-4ee5-b786-9199b7ecd033",
"panelTypes": "row",
"title": "DB Metrics"
},
{
"bucketCount": 30,
"bucketWidth": 0,
"columnUnits": {},
"description": "",
"fillSpans": false,
"id": "85fd56d5-01bc-4240-b959-c7a107d3d104",
"isStacked": false,
"mergeAllActiveQueries": false,
"nullZeroValues": "zero",
"opacity": "1",
"panelTypes": "graph",
"query": {
"builder": {
"queryData": [
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_db_latency_count--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_db_latency_count",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": false,
"expression": "A",
"filters": {
"items": [
{
"id": "faeb2613",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "dbc06b34",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "rps",
"limit": null,
"orderBy": [],
"queryName": "A",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
}
],
"queryFormulas": []
},
"datastore_sql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"id": "46e2b4da-575a-4309-9be3-3c6f27bbc0b4",
"promql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"queryType": "builder"
},
"selectedLogFields": [
{
"dataType": "string",
"name": "body",
"type": ""
},
{
"dataType": "string",
"name": "timestamp",
"type": ""
}
],
"selectedTracesFields": [
{
"dataType": "string",
"id": "serviceName--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "serviceName",
"type": "tag"
},
{
"dataType": "string",
"id": "name--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "name",
"type": "tag"
},
{
"dataType": "float64",
"id": "durationNano--float64--tag--true",
"isColumn": true,
"isJSON": false,
"key": "durationNano",
"type": "tag"
},
{
"dataType": "string",
"id": "httpMethod--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "httpMethod",
"type": "tag"
},
{
"dataType": "string",
"id": "responseStatusCode--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "responseStatusCode",
"type": "tag"
}
],
"softMax": 0,
"softMin": 0,
"stackedBarChart": false,
"thresholds": [],
"timePreferance": "GLOBAL_TIME",
"title": "DB Calls RPS",
"yAxisUnit": "reqps"
},
{
"bucketCount": 30,
"bucketWidth": 0,
"columnUnits": {},
"description": "",
"fillSpans": false,
"id": "e236ec5f-884c-4019-9976-c52cbd3c427d",
"isStacked": false,
"mergeAllActiveQueries": false,
"nullZeroValues": "zero",
"opacity": "1",
"panelTypes": "graph",
"query": {
"builder": {
"queryData": [
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_db_latency_sum--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_db_latency_sum",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": true,
"expression": "A",
"filters": {
"items": [
{
"id": "92963119",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "e4723ddf",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "",
"limit": null,
"orderBy": [],
"queryName": "A",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_db_latency_count--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_db_latency_count",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": true,
"expression": "B",
"filters": {
"items": [
{
"id": "c1be6ef6",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "fa628aed",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
}
],
"op": "AND"
},
"functions": [],
"groupBy": [],
"having": [],
"legend": "",
"limit": null,
"orderBy": [],
"queryName": "B",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
}
],
"queryFormulas": [
{
"disabled": false,
"expression": "A/B",
"legend": "",
"queryName": "F1"
}
]
},
"datastore_sql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"id": "da5ede50-14e5-4cfa-9e39-377a773a6886",
"promql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"queryType": "builder"
},
"selectedLogFields": [
{
"dataType": "string",
"name": "body",
"type": ""
},
{
"dataType": "string",
"name": "timestamp",
"type": ""
}
],
"selectedTracesFields": [
{
"dataType": "string",
"id": "serviceName--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "serviceName",
"type": "tag"
},
{
"dataType": "string",
"id": "name--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "name",
"type": "tag"
},
{
"dataType": "float64",
"id": "durationNano--float64--tag--true",
"isColumn": true,
"isJSON": false,
"key": "durationNano",
"type": "tag"
},
{
"dataType": "string",
"id": "httpMethod--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "httpMethod",
"type": "tag"
},
{
"dataType": "string",
"id": "responseStatusCode--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "responseStatusCode",
"type": "tag"
}
],
"softMax": 0,
"softMin": 0,
"stackedBarChart": false,
"thresholds": [],
"timePreferance": "GLOBAL_TIME",
"title": "Database Calls Avg Duration",
"yAxisUnit": "ms"
},
{
"description": "",
"id": "2ae2ded9-87fb-42f7-b6ce-56c5ad6abb66",
"panelTypes": "row",
"title": "External calls"
},
{
"bucketCount": 30,
"bucketWidth": 0,
"columnUnits": {
"B": "reqps",
"F1": "percent",
"F2": "ms"
},
"columnWidths": {
"B": 145,
"F1": 145,
"F2": 145,
"address": 145
},
"description": "",
"fillSpans": false,
"id": "9e0c2768-2ed6-420a-9ba7-7717d1af9a84",
"isStacked": false,
"mergeAllActiveQueries": false,
"nullZeroValues": "zero",
"opacity": "1",
"panelTypes": "table",
"query": {
"builder": {
"queryData": [
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_external_call_latency_sum--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_external_call_latency_sum",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": true,
"expression": "A",
"filters": {
"items": [
{
"id": "308ac6c5",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "67dee148",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
}
],
"op": "AND"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
"id": "address--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "address",
"type": "tag"
}
],
"having": [],
"legend": "rps",
"limit": null,
"orderBy": [],
"queryName": "A",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_external_call_latency_count--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_external_call_latency_count",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": false,
"expression": "B",
"filters": {
"items": [
{
"id": "433b0a94",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "d235a72f",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
}
],
"op": "AND"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
"id": "address--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "address",
"type": "tag"
}
],
"having": [],
"legend": "rps",
"limit": null,
"orderBy": [],
"queryName": "B",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
},
{
"aggregateAttribute": {
"dataType": "float64",
"id": "o11y_external_call_latency_count--float64--Sum--true",
"isColumn": true,
"isJSON": false,
"key": "o11y_external_call_latency_count",
"type": "Sum"
},
"aggregateOperator": "rate",
"dataSource": "metrics",
"disabled": true,
"expression": "C",
"filters": {
"items": [
{
"id": "c4835550",
"key": {
"dataType": "string",
"id": "deployment.environment--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "deployment.environment",
"type": "tag"
},
"op": "=",
"value": "{{.deployment.environment}}"
},
{
"id": "4236d918",
"key": {
"dataType": "string",
"id": "service.name--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "service.name",
"type": "tag"
},
"op": "=",
"value": "{{.service.name}}"
},
{
"id": "1760d149",
"key": {
"dataType": "string",
"id": "status.code--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "status.code",
"type": "tag"
},
"op": "=",
"value": "STATUS_CODE_ERROR"
}
],
"op": "AND"
},
"functions": [],
"groupBy": [
{
"dataType": "string",
"id": "address--string--tag--false",
"isColumn": false,
"isJSON": false,
"key": "address",
"type": "tag"
}
],
"having": [],
"legend": "rps",
"limit": null,
"orderBy": [],
"queryName": "C",
"reduceTo": "avg",
"spaceAggregation": "sum",
"stepInterval": 60,
"timeAggregation": "rate"
}
],
"queryFormulas": [
{
"disabled": false,
"expression": "(C/B)*100",
"legend": "error %",
"queryName": "F1"
},
{
"disabled": false,
"expression": "A/B",
"legend": "avg duration",
"queryName": "F2"
}
]
},
"datastore_sql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"id": "c785943a-491f-4bf5-baed-f7a6ed0b6a8c",
"promql": [
{
"disabled": false,
"legend": "",
"name": "A",
"query": ""
}
],
"queryType": "builder"
},
"selectedLogFields": [
{
"dataType": "string",
"name": "body",
"type": ""
},
{
"dataType": "string",
"name": "timestamp",
"type": ""
}
],
"selectedTracesFields": [
{
"dataType": "string",
"id": "serviceName--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "serviceName",
"type": "tag"
},
{
"dataType": "string",
"id": "name--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "name",
"type": "tag"
},
{
"dataType": "float64",
"id": "durationNano--float64--tag--true",
"isColumn": true,
"isJSON": false,
"key": "durationNano",
"type": "tag"
},
{
"dataType": "string",
"id": "httpMethod--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "httpMethod",
"type": "tag"
},
{
"dataType": "string",
"id": "responseStatusCode--string--tag--true",
"isColumn": true,
"isJSON": false,
"key": "responseStatusCode",
"type": "tag"
}
],
"softMax": 0,
"softMin": 0,
"stackedBarChart": false,
"thresholds": [],
"timePreferance": "GLOBAL_TIME",
"title": "By external address stats",
"yAxisUnit": "none"
}
]
}