Files

217 lines
5.7 KiB
JSON

{
"dashboardId": "7092192755035799552tG7e1j",
"title": "Frontdoor",
"description": "",
"role": "",
"owner": "hello@openobserve.ai",
"created": "2023-08-01T17:21:59.296+00:00",
"panels": [
{
"id": "Panel_ID5394810",
"type": "area-stacked",
"fields": {
"stream": "az_logs_FrontDoorHealthProbeLog",
"stream_type": "logs",
"x": [
{
"label": "Timestamp",
"alias": "x_axis_1",
"column": "_timestamp",
"color": null,
"aggregationFunction": "histogram"
},
{
"label": "Properties Httpstatuscode",
"alias": "x_axis_2",
"column": "properties_httpstatuscode",
"color": null
}
],
"y": [
{
"label": "Count",
"alias": "y_axis_1",
"column": "_timestamp",
"color": "#5960b2",
"aggregationFunction": "count"
}
],
"filter": []
},
"config": {
"title": "Requests",
"description": "",
"show_legends": true,
"legends_position": null,
"promql_legend": ""
},
"query": "SELECT histogram(_timestamp) as \"x_axis_1\", properties_httpstatuscode as \"x_axis_2\", count(_timestamp) as \"y_axis_1\" FROM \"az_logs_FrontDoorHealthProbeLog\" GROUP BY x_axis_1, x_axis_2 ORDER BY x_axis_1, x_axis_2",
"queryType": "sql",
"customQuery": false
},
{
"id": "Panel_ID9770010",
"type": "area",
"fields": {
"stream": "az_logs_FrontDoorHealthProbeLog",
"stream_type": "logs",
"x": [
{
"label": "Timestamp",
"alias": "x_axis_1",
"column": "_timestamp",
"color": null,
"aggregationFunction": "histogram"
}
],
"y": [
{
"label": "Latency (ms)",
"alias": "y_axis_1",
"column": "properties_totallatencymilliseconds",
"color": "#5960b2",
"aggregationFunction": "max"
}
],
"filter": []
},
"config": {
"title": "Total latency",
"description": "",
"show_legends": true,
"legends_position": null,
"promql_legend": ""
},
"query": "SELECT histogram(_timestamp) as \"x_axis_1\", max(properties_totallatencymilliseconds) as \"y_axis_1\" FROM \"az_logs_FrontDoorHealthProbeLog\" GROUP BY x_axis_1 ORDER BY x_axis_1",
"queryType": "sql",
"customQuery": false
},
{
"id": "Panel_ID9534410",
"type": "stacked",
"fields": {
"stream": "az_logs_FrontDoorHealthProbeLog",
"stream_type": "logs",
"x": [
{
"label": "Timestamp",
"alias": "x_axis_1",
"column": "_timestamp",
"color": null,
"aggregationFunction": "histogram"
},
{
"label": "Properties Httpverb",
"alias": "x_axis_2",
"column": "properties_httpverb",
"color": null
}
],
"y": [
{
"label": "Count",
"alias": "y_axis_1",
"column": "properties_httpverb",
"color": "#5960b2",
"aggregationFunction": "count"
}
],
"filter": []
},
"config": {
"title": "Requests by verb",
"description": "",
"show_legends": true,
"legends_position": null,
"promql_legend": ""
},
"query": "SELECT histogram(_timestamp) as \"x_axis_1\", properties_httpverb as \"x_axis_2\", count(properties_httpverb) as \"y_axis_1\" FROM \"az_logs_FrontDoorHealthProbeLog\" GROUP BY x_axis_1, x_axis_2 ORDER BY x_axis_1, x_axis_2",
"queryType": "sql",
"customQuery": false
},
{
"id": "Panel_ID35610",
"type": "line",
"fields": {
"stream": "az_metrics",
"stream_type": "logs",
"x": [
{
"label": "Timestamp",
"alias": "x_axis_1",
"column": "_timestamp",
"color": null,
"aggregationFunction": "histogram"
}
],
"y": [
{
"label": "Maximum",
"alias": "y_axis_1",
"column": "maximum",
"color": "#5960b2",
"aggregationFunction": "max"
}
],
"filter": [
{
"type": "condition",
"values": [],
"column": "metricname",
"operator": "=",
"value": "'OriginHealthPercentage'"
}
]
},
"config": {
"title": "OriginHealthPercentage",
"description": "",
"show_legends": true,
"legends_position": null,
"promql_legend": ""
},
"query": "SELECT histogram(_timestamp) as \"x_axis_1\", max(maximum) as \"y_axis_1\" FROM \"az_metrics\" WHERE metricname = 'OriginHealthPercentage' GROUP BY x_axis_1 ORDER BY x_axis_1",
"queryType": "sql",
"customQuery": false
}
],
"layouts": [
{
"x": 0,
"y": 0,
"w": 6,
"h": 9,
"i": 1,
"panelId": "Panel_ID5394810",
"static": false
},
{
"x": 6,
"y": 0,
"w": 6,
"h": 9,
"i": 2,
"panelId": "Panel_ID9770010",
"static": false
},
{
"x": 0,
"y": 9,
"w": 6,
"h": 8,
"i": 3,
"panelId": "Panel_ID9534410",
"static": false
},
{
"x": 6,
"y": 9,
"w": 6,
"h": 8,
"i": 4,
"panelId": "Panel_ID35610",
"static": false
}
],
"variables": null
}