diff --git a/modules/signoz/dashboards/APM Metrics.json b/modules/signoz/dashboards/APM Metrics.json new file mode 100644 index 00000000..4d97f319 --- /dev/null +++ b/modules/signoz/dashboards/APM Metrics.json @@ -0,0 +1,3626 @@ +{ + "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": "__dropping-elem__", + "isDraggable": true, + "moved": false, + "static": false, + "w": 1, + "x": 6, + "y": 13 + }, + { + "h": 1, + "i": "e799d9bf-0dfa-4ee5-b786-9199b7ecd033", + "maxH": 1, + "minH": 1, + "minW": 12, + "moved": false, + "static": false, + "w": 12, + "x": 0, + "y": 14 + }, + { + "h": 6, + "i": "85fd56d5-01bc-4240-b959-c7a107d3d104", + "moved": false, + "static": false, + "w": 6, + "x": 0, + "y": 15 + }, + { + "h": 6, + "i": "e236ec5f-884c-4019-9976-c52cbd3c427d", + "moved": false, + "static": false, + "w": 6, + "x": 6, + "y": 15 + }, + { + "h": 1, + "i": "2ae2ded9-87fb-42f7-b6ce-56c5ad6abb66", + "maxH": 1, + "minH": 1, + "minW": 12, + "moved": false, + "static": false, + "w": 12, + "x": 0, + "y": 21 + }, + { + "h": 6, + "i": "9e0c2768-2ed6-420a-9ba7-7717d1af9a84", + "moved": false, + "static": false, + "w": 12, + "x": 0, + "y": 22 + } + ], + "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, + "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 signoz_metrics.time_series_v4_1day\nWHERE (metric_name = 'signoz_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 signoz_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 signoz_metrics.time_series_v4_1day\nWHERE (metric_name = 'signoz_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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": [] + }, + "clickhouse_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": "signoz_latency_count--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": [] + }, + "clickhouse_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": "signoz_calls_total--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_calls_total--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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" + } + ] + }, + "clickhouse_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" + }, + "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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_calls_total--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_calls_total--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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" + } + ] + }, + "clickhouse_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": "signoz_db_latency_count--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": [] + }, + "clickhouse_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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": [] + }, + "clickhouse_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": "signoz_latency_count--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": [] + }, + "clickhouse_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": "signoz_calls_total--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_calls_total--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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" + } + ] + }, + "clickhouse_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": {}, + "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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_calls_total--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_calls_total--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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" + } + ] + }, + "clickhouse_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": "signoz_db_latency_count--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": [] + }, + "clickhouse_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": "signoz_db_latency_sum--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_db_latency_count--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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" + } + ] + }, + "clickhouse_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" + }, + "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": "signoz_external_call_latency_sum--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_external_call_latency_count--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_external_call_latency_count--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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" + } + ] + }, + "clickhouse_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" + } + ] +} \ No newline at end of file diff --git a/modules/signoz/dashboards/HTTP API Monitoring.json b/modules/signoz/dashboards/HTTP API Monitoring.json new file mode 100644 index 00000000..1eb23bc4 --- /dev/null +++ b/modules/signoz/dashboards/HTTP API Monitoring.json @@ -0,0 +1,1177 @@ +{ + "description": "Built on top of available HTTP attributes from opentelemetry: https://opentelemetry.io/docs/specs/semconv/attributes-registry/http/", + "image": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0Ljk0OTQgMTMuOTQyQzE2LjIzMTggMTIuNDI1OCAxNy4zMjY4IDkuNzAyMiAxNi4xOTU2IDYuNTc0ODdDMTUuNjQ0MyA1LjA1MjQ1IDE1LjAyMTkgNC4yMDI0OSAxNC4yOTY5IDMuNjYyNTJDMTMuODU1NyAzLjMzMzc5IDEyLjA5MzMgMi41MDYzMyA5Ljc1OTY1IDIuODY3NTZDOC4wNTM0OSAzLjEzMjU1IDUuNzc0ODcgNC4yMDg3NCA0LjI5MzY5IDUuOTU5OUMyLjg1NzUyIDcuNjYxMDYgMS43NDg4MyA5LjAwNDc0IDEuNjk3NTggMTAuMzA5N0MxLjYzMTMzIDExLjk4ODMgMi44OTYyNyAxMy40MzA4IDMuMDUwMDEgMTMuNjY0NUMzLjMyMzc0IDE0LjA3OTUgNS4xOTExNSAxNi40NTE4IDguNjk5NzEgMTYuNTczMUMxMS43OTcgMTYuNjc5MyAxMy44MTQ0IDE1LjI4NDQgMTQuOTQ5NCAxMy45NDJaIiBmaWxsPSIjNDAzRDNFIi8+CjxwYXRoIGQ9Ik00LjU1MzYzIDIuNzM3NDdDMi45Mzc0NiAzLjg5MTE2IDEuMTIxMzEgNi4yNTEwMyAxLjQ0NzU0IDkuNTYwODZDMS42MDYyOCAxMS4xNzIgMi4wMDI1MSAxMi4xNDk1IDIuNTcxMjMgMTIuODUwN0MyLjkxNzQ2IDEzLjI3ODIgNC40MTk4OCAxNC41NDkzIDYuNzczNTEgMTQuNzM2OEM5LjE0NTg4IDE0LjkyNTYgMTAuOTQ5NSAxNC4zOTQ0IDEyLjgzMzIgMTMuMDg0NEMxNi42NjE3IDEwLjQyMDggMTYuMDk4IDYuMzkzNTMgMTUuOTM0MyA1LjkyNDhDMTUuNzcwNSA1LjQ1NjA3IDE0LjU0NDQgMi42OTYyMiAxMS4xNzMzIDEuNzE1MDJDOC4xOTg0NCAwLjg1MDA2OCA1Ljk4MzU1IDEuNzE1MDIgNC41NTM2MyAyLjczNzQ3WiIgZmlsbD0iIzVFNjM2NyIvPgo8cGF0aCBkPSJNNy4zOTM1MyAyLjk2MTA5QzUuNjE3MzcgMi44OTczNCAzLjkxOTk2IDQuMjg4NTIgMy43NTYyMiA2LjAwNTkzQzMuNTkyNDggNy43MjIwOSA0LjY1NDkyIDkuMDI5NTIgNi4zMDk4MyA5LjI5NTc2QzcuOTY0NzUgOS41NjA3NCA5Ljg3ODM5IDguNTU1OCAxMC4yNjM0IDYuNDUwOTFDMTAuNjYwOSA0LjI4MjI3IDkuMDg5NjkgMy4wMjIzNCA3LjM5MzUzIDIuOTYxMDlaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNNy45NDIxNyA1LjkwMTE1QzcuOTQyMTcgNS45MDExNSA4LjM2OTY1IDUuODEyNCA4LjQ1NDY1IDUuMTgyNDRDOC41MzgzOSA0LjU2MjQ3IDguMjMwOTEgNC4wMzM3NSA3LjUxMzQ1IDMuODQzNzZDNi43MzM0OSAzLjYzNzUyIDYuMjA0NzcgNC4wNjYyNSA2LjA2NzI3IDQuNTE3NDdDNS44NzYwMyA1LjE0NDk0IDYuMTU4NTIgNS40NDM2NyA2LjE1ODUyIDUuNDQzNjdDNi4xNTg1MiA1LjQ0MzY3IDUuMzkzNTYgNS42Mjc0MSA1LjMzMjMxIDYuNTI5ODdDNS4yNzQ4MSA3LjM4MTA3IDUuODU2MDMgNy44Mzg1NSA2LjQzOTc1IDcuOTc4NTRDNy4xNjA5NiA4LjE1MjI4IDcuOTc4NDIgNy45NTQ3OSA4LjE3ODQxIDcuMDM0ODRDOC4zNDQ2NSA2LjI3NzM4IDcuOTQyMTcgNS45MDExNSA3Ljk0MjE3IDUuOTAxMTVaIiBmaWxsPSIjMzAzMDMwIi8+CjxwYXRoIGQ9Ik02LjczOTgzIDQuNzUzNjJDNi42NzEwOSA1LjAxMjM1IDYuODA4NTggNS4yNjIzNCA3LjA3ODU3IDUuMzMxMDlDNy4zNjk4IDUuNDA0ODMgNy42MzQ3OSA1LjMwODU5IDcuNzA2MDMgNS4wMTExQzcuNzY4NTMgNC43NDczNyA3LjY0MzU0IDQuNTE0ODggNy4zMzYwNSA0LjQzOTg4QzcuMDgzNTcgNC4zNzczOSA2LjgxNDgzIDQuNDcxMTMgNi43Mzk4MyA0Ljc1MzYyWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTYuOTU5NzggNi4wMzk3NEM2LjYzMjMgNS45Mzg0OSA2LjE5OTgyIDYuMDY0NzMgNi4xMzEwNyA2LjUwNDcxQzYuMDYyMzMgNi45NDQ2OSA2LjMyNjA2IDcuMTY5NjggNi42NzEwNCA3LjIzMjE3QzcuMDE2MDMgNy4yOTQ2NyA3LjM0MjI2IDcuMTEzNDMgNy40MDYwMSA2Ljc2MDk1QzcuNDY4NSA2LjQwOTcyIDcuMjg2MDEgNi4xMzk3MyA2Ljk1OTc4IDYuMDM5NzRaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K", + "layout": [ + { + "h": 6, + "i": "c1f9db31-4cef-48ba-9ed1-109dcfa01f8b", + "moved": false, + "static": false, + "w": 6, + "x": 0, + "y": 0 + }, + { + "h": 6, + "i": "ba27811a-2716-4a25-9f84-dbf30896b2e8", + "moved": false, + "static": false, + "w": 6, + "x": 6, + "y": 0 + }, + { + "h": 6, + "i": "9d8edd39-4fa6-4fdc-acc4-a23df0baa650", + "moved": false, + "static": false, + "w": 6, + "x": 0, + "y": 6 + }, + { + "h": 6, + "i": "7522011f-7111-4707-9686-bb052dd827a7", + "moved": false, + "static": false, + "w": 6, + "x": 6, + "y": 6 + }, + { + "h": 7, + "i": "e3b48480-d15c-44eb-a054-13ffa59a9227", + "moved": false, + "static": false, + "w": 12, + "x": 0, + "y": 12 + } + ], + "panelMap": {}, + "tags": [], + "title": "HTTP API Monitoring", + "uploadedGrafana": false, + "variables": { + "4789176f-8aaa-40da-83f7-68fa152c0449": { + "allSelected": false, + "customValue": "", + "description": "", + "id": "4789176f-8aaa-40da-83f7-68fa152c0449", + "modificationUUID": "915613fb-a7ec-4feb-add0-1938f60eebab", + "multiSelect": false, + "name": "service_name", + "order": 0, + "queryValue": "\nSELECT JSONExtractString(labels, 'service_name') AS service_name\nFROM signoz_metrics.time_series_v4_1day\nWHERE (metric_name = 'signoz_calls_total') AND (unix_milli >= (toUnixTimestamp(now() - toIntervalDay(1)) * 1000))\nGROUP BY service_name", + "showALLOption": false, + "sort": "DISABLED", + "textboxValue": "", + "type": "QUERY" + } + }, + "version": "v4", + "widgets": [ + { + "bucketCount": 30, + "bucketWidth": 0, + "columnUnits": { + "B": "ns" + }, + "description": "", + "fillSpans": false, + "id": "ba27811a-2716-4a25-9f84-dbf30896b2e8", + "isStacked": false, + "mergeAllActiveQueries": false, + "nullZeroValues": "zero", + "opacity": "1", + "panelTypes": "table", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "", + "id": "------false", + "isColumn": false, + "isJSON": false, + "key": "", + "type": "" + }, + "aggregateOperator": "count", + "dataSource": "traces", + "disabled": false, + "expression": "A", + "filters": { + "items": [ + { + "id": "1619a484", + "key": { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + "op": "=", + "value": "{{.service_name}}" + }, + { + "id": "f444534d", + "key": { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "httpMethod", + "type": "tag" + }, + "op": "exists", + "value": "" + }, + { + "id": "c437035b", + "key": { + "dataType": "string", + "id": "spanKind--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "spanKind", + "type": "tag" + }, + "op": "=", + "value": "Server" + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ + { + "dataType": "string", + "id": "httpRoute--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "httpRoute", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "httpMethod", + "type": "tag" + } + ], + "having": [], + "legend": "Count", + "limit": null, + "orderBy": [ + { + "columnName": "#SIGNOZ_VALUE", + "order": "desc" + } + ], + "queryName": "A", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "rate" + }, + { + "aggregateAttribute": { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + "aggregateOperator": "avg", + "dataSource": "traces", + "disabled": false, + "expression": "B", + "filters": { + "items": [ + { + "id": "e6452849", + "key": { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + "op": "=", + "value": "{{.service_name}}" + }, + { + "id": "7cb365d5", + "key": { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "httpMethod", + "type": "tag" + }, + "op": "exists", + "value": "" + }, + { + "id": "e3b8f740", + "key": { + "dataType": "string", + "id": "spanKind--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "spanKind", + "type": "tag" + }, + "op": "=", + "value": "Server" + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ + { + "dataType": "string", + "id": "httpRoute--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "httpRoute", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "httpMethod", + "type": "tag" + } + ], + "having": [], + "legend": "Avg Duration", + "limit": null, + "orderBy": [], + "queryName": "B", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "avg" + } + ], + "queryFormulas": [] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "2c7b8007-a4cd-4d96-80dd-027f5c66f6b8", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [ + { + "dataType": "string", + "name": "body", + "type": "" + }, + { + "dataType": "string", + "name": "timestamp", + "type": "" + } + ], + "selectedTracesFields": [ + { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + { + "dataType": "string", + "id": "name--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "name", + "type": "tag" + }, + { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": 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 HTTP Endpoints", + "yAxisUnit": "none" + }, + { + "bucketCount": 30, + "bucketWidth": 0, + "columnUnits": { + "B": "ns" + }, + "description": "", + "fillSpans": false, + "id": "e3b48480-d15c-44eb-a054-13ffa59a9227", + "isStacked": false, + "mergeAllActiveQueries": false, + "nullZeroValues": "zero", + "opacity": "1", + "panelTypes": "list", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "", + "id": "------false", + "isColumn": false, + "isJSON": false, + "key": "", + "type": "" + }, + "aggregateOperator": "noop", + "dataSource": "traces", + "disabled": false, + "expression": "B", + "filters": { + "items": [ + { + "id": "968efc1c", + "key": { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + "op": "=", + "value": "{{.service_name}}" + }, + { + "id": "d4c0aa9d", + "key": { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "httpMethod", + "type": "tag" + }, + "op": "exists", + "value": "" + }, + { + "id": "3397bdd9", + "key": { + "dataType": "string", + "id": "spanKind--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "spanKind", + "type": "tag" + }, + "op": "=", + "value": "Server" + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [], + "having": [], + "legend": "", + "limit": null, + "offset": 0, + "orderBy": [ + { + "columnName": "durationNano", + "order": "desc" + } + ], + "pageSize": 10, + "queryName": "B", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "rate" + } + ], + "queryFormulas": [] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "280531a8-ae53-43c4-b932-cbf68b311583", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [ + { + "dataType": "string", + "name": "body", + "type": "" + }, + { + "dataType": "string", + "name": "timestamp", + "type": "" + } + ], + "selectedTracesFields": [ + { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + { + "dataType": "string", + "id": "name--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "name", + "type": "tag" + }, + { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + } + ], + "softMax": 0, + "softMin": 0, + "stackedBarChart": false, + "thresholds": [], + "timePreferance": "GLOBAL_TIME", + "title": "Slowest HTTP Calls", + "yAxisUnit": "none" + }, + { + "bucketCount": 30, + "bucketWidth": 0, + "columnUnits": { + "B": "ns" + }, + "description": "", + "fillSpans": false, + "id": "7522011f-7111-4707-9686-bb052dd827a7", + "isStacked": false, + "mergeAllActiveQueries": false, + "nullZeroValues": "zero", + "opacity": "1", + "panelTypes": "graph", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + "aggregateOperator": "p90", + "dataSource": "traces", + "disabled": false, + "expression": "A", + "filters": { + "items": [ + { + "id": "fc30736a", + "key": { + "dataType": "string", + "id": "spanKind--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "spanKind", + "type": "tag" + }, + "op": "=", + "value": "Server" + }, + { + "id": "610d22a6", + "key": { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "httpMethod", + "type": "tag" + }, + "op": "exists", + "value": "" + }, + { + "id": "da4948b5", + "key": { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + "op": "=", + "value": "{{.service_name}}" + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ + { + "dataType": "string", + "id": "httpRoute--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "httpRoute", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "httpMethod", + "type": "tag" + } + ], + "having": [], + "legend": "{{httpRoute}} - {{httpMethod}}", + "limit": null, + "orderBy": [], + "pageSize": 10, + "queryName": "A", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "p90" + } + ], + "queryFormulas": [] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "6efa5876-0c53-4ff2-8465-9fdd767917f2", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [ + { + "dataType": "string", + "name": "body", + "type": "" + }, + { + "dataType": "string", + "name": "timestamp", + "type": "" + } + ], + "selectedTracesFields": [ + { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + { + "dataType": "string", + "id": "name--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "name", + "type": "tag" + }, + { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": 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": "HTTP Endpoint Latency - P90", + "yAxisUnit": "ns" + }, + { + "bucketCount": 30, + "bucketWidth": 0, + "columnUnits": {}, + "description": "", + "fillSpans": false, + "id": "c1f9db31-4cef-48ba-9ed1-109dcfa01f8b", + "isStacked": false, + "mergeAllActiveQueries": false, + "nullZeroValues": "zero", + "opacity": "1", + "panelTypes": "graph", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "", + "id": "------false", + "isColumn": false, + "isJSON": false, + "key": "", + "type": "" + }, + "aggregateOperator": "rate", + "dataSource": "traces", + "disabled": false, + "expression": "A", + "filters": { + "items": [ + { + "id": "c0ed908c", + "key": { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "httpMethod", + "type": "tag" + }, + "op": "exists", + "value": "" + }, + { + "id": "90e87ee5", + "key": { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.service_name}}" + ] + }, + { + "id": "5b261cae", + "key": { + "dataType": "string", + "id": "spanKind--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "spanKind", + "type": "tag" + }, + "op": "=", + "value": "Server" + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ + { + "dataType": "string", + "id": "responseStatusCode--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "responseStatusCode", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpRoute--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "httpRoute", + "type": "tag" + } + ], + "having": [], + "legend": "{{httpRoute}} - {{responseStatusCode}}", + "limit": null, + "orderBy": [], + "queryName": "A", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "rate" + } + ], + "queryFormulas": [] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "af26dc59-8995-4024-8521-bb2eb5db8392", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [ + { + "dataType": "string", + "name": "body", + "type": "" + }, + { + "dataType": "string", + "name": "timestamp", + "type": "" + } + ], + "selectedTracesFields": [ + { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + { + "dataType": "string", + "id": "name--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "name", + "type": "tag" + }, + { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": 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": "HTTP Status Code distribution", + "yAxisUnit": "none" + }, + { + "bucketCount": 30, + "bucketWidth": 0, + "columnUnits": { + "B": "reqps", + "C": "ns" + }, + "description": "", + "fillSpans": false, + "id": "9d8edd39-4fa6-4fdc-acc4-a23df0baa650", + "isStacked": false, + "mergeAllActiveQueries": false, + "nullZeroValues": "zero", + "opacity": "1", + "panelTypes": "table", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "", + "id": "------false", + "isColumn": false, + "isJSON": false, + "key": "", + "type": "" + }, + "aggregateOperator": "count", + "dataSource": "traces", + "disabled": false, + "expression": "A", + "filters": { + "items": [ + { + "id": "5887d521", + "key": { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.service_name}}" + ] + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ + { + "dataType": "string", + "id": "externalHttpUrl--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "externalHttpUrl", + "type": "tag" + }, + { + "dataType": "string", + "id": "externalHttpMethod--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "externalHttpMethod", + "type": "tag" + } + ], + "having": [], + "legend": "Total Calls", + "limit": null, + "orderBy": [], + "queryName": "A", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "rate" + }, + { + "aggregateAttribute": { + "dataType": "", + "id": "------false", + "isColumn": false, + "isJSON": false, + "key": "", + "type": "" + }, + "aggregateOperator": "rate", + "dataSource": "traces", + "disabled": false, + "expression": "B", + "filters": { + "items": [ + { + "id": "d7501d61", + "key": { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.service_name}}" + ] + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ + { + "dataType": "string", + "id": "externalHttpUrl--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "externalHttpUrl", + "type": "tag" + }, + { + "dataType": "string", + "id": "externalHttpMethod--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "externalHttpMethod", + "type": "tag" + } + ], + "having": [], + "legend": "Request Rate", + "limit": null, + "orderBy": [], + "queryName": "B", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "rate" + }, + { + "aggregateAttribute": { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + "aggregateOperator": "p90", + "dataSource": "traces", + "disabled": false, + "expression": "C", + "filters": { + "items": [ + { + "id": "7d1fbc77", + "key": { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + "op": "in", + "value": [ + "{{.service_name}}" + ] + } + ], + "op": "AND" + }, + "functions": [], + "groupBy": [ + { + "dataType": "string", + "id": "externalHttpUrl--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "externalHttpUrl", + "type": "tag" + }, + { + "dataType": "string", + "id": "externalHttpMethod--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "externalHttpMethod", + "type": "tag" + } + ], + "having": [], + "legend": "P90 Duration", + "limit": null, + "orderBy": [], + "queryName": "C", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "p90" + } + ], + "queryFormulas": [] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "54240805-b23b-4d9c-8af4-a39124b8f60a", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [ + { + "dataType": "string", + "name": "body", + "type": "" + }, + { + "dataType": "string", + "name": "timestamp", + "type": "" + } + ], + "selectedTracesFields": [ + { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + { + "dataType": "string", + "id": "name--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "name", + "type": "tag" + }, + { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": 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": "External HTTP APIs", + "yAxisUnit": "none" + } + ] +} \ No newline at end of file diff --git a/modules/signoz/dashboards/Key operations.json b/modules/signoz/dashboards/Key operations.json new file mode 100644 index 00000000..9a119a01 --- /dev/null +++ b/modules/signoz/dashboards/Key operations.json @@ -0,0 +1,2259 @@ +{ + "description": "", + "image": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0Ljk0OTQgMTMuOTQyQzE2LjIzMTggMTIuNDI1OCAxNy4zMjY4IDkuNzAyMiAxNi4xOTU2IDYuNTc0ODdDMTUuNjQ0MyA1LjA1MjQ1IDE1LjAyMTkgNC4yMDI0OSAxNC4yOTY5IDMuNjYyNTJDMTMuODU1NyAzLjMzMzc5IDEyLjA5MzMgMi41MDYzMyA5Ljc1OTY1IDIuODY3NTZDOC4wNTM0OSAzLjEzMjU1IDUuNzc0ODcgNC4yMDg3NCA0LjI5MzY5IDUuOTU5OUMyLjg1NzUyIDcuNjYxMDYgMS43NDg4MyA5LjAwNDc0IDEuNjk3NTggMTAuMzA5N0MxLjYzMTMzIDExLjk4ODMgMi44OTYyNyAxMy40MzA4IDMuMDUwMDEgMTMuNjY0NUMzLjMyMzc0IDE0LjA3OTUgNS4xOTExNSAxNi40NTE4IDguNjk5NzEgMTYuNTczMUMxMS43OTcgMTYuNjc5MyAxMy44MTQ0IDE1LjI4NDQgMTQuOTQ5NCAxMy45NDJaIiBmaWxsPSIjNDAzRDNFIi8+CjxwYXRoIGQ9Ik00LjU1MzYzIDIuNzM3NDdDMi45Mzc0NiAzLjg5MTE2IDEuMTIxMzEgNi4yNTEwMyAxLjQ0NzU0IDkuNTYwODZDMS42MDYyOCAxMS4xNzIgMi4wMDI1MSAxMi4xNDk1IDIuNTcxMjMgMTIuODUwN0MyLjkxNzQ2IDEzLjI3ODIgNC40MTk4OCAxNC41NDkzIDYuNzczNTEgMTQuNzM2OEM5LjE0NTg4IDE0LjkyNTYgMTAuOTQ5NSAxNC4zOTQ0IDEyLjgzMzIgMTMuMDg0NEMxNi42NjE3IDEwLjQyMDggMTYuMDk4IDYuMzkzNTMgMTUuOTM0MyA1LjkyNDhDMTUuNzcwNSA1LjQ1NjA3IDE0LjU0NDQgMi42OTYyMiAxMS4xNzMzIDEuNzE1MDJDOC4xOTg0NCAwLjg1MDA2OCA1Ljk4MzU1IDEuNzE1MDIgNC41NTM2MyAyLjczNzQ3WiIgZmlsbD0iIzVFNjM2NyIvPgo8cGF0aCBkPSJNNy4zOTM1MyAyLjk2MTA5QzUuNjE3MzcgMi44OTczNCAzLjkxOTk2IDQuMjg4NTIgMy43NTYyMiA2LjAwNTkzQzMuNTkyNDggNy43MjIwOSA0LjY1NDkyIDkuMDI5NTIgNi4zMDk4MyA5LjI5NTc2QzcuOTY0NzUgOS41NjA3NCA5Ljg3ODM5IDguNTU1OCAxMC4yNjM0IDYuNDUwOTFDMTAuNjYwOSA0LjI4MjI3IDkuMDg5NjkgMy4wMjIzNCA3LjM5MzUzIDIuOTYxMDlaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNNy45NDIxNyA1LjkwMTE1QzcuOTQyMTcgNS45MDExNSA4LjM2OTY1IDUuODEyNCA4LjQ1NDY1IDUuMTgyNDRDOC41MzgzOSA0LjU2MjQ3IDguMjMwOTEgNC4wMzM3NSA3LjUxMzQ1IDMuODQzNzZDNi43MzM0OSAzLjYzNzUyIDYuMjA0NzcgNC4wNjYyNSA2LjA2NzI3IDQuNTE3NDdDNS44NzYwMyA1LjE0NDk0IDYuMTU4NTIgNS40NDM2NyA2LjE1ODUyIDUuNDQzNjdDNi4xNTg1MiA1LjQ0MzY3IDUuMzkzNTYgNS42Mjc0MSA1LjMzMjMxIDYuNTI5ODdDNS4yNzQ4MSA3LjM4MTA3IDUuODU2MDMgNy44Mzg1NSA2LjQzOTc1IDcuOTc4NTRDNy4xNjA5NiA4LjE1MjI4IDcuOTc4NDIgNy45NTQ3OSA4LjE3ODQxIDcuMDM0ODRDOC4zNDQ2NSA2LjI3NzM4IDcuOTQyMTcgNS45MDExNSA3Ljk0MjE3IDUuOTAxMTVaIiBmaWxsPSIjMzAzMDMwIi8+CjxwYXRoIGQ9Ik02LjczOTgzIDQuNzUzNjJDNi42NzEwOSA1LjAxMjM1IDYuODA4NTggNS4yNjIzNCA3LjA3ODU3IDUuMzMxMDlDNy4zNjk4IDUuNDA0ODMgNy42MzQ3OSA1LjMwODU5IDcuNzA2MDMgNS4wMTExQzcuNzY4NTMgNC43NDczNyA3LjY0MzU0IDQuNTE0ODggNy4zMzYwNSA0LjQzOTg4QzcuMDgzNTcgNC4zNzczOSA2LjgxNDgzIDQuNDcxMTMgNi43Mzk4MyA0Ljc1MzYyWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTYuOTU5NzggNi4wMzk3NEM2LjYzMjMgNS45Mzg0OSA2LjE5OTgyIDYuMDY0NzMgNi4xMzEwNyA2LjUwNDcxQzYuMDYyMzMgNi45NDQ2OSA2LjMyNjA2IDcuMTY5NjggNi42NzEwNCA3LjIzMjE3QzcuMDE2MDMgNy4yOTQ2NyA3LjM0MjI2IDcuMTEzNDMgNy40MDYwMSA2Ljc2MDk1QzcuNDY4NSA2LjQwOTcyIDcuMjg2MDEgNi4xMzk3MyA2Ljk1OTc4IDYuMDM5NzRaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K", + "layout": [ + { + "h": 6, + "i": "02c09a9b-8b9f-45f8-a74c-46cd503ddf5c", + "moved": false, + "static": false, + "w": 6, + "x": 0, + "y": 0 + }, + { + "h": 6, + "i": "cdc9b04c-0716-4d6f-92ea-fee8042920fe", + "moved": false, + "static": false, + "w": 6, + "x": 6, + "y": 0 + }, + { + "h": 6, + "i": "7bb8374a-de12-4c48-a9c6-7dc14a5eee4b", + "moved": false, + "static": false, + "w": 6, + "x": 0, + "y": 6 + }, + { + "h": 6, + "i": "fd78c820-9c4a-4043-af86-02b5a04368e0", + "moved": false, + "static": false, + "w": 6, + "x": 6, + "y": 6 + }, + { + "h": 6, + "i": "990685be-f055-47e9-90ef-d62198872795", + "moved": false, + "static": false, + "w": 6, + "x": 0, + "y": 12 + }, + { + "h": 6, + "i": "cc45799d-2940-4b68-9f24-1d9b03e489c4", + "moved": false, + "static": false, + "w": 6, + "x": 6, + "y": 12 + } + ], + "panelMap": {}, + "tags": [ + "apm", + "latency", + "error rate", + "throughput" + ], + "title": "Key operations", + "uploadedGrafana": false, + "variables": { + "5ca550af-d285-4abb-9846-5b18e80d11a6": { + "allSelected": false, + "customValue": "", + "description": "The deployment.environment for the service", + "id": "5ca550af-d285-4abb-9846-5b18e80d11a6", + "key": "5ca550af-d285-4abb-9846-5b18e80d11a6", + "modificationUUID": "42bd0118-dcb1-4de8-9db2-047f833947e4", + "multiSelect": false, + "name": "deployment_environment", + "order": 0, + "queryValue": "SELECT JSONExtractString(labels, 'deployment_environment') AS deployment_environment\nFROM signoz_metrics.time_series_v4_1day\nWHERE (metric_name = 'signoz_calls_total') AND (unix_milli >= (toUnixTimestamp(now() - toIntervalDay(1)) * 1000))\nGROUP BY deployment_environment", + "showALLOption": false, + "sort": "DISABLED", + "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 signoz_metrics.time_series_v4_1day\nWHERE (metric_name = 'signoz_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": [ + { + "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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_latency_bucket", + "type": "Histogram" + }, + "aggregateOperator": "count", + "dataSource": "metrics", + "disabled": false, + "expression": "A", + "filters": { + "items": [ + { + "id": "af96c806", + "key": { + "dataType": "string", + "id": "deployment_environment--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "deployment_environment", + "type": "tag" + }, + "op": "=", + "value": "{{.deployment_environment}}" + }, + { + "id": "b5003b95", + "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": "operation--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "operation", + "type": "tag" + } + ], + "having": [], + "legend": "{{operation}}", + "limit": 20, + "orderBy": [], + "queryName": "A", + "reduceTo": "avg", + "spaceAggregation": "p99", + "stepInterval": 60, + "timeAggregation": "" + } + ], + "queryFormulas": [] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "851d82f1-3b7a-4eb8-b9b3-da4853d9f61b", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [ + { + "dataType": "string", + "name": "body", + "type": "" + }, + { + "dataType": "string", + "name": "timestamp", + "type": "" + } + ], + "selectedTracesFields": [ + { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + { + "dataType": "string", + "id": "name--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "name", + "type": "tag" + }, + { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": 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": "P99 Latency (top 20)", + "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": "signoz_latency_count--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_latency_count", + "type": "Sum" + }, + "aggregateOperator": "rate", + "dataSource": "metrics", + "disabled": false, + "expression": "A", + "filters": { + "items": [ + { + "id": "c9e1dcbc", + "key": { + "dataType": "string", + "id": "deployment_environment--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "deployment_environment", + "type": "tag" + }, + "op": "=", + "value": "{{.deployment_environment}}" + }, + { + "id": "1a5b0018", + "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": "operation--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "operation", + "type": "tag" + } + ], + "having": [], + "legend": "{{operation}}", + "limit": 20, + "orderBy": [], + "queryName": "A", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "rate" + } + ], + "queryFormulas": [] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "ff28487e-2dec-4d27-8877-22857224b35e", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [ + { + "dataType": "string", + "name": "body", + "type": "" + }, + { + "dataType": "string", + "name": "timestamp", + "type": "" + } + ], + "selectedTracesFields": [ + { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + { + "dataType": "string", + "id": "name--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "name", + "type": "tag" + }, + { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": 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 (top 20)", + "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": "signoz_calls_total--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_calls_total", + "type": "Sum" + }, + "aggregateOperator": "rate", + "dataSource": "metrics", + "disabled": true, + "expression": "A", + "filters": { + "items": [ + { + "id": "5be01bad", + "key": { + "dataType": "string", + "id": "deployment_environment--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "deployment_environment", + "type": "tag" + }, + "op": "=", + "value": "{{.deployment_environment}}" + }, + { + "id": "86db1a09", + "key": { + "dataType": "string", + "id": "service_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "service_name", + "type": "tag" + }, + "op": "=", + "value": "{{.service_name}}" + }, + { + "id": "d18f5879", + "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": "", + "limit": null, + "orderBy": [], + "queryName": "A", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "rate" + }, + { + "aggregateAttribute": { + "dataType": "float64", + "id": "signoz_calls_total--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_calls_total", + "type": "Sum" + }, + "aggregateOperator": "rate", + "dataSource": "metrics", + "disabled": true, + "expression": "B", + "filters": { + "items": [ + { + "id": "d4b7e8c1", + "key": { + "dataType": "string", + "id": "deployment_environment--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "deployment_environment", + "type": "tag" + }, + "op": "=", + "value": "{{.deployment_environment}}" + }, + { + "id": "149c2cf5", + "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": "operation--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "operation", + "type": "tag" + } + ], + "having": [], + "legend": "", + "limit": null, + "orderBy": [], + "queryName": "B", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "rate" + } + ], + "queryFormulas": [ + { + "disabled": false, + "expression": "A/B", + "legend": "{{operation}}", + "limit": 20, + "queryName": "F1" + } + ] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "cd1648e1-b571-4f0f-9213-7ce4842bf7cd", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [ + { + "dataType": "string", + "name": "body", + "type": "" + }, + { + "dataType": "string", + "name": "timestamp", + "type": "" + } + ], + "selectedTracesFields": [ + { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + { + "dataType": "string", + "id": "name--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "name", + "type": "tag" + }, + { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": 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 (top 20)", + "yAxisUnit": "percentunit" + }, + { + "description": "", + "id": "afa3df81-073a-41b4-a813-4bd65b9e3042", + "isStacked": false, + "nullZeroValues": "", + "opacity": "", + "panelTypes": "graph", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "float64", + "id": "signoz_db_latency_count--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": [] + }, + "clickhouse_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": "" + }, + { + "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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": [] + }, + "clickhouse_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": "signoz_latency_count--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": [] + }, + "clickhouse_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": "signoz_calls_total--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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": "signoz_calls_total--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_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" + } + ] + }, + "clickhouse_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": "ms", + "B": "ms", + "C": "ms" + }, + "description": "", + "fillSpans": false, + "id": "cdc9b04c-0716-4d6f-92ea-fee8042920fe", + "isStacked": false, + "mergeAllActiveQueries": false, + "nullZeroValues": "zero", + "opacity": "1", + "panelTypes": "table", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "float64", + "id": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_latency_bucket", + "type": "Histogram" + }, + "aggregateOperator": "count", + "dataSource": "metrics", + "disabled": false, + "expression": "A", + "filters": { + "items": [ + { + "id": "de1cbca3", + "key": { + "dataType": "string", + "id": "deployment_environment--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "deployment_environment", + "type": "tag" + }, + "op": "=", + "value": "{{.deployment_environment}}" + }, + { + "id": "e0a61565", + "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": "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": "rate" + }, + { + "aggregateAttribute": { + "dataType": "float64", + "id": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_latency_bucket", + "type": "Histogram" + }, + "aggregateOperator": "count", + "dataSource": "metrics", + "disabled": false, + "expression": "B", + "filters": { + "items": [ + { + "id": "24fec0e9", + "key": { + "dataType": "string", + "id": "deployment_environment--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "deployment_environment", + "type": "tag" + }, + "op": "=", + "value": "{{.deployment_environment}}" + }, + { + "id": "106cb337", + "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": "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": "rate" + }, + { + "aggregateAttribute": { + "dataType": "float64", + "id": "signoz_latency_bucket--float64--Histogram--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_latency_bucket", + "type": "Histogram" + }, + "aggregateOperator": "count", + "dataSource": "metrics", + "disabled": false, + "expression": "C", + "filters": { + "items": [ + { + "id": "13a72166", + "key": { + "dataType": "string", + "id": "deployment_environment--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "deployment_environment", + "type": "tag" + }, + "op": "=", + "value": "{{.deployment_environment}}" + }, + { + "id": "93244bc2", + "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": "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": "rate" + } + ], + "queryFormulas": [] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "3db93c9d-a18a-414d-b887-de69d8de40e7", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [ + { + "dataType": "string", + "name": "body", + "type": "" + }, + { + "dataType": "string", + "name": "timestamp", + "type": "" + } + ], + "selectedTracesFields": [ + { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + { + "dataType": "string", + "id": "name--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "name", + "type": "tag" + }, + { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": 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": "Average p99/95/50 Latency (all)", + "yAxisUnit": "ms" + }, + { + "bucketCount": 30, + "bucketWidth": 0, + "columnUnits": {}, + "description": "", + "fillSpans": false, + "id": "fd78c820-9c4a-4043-af86-02b5a04368e0", + "isStacked": false, + "mergeAllActiveQueries": false, + "nullZeroValues": "zero", + "opacity": "1", + "panelTypes": "table", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "float64", + "id": "signoz_calls_total--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_calls_total", + "type": "Sum" + }, + "aggregateOperator": "rate", + "dataSource": "metrics", + "disabled": true, + "expression": "A", + "filters": { + "items": [ + { + "id": "ee263bf0", + "key": { + "dataType": "string", + "id": "deployment_environment--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "deployment_environment", + "type": "tag" + }, + "op": "=", + "value": "{{.deployment_environment}}" + }, + { + "id": "1c1d9755", + "key": { + "dataType": "string", + "id": "service_name--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "service_name", + "type": "tag" + }, + "op": "=", + "value": "{{.service_name}}" + }, + { + "id": "c8c880f7", + "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": "", + "limit": null, + "orderBy": [], + "queryName": "A", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "rate" + }, + { + "aggregateAttribute": { + "dataType": "float64", + "id": "signoz_calls_total--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_calls_total", + "type": "Sum" + }, + "aggregateOperator": "rate", + "dataSource": "metrics", + "disabled": true, + "expression": "B", + "filters": { + "items": [ + { + "id": "ea24703a", + "key": { + "dataType": "string", + "id": "deployment_environment--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "deployment_environment", + "type": "tag" + }, + "op": "=", + "value": "{{.deployment_environment}}" + }, + { + "id": "5875bef5", + "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": "operation--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "operation", + "type": "tag" + } + ], + "having": [], + "legend": "", + "limit": null, + "orderBy": [], + "queryName": "B", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "rate" + } + ], + "queryFormulas": [ + { + "disabled": false, + "expression": "A/B", + "legend": "error %", + "limit": 50, + "queryName": "F1" + } + ] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "971c675a-a9ba-464c-b10c-a839e5284ec5", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [ + { + "dataType": "string", + "name": "body", + "type": "" + }, + { + "dataType": "string", + "name": "timestamp", + "type": "" + } + ], + "selectedTracesFields": [ + { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + { + "dataType": "string", + "id": "name--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "name", + "type": "tag" + }, + { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": 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": "Average error percentage (all)", + "yAxisUnit": "percentunit" + }, + { + "bucketCount": 30, + "bucketWidth": 0, + "columnUnits": {}, + "description": "", + "fillSpans": false, + "id": "cc45799d-2940-4b68-9f24-1d9b03e489c4", + "isStacked": false, + "mergeAllActiveQueries": false, + "nullZeroValues": "zero", + "opacity": "1", + "panelTypes": "table", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "float64", + "id": "signoz_latency_count--float64--Sum--true", + "isColumn": true, + "isJSON": false, + "key": "signoz_latency_count", + "type": "Sum" + }, + "aggregateOperator": "rate", + "dataSource": "metrics", + "disabled": false, + "expression": "A", + "filters": { + "items": [ + { + "id": "cea53b36", + "key": { + "dataType": "string", + "id": "deployment_environment--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "deployment_environment", + "type": "tag" + }, + "op": "=", + "value": "{{.deployment_environment}}" + }, + { + "id": "e11d16d1", + "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": "operation--string--tag--false", + "isColumn": false, + "isJSON": false, + "key": "operation", + "type": "tag" + } + ], + "having": [], + "legend": "rps", + "limit": null, + "orderBy": [], + "queryName": "A", + "reduceTo": "avg", + "spaceAggregation": "sum", + "stepInterval": 60, + "timeAggregation": "rate" + } + ], + "queryFormulas": [] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "id": "75c2a05a-8b19-447c-9648-c5b816722338", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "builder" + }, + "selectedLogFields": [ + { + "dataType": "string", + "name": "body", + "type": "" + }, + { + "dataType": "string", + "name": "timestamp", + "type": "" + } + ], + "selectedTracesFields": [ + { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + { + "dataType": "string", + "id": "name--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "name", + "type": "tag" + }, + { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": 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": "Average req/s (all)", + "yAxisUnit": "reqps" + } + ] +} \ No newline at end of file diff --git a/modules/signoz/dashboards/Manifest Generation Operations.json b/modules/signoz/dashboards/Manifest Generation Operations.json new file mode 100644 index 00000000..5d219b61 --- /dev/null +++ b/modules/signoz/dashboards/Manifest Generation Operations.json @@ -0,0 +1,169 @@ +{ + "description": "Used to look at the generation of manifests with Schematic", + "image": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0Ljk0OTQgMTMuOTQyQzE2LjIzMTggMTIuNDI1OCAxNy4zMjY4IDkuNzAyMiAxNi4xOTU2IDYuNTc0ODdDMTUuNjQ0MyA1LjA1MjQ1IDE1LjAyMTkgNC4yMDI0OSAxNC4yOTY5IDMuNjYyNTJDMTMuODU1NyAzLjMzMzc5IDEyLjA5MzMgMi41MDYzMyA5Ljc1OTY1IDIuODY3NTZDOC4wNTM0OSAzLjEzMjU1IDUuNzc0ODcgNC4yMDg3NCA0LjI5MzY5IDUuOTU5OUMyLjg1NzUyIDcuNjYxMDYgMS43NDg4MyA5LjAwNDc0IDEuNjk3NTggMTAuMzA5N0MxLjYzMTMzIDExLjk4ODMgMi44OTYyNyAxMy40MzA4IDMuMDUwMDEgMTMuNjY0NUMzLjMyMzc0IDE0LjA3OTUgNS4xOTExNSAxNi40NTE4IDguNjk5NzEgMTYuNTczMUMxMS43OTcgMTYuNjc5MyAxMy44MTQ0IDE1LjI4NDQgMTQuOTQ5NCAxMy45NDJaIiBmaWxsPSIjNDAzRDNFIi8+CjxwYXRoIGQ9Ik00LjU1MzYzIDIuNzM3NDdDMi45Mzc0NiAzLjg5MTE2IDEuMTIxMzEgNi4yNTEwMyAxLjQ0NzU0IDkuNTYwODZDMS42MDYyOCAxMS4xNzIgMi4wMDI1MSAxMi4xNDk1IDIuNTcxMjMgMTIuODUwN0MyLjkxNzQ2IDEzLjI3ODIgNC40MTk4OCAxNC41NDkzIDYuNzczNTEgMTQuNzM2OEM5LjE0NTg4IDE0LjkyNTYgMTAuOTQ5NSAxNC4zOTQ0IDEyLjgzMzIgMTMuMDg0NEMxNi42NjE3IDEwLjQyMDggMTYuMDk4IDYuMzkzNTMgMTUuOTM0MyA1LjkyNDhDMTUuNzcwNSA1LjQ1NjA3IDE0LjU0NDQgMi42OTYyMiAxMS4xNzMzIDEuNzE1MDJDOC4xOTg0NCAwLjg1MDA2OCA1Ljk4MzU1IDEuNzE1MDIgNC41NTM2MyAyLjczNzQ3WiIgZmlsbD0iIzVFNjM2NyIvPgo8cGF0aCBkPSJNNy4zOTM1MyAyLjk2MTA5QzUuNjE3MzcgMi44OTczNCAzLjkxOTk2IDQuMjg4NTIgMy43NTYyMiA2LjAwNTkzQzMuNTkyNDggNy43MjIwOSA0LjY1NDkyIDkuMDI5NTIgNi4zMDk4MyA5LjI5NTc2QzcuOTY0NzUgOS41NjA3NCA5Ljg3ODM5IDguNTU1OCAxMC4yNjM0IDYuNDUwOTFDMTAuNjYwOSA0LjI4MjI3IDkuMDg5NjkgMy4wMjIzNCA3LjM5MzUzIDIuOTYxMDlaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNNy45NDIxNyA1LjkwMTE1QzcuOTQyMTcgNS45MDExNSA4LjM2OTY1IDUuODEyNCA4LjQ1NDY1IDUuMTgyNDRDOC41MzgzOSA0LjU2MjQ3IDguMjMwOTEgNC4wMzM3NSA3LjUxMzQ1IDMuODQzNzZDNi43MzM0OSAzLjYzNzUyIDYuMjA0NzcgNC4wNjYyNSA2LjA2NzI3IDQuNTE3NDdDNS44NzYwMyA1LjE0NDk0IDYuMTU4NTIgNS40NDM2NyA2LjE1ODUyIDUuNDQzNjdDNi4xNTg1MiA1LjQ0MzY3IDUuMzkzNTYgNS42Mjc0MSA1LjMzMjMxIDYuNTI5ODdDNS4yNzQ4MSA3LjM4MTA3IDUuODU2MDMgNy44Mzg1NSA2LjQzOTc1IDcuOTc4NTRDNy4xNjA5NiA4LjE1MjI4IDcuOTc4NDIgNy45NTQ3OSA4LjE3ODQxIDcuMDM0ODRDOC4zNDQ2NSA2LjI3NzM4IDcuOTQyMTcgNS45MDExNSA3Ljk0MjE3IDUuOTAxMTVaIiBmaWxsPSIjMzAzMDMwIi8+CjxwYXRoIGQ9Ik02LjczOTgzIDQuNzUzNjJDNi42NzEwOSA1LjAxMjM1IDYuODA4NTggNS4yNjIzNCA3LjA3ODU3IDUuMzMxMDlDNy4zNjk4IDUuNDA0ODMgNy42MzQ3OSA1LjMwODU5IDcuNzA2MDMgNS4wMTExQzcuNzY4NTMgNC43NDczNyA3LjY0MzU0IDQuNTE0ODggNy4zMzYwNSA0LjQzOTg4QzcuMDgzNTcgNC4zNzczOSA2LjgxNDgzIDQuNDcxMTMgNi43Mzk4MyA0Ljc1MzYyWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTYuOTU5NzggNi4wMzk3NEM2LjYzMjMgNS45Mzg0OSA2LjE5OTgyIDYuMDY0NzMgNi4xMzEwNyA2LjUwNDcxQzYuMDYyMzMgNi45NDQ2OSA2LjMyNjA2IDcuMTY5NjggNi42NzEwNCA3LjIzMjE3QzcuMDE2MDMgNy4yOTQ2NyA3LjM0MjI2IDcuMTEzNDMgNy40MDYwMSA2Ljc2MDk1QzcuNDY4NSA2LjQwOTcyIDcuMjg2MDEgNi4xMzk3MyA2Ljk1OTc4IDYuMDM5NzRaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K", + "layout": [ + { + "h": 9, + "i": "04ae9a5f-b6eb-4c1b-84b6-a85d91b41bf7", + "moved": false, + "static": false, + "w": 12, + "x": 0, + "y": 0 + } + ], + "panelMap": {}, + "tags": [], + "title": "Manifest Generation Operations", + "uploadedGrafana": false, + "variables": { + "2ebe1fb2-041e-47db-88e3-64f10a2a4700": { + "allSelected": true, + "customValue": "", + "description": "The Synapse ID of the dataset that a manifest was generated for", + "id": "2ebe1fb2-041e-47db-88e3-64f10a2a4700", + "modificationUUID": "cfe42607-8669-4fe7-9f60-120b5ce93905", + "multiSelect": true, + "name": "dataset", + "order": 0, + "queryValue": "SELECT \r\n distinct stringTagMap['schematic.dataset_id'] as datasetId\r\nFROM \r\n signoz_traces.distributed_signoz_index_v2 \r\nWHERE\r\n datasetId != ''", + "showALLOption": true, + "sort": "DISABLED", + "textboxValue": "", + "type": "QUERY" + } + }, + "version": "v4", + "widgets": [ + { + "bucketCount": 30, + "bucketWidth": 0, + "columnUnits": { + "A": "ns" + }, + "description": "", + "fillSpans": false, + "id": "04ae9a5f-b6eb-4c1b-84b6-a85d91b41bf7", + "isStacked": false, + "mergeAllActiveQueries": false, + "nullZeroValues": "zero", + "opacity": "1", + "panelTypes": "table", + "query": { + "builder": { + "queryData": [ + { + "aggregateAttribute": { + "dataType": "", + "id": "------false", + "isColumn": false, + "isJSON": false, + "key": "", + "type": "" + }, + "aggregateOperator": "count", + "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": [] + }, + "clickhouse_sql": [ + { + "disabled": false, + "legend": "Execution time", + "name": "A", + "query": "SELECT \r\n timestamp, \r\n durationNano as executionTime,\r\n stringTagMap['schematic.title'] as Title,\r\n stringTagMap['schematic.use_annotations'] as useAnnotations,\r\n stringTagMap['schematic.output_format'] as OutputFormat,\r\n stringTagMap['schematic.data_type'] as DataType,\r\n stringTagMap['schematic.dataset_id'] as DatasetId,\r\n stringTagMap['schematic.asset_view'] as AssetView,\r\n stringTagMap['schematic.schema_url'] as SchemaUrl\r\nFROM \r\n signoz_traces.distributed_signoz_index_v2 \r\nWHERE \r\n (timestamp >= {{.start_datetime}} AND timestamp <= {{.end_datetime}}) \r\n AND httpRoute = '/v1/manifest/generate'\r\n AND DatasetId in $dataset" + } + ], + "id": "fe78d2a7-1626-4861-a589-bcd46be41461", + "promql": [ + { + "disabled": false, + "legend": "", + "name": "A", + "query": "" + } + ], + "queryType": "clickhouse_sql" + }, + "selectedLogFields": [ + { + "dataType": "string", + "name": "body", + "type": "" + }, + { + "dataType": "string", + "name": "timestamp", + "type": "" + } + ], + "selectedTracesFields": [ + { + "dataType": "string", + "id": "serviceName--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "serviceName", + "type": "tag" + }, + { + "dataType": "string", + "id": "name--string--tag--true", + "isColumn": true, + "isJSON": false, + "key": "name", + "type": "tag" + }, + { + "dataType": "float64", + "id": "durationNano--float64--tag--true", + "isColumn": true, + "isJSON": false, + "key": "durationNano", + "type": "tag" + }, + { + "dataType": "string", + "id": "httpMethod--string--tag--true", + "isColumn": true, + "isJSON": 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": "Manifest Generation Events", + "yAxisUnit": "none" + } + ] +} \ No newline at end of file diff --git a/modules/signoz/dashboards/README.md b/modules/signoz/dashboards/README.md new file mode 100644 index 00000000..3f027a8c --- /dev/null +++ b/modules/signoz/dashboards/README.md @@ -0,0 +1,15 @@ +# Purpose +This directory is going to hold the JSON files for SigNoz dashboards that we are running +in our instance. As of 12/4/2024 there is no known way to automatically ingest or +migrate dashboards between instances or environments. + + +## Migration/Creation strategy +As changes are made to the various dashboards that we use we should do the following: + +1. Make the changes to the dashboard in an environment that has data such as dev or staging +2. Have another engineer review the dashboard reviewing any functionality you've changed or added +3. Export the dashboard as JSON and either create a new `.json` file in this directory, or update the existing file +4. Commit the changes to source control and create a pull request with the changes following our standard flow +5. Have an engineer with access to all SigNoz environments copy the changes to each environment +