mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 22:47:17 +00:00
222 lines
5.2 KiB
JSON
222 lines
5.2 KiB
JSON
{
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": {
|
|
"type": "grafana",
|
|
"uid": "-- Grafana --"
|
|
},
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"editable": true,
|
|
"fiscalYearStartMonth": 0,
|
|
"graphTooltip": 0,
|
|
"id": 65,
|
|
"links": [],
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "tempo",
|
|
"uid": "grafanacloud-traces"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"align": "auto",
|
|
"cellOptions": {
|
|
"type": "auto",
|
|
"wrapText": false
|
|
},
|
|
"inspect": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 6,
|
|
"options": {
|
|
"cellHeight": "sm",
|
|
"footer": {
|
|
"countRows": false,
|
|
"fields": "",
|
|
"reducer": ["sum"],
|
|
"show": false
|
|
},
|
|
"frameIndex": 1,
|
|
"showHeader": true
|
|
},
|
|
"pluginVersion": "11.2.0-74515",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "tempo",
|
|
"uid": "grafanacloud-traces"
|
|
},
|
|
"filters": [
|
|
{
|
|
"id": "5b9b60be",
|
|
"operator": "=",
|
|
"scope": "span",
|
|
"tag": "guid:x-request-id",
|
|
"value": ["$requestId"],
|
|
"valueType": "string"
|
|
}
|
|
],
|
|
"limit": 20,
|
|
"queryType": "traceqlSearch",
|
|
"refId": "A",
|
|
"tableType": "traces"
|
|
}
|
|
],
|
|
"title": "Distributed Tracing",
|
|
"type": "table"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "loki",
|
|
"uid": "grafanacloud-logs"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 5
|
|
},
|
|
"id": 3,
|
|
"options": {
|
|
"dedupStrategy": "none",
|
|
"enableLogDetails": true,
|
|
"prettifyLogMessage": false,
|
|
"showCommonLabels": false,
|
|
"showLabels": false,
|
|
"showTime": true,
|
|
"sortOrder": "Ascending",
|
|
"wrapLogMessage": false
|
|
},
|
|
"pluginVersion": "11.2.0-74515",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "loki",
|
|
"uid": "grafanacloud-logs"
|
|
},
|
|
"editorMode": "builder",
|
|
"expr": "{env=\"prod\"} |= `$requestId` | json | __error__ != `JSONParserErr` | level > 30 | line_format `[{{.hostname}}] {{trim .msg}})`",
|
|
"hide": false,
|
|
"key": "Q-4f74f5b0-5837-415a-b726-56138193c25e-0",
|
|
"legendFormat": "",
|
|
"queryType": "range",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Errors/Warnings",
|
|
"type": "logs"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "loki",
|
|
"uid": "grafanacloud-logs"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 13,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 13
|
|
},
|
|
"id": 2,
|
|
"options": {
|
|
"dedupStrategy": "none",
|
|
"enableLogDetails": true,
|
|
"prettifyLogMessage": false,
|
|
"showCommonLabels": false,
|
|
"showLabels": false,
|
|
"showTime": true,
|
|
"sortOrder": "Ascending",
|
|
"wrapLogMessage": false
|
|
},
|
|
"pluginVersion": "11.2.0-74515",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "loki",
|
|
"uid": "grafanacloud-logs"
|
|
},
|
|
"editorMode": "builder",
|
|
"expr": "{env=\"prod\"} |= `$requestId` | json | __error__ != `JSONParserErr` | line_format `[{{.hostname}}] {{trim .msg}})`",
|
|
"hide": false,
|
|
"key": "Q-4f74f5b0-5837-415a-b726-56138193c25e-0",
|
|
"queryType": "range",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "All logs",
|
|
"type": "logs"
|
|
}
|
|
],
|
|
"preload": false,
|
|
"refresh": "",
|
|
"schemaVersion": 39,
|
|
"tags": [],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"current": {
|
|
"text": "e66d686a-e571-980c-8daf-b838da91e6ec",
|
|
"value": "e66d686a-e571-980c-8daf-b838da91e6ec"
|
|
},
|
|
"description": "Show logs associated with x-request-id header",
|
|
"label": "Request ID",
|
|
"name": "requestId",
|
|
"options": [
|
|
{
|
|
"selected": true,
|
|
"text": "e66d686a-e571-980c-8daf-b838da91e6ec",
|
|
"value": "e66d686a-e571-980c-8daf-b838da91e6ec"
|
|
}
|
|
],
|
|
"query": "e66d686a-e571-980c-8daf-b838da91e6ec",
|
|
"type": "textbox"
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-7d",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {},
|
|
"timezone": "",
|
|
"title": "Explore Request (7d)",
|
|
"uid": "b977162a-89b3-4394-969c-5f654b926161",
|
|
"version": 15,
|
|
"weekStart": ""
|
|
}
|