mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-06 16:09:41 +00:00
### **PR Type** Bug fix, Enhancement, Tests ___ ### **Description** - Fix undefined errors with optional chaining - Improve table virtualization and index mapping - Enhance RUM filters and multi-select queries - Standardize formatting and styling ___ <details> <summary><h3> File Walkthrough</h3></summary> <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Tests</strong></td><td><details><summary>1 files</summary><table> <tr> <td><strong>SearchBar.spec.ts</strong><dd><code>Skip specific tests and adjust string formatting</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10101/files#diff-12619581fdac90b37d81453dc0d18c77a5b9d61f882cc75fc3fe344c392a36f7">+38/-12</a> </td> </tr> </table></details></td></tr><tr><td><strong>Bug fix</strong></td><td><details><summary>2 files</summary><table> <tr> <td><strong>PerformanceSummary.vue</strong><dd><code>Add optional chaining to prevent undefined errors</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10101/files#diff-fdf59594c111c1af03772c9deef4ba07cf2c2d00c9609737a0ea3e3c76fb1c1b">+5/-2</a> </td> </tr> <tr> <td><strong>IndexList.vue</strong><dd><code>Refactor clear filter logic and style attributes</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10101/files#diff-08f058f883b659e713e606991a7ea37ae1ff016b7cccef970489ab5840dc3d09">+37/-27</a> </td> </tr> </table></details></td></tr><tr><td><strong>Enhancement</strong></td><td><details><summary>3 files</summary><table> <tr> <td><strong>TenstackTable.vue</strong><dd><code>Improve virtualization overscan and index calculations</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10101/files#diff-bc3c669f5ab65a42ae378df1f7d6b35014c9c220790bdcc72b47f55d1385dc22">+51/-16</a> </td> </tr> <tr> <td><strong>AppPerformance.vue</strong><dd><code>Enhance refresh button UI and handle data zoom</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10101/files#diff-c58834a470a751414b76861fc61e03433319a135976ed38de80d036c4da4ff4b">+56/-2</a> </td> </tr> <tr> <td><strong>AppSessions.vue</strong><dd><code>Add null-safe frustration count and SQL logic</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10101/files#diff-08359708ae507d81dcdc60e3c05ba4f56a40f4a61718074cd6019bf2ceb87575">+13/-6</a> </td> </tr> </table></details></td></tr><tr><td><strong>Formatting</strong></td><td><details><summary>1 files</summary><table> <tr> <td><strong>tenstack-table.scss</strong><dd><code>Comment CSS performance hints for content visibility</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10101/files#diff-0175daf538e52ff95480cb40fadf8e26564474f15e39c5fe2d628f2d7e72aa78">+5/-0</a> </td> </tr> </table></details></td></tr><tr><td><strong>Configuration changes</strong></td><td><details><summary>4 files</summary><table> <tr> <td><strong>api.json</strong><dd><code>Support multi-select clauses in SQL queries</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10101/files#diff-e69ec55ce96256b60a0169f2e4c2e8c9989b83b8eddd6273328ee99a1aef56b4">+12/-6</a> </td> </tr> <tr> <td><strong>errors.json</strong><dd><code>Apply multi-select variables in error panels</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10101/files#diff-23bd1f63bdb19c45ea53ff3330bc164f45d172b6a484ca3c1998f64fd0f8356e">+13/-7</a> </td> </tr> <tr> <td><strong>overview.json</strong><dd><code>Update overview queries for multi-select filters</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10101/files#diff-92692b084688fa09692837dd0608e6fb648a9b0224d218fd17c1b98c51790a10">+16/-10</a> </td> </tr> <tr> <td><strong>web_vitals.json</strong><dd><code>Enable multi-select in web vitals variables</code> </dd></td> <td><a href="https://github.com/openobserve/openobserve/pull/10101/files#diff-6dd630a36b4bf3a840ca4cc875209148fbbcb4c51db3d5b1997e2eabb7cf4b60">+27/-21</a> </td> </tr> </table></details></td></tr></tr></tbody></table> </details> ___
205 lines
5.8 KiB
JSON
205 lines
5.8 KiB
JSON
{
|
|
"version": 2,
|
|
"dashboardId": "",
|
|
"title": "Rum - Copy",
|
|
"description": "",
|
|
"role": "",
|
|
"owner": "",
|
|
"created": "2023-10-24T07:44:23.588Z",
|
|
"panels": [
|
|
{
|
|
"id": "Panel_ID646411",
|
|
"type": "table",
|
|
"title": "Top Slowest Resources",
|
|
"description": "",
|
|
"config": {
|
|
"show_legends": true,
|
|
"legends_position": null,
|
|
"base_map": { "type": "osm" },
|
|
"map_view": { "zoom": 1, "lat": 0, "lng": 0 }
|
|
},
|
|
"queryType": "sql",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT avg(resource_duration/1000000) as \"y_axis_1\", SPLIT_PART(resource_url, '?', 1) as \"x_axis_1\" FROM \"_rumdata\" where resource_duration>=0 and resource_method is not null and service in ($service) and env in ($env) and version in ($version) GROUP BY x_axis_1 ORDER BY x_axis_1 LIMIT 10",
|
|
"customQuery": true,
|
|
"fields": {
|
|
"stream": "_rumdata",
|
|
"stream_type": "logs",
|
|
"x": [
|
|
{
|
|
"label": "Resource URL",
|
|
"alias": "x_axis_1",
|
|
"column": "x_axis_1",
|
|
"color": null
|
|
}
|
|
],
|
|
"y": [
|
|
{
|
|
"label": "Duration (ms)",
|
|
"alias": "y_axis_1",
|
|
"column": "y_axis_1",
|
|
"color": "#5960b2",
|
|
"aggregationFunction": "avg"
|
|
}
|
|
],
|
|
"z": [],
|
|
"filter": []
|
|
},
|
|
"config": {
|
|
"promql_legend": "",
|
|
"layer_type": "scatter",
|
|
"weight_fixed": 1
|
|
}
|
|
}
|
|
],
|
|
"layout": { "x": 0, "y": 0, "w": 6, "h": 8, "i": 1 }
|
|
},
|
|
{
|
|
"id": "Panel_ID646412",
|
|
"type": "table",
|
|
"title": "Top Heaviest Resources",
|
|
"description": "",
|
|
"config": {
|
|
"show_legends": true,
|
|
"legends_position": null,
|
|
"base_map": { "type": "osm" },
|
|
"map_view": { "zoom": 1, "lat": 0, "lng": 0 }
|
|
},
|
|
"queryType": "sql",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT avg(resource_size/1024) as \"y_axis_1\", SPLIT_PART(resource_url, '?', 1) as \"x_axis_1\" FROM \"_rumdata\" where resource_size>=0 and service in ($service) and env in ($env) and version in ($version) GROUP BY x_axis_1 ORDER BY x_axis_1 LIMIT 10",
|
|
"customQuery": true,
|
|
"fields": {
|
|
"stream": "_rumdata",
|
|
"stream_type": "logs",
|
|
"x": [
|
|
{
|
|
"label": "Resource URL",
|
|
"alias": "x_axis_1",
|
|
"column": "x_axis_1",
|
|
"color": null
|
|
}
|
|
],
|
|
"y": [
|
|
{
|
|
"label": "Size (kb)",
|
|
"alias": "y_axis_1",
|
|
"column": "y_axis_1",
|
|
"color": "#5960b2",
|
|
"aggregationFunction": "avg"
|
|
}
|
|
],
|
|
"z": [],
|
|
"filter": []
|
|
},
|
|
"config": {
|
|
"promql_legend": "",
|
|
"layer_type": "scatter",
|
|
"weight_fixed": 1
|
|
}
|
|
}
|
|
],
|
|
"layout": { "x": 6, "y": 0, "w": 6, "h": 8, "i": 2 }
|
|
},
|
|
{
|
|
"id": "Panel_ID646413",
|
|
"type": "table",
|
|
"title": "Top Error Resources",
|
|
"description": "",
|
|
"config": {
|
|
"show_legends": true,
|
|
"legends_position": null,
|
|
"base_map": { "type": "osm" },
|
|
"map_view": { "zoom": 1, "lat": 0, "lng": 0 }
|
|
},
|
|
"queryType": "sql",
|
|
"queries": [
|
|
{
|
|
"query": "SELECT count(*) as \"y_axis_1\", SPLIT_PART(resource_url, '?', 1) as \"x_axis_1\" FROM \"_rumdata\" where resource_status_code>400 and service in ($service) and env in ($env) and version in ($version) GROUP BY x_axis_1 ORDER BY x_axis_1 LIMIT 10",
|
|
"customQuery": true,
|
|
"fields": {
|
|
"stream": "_rumdata",
|
|
"stream_type": "logs",
|
|
"x": [
|
|
{
|
|
"label": "Resource URL",
|
|
"alias": "x_axis_1",
|
|
"column": "x_axis_1",
|
|
"color": null
|
|
}
|
|
],
|
|
"y": [
|
|
{
|
|
"label": "Error Count",
|
|
"alias": "y_axis_1",
|
|
"column": "y_axis_1",
|
|
"color": "#5960b2",
|
|
"aggregationFunction": "avg"
|
|
}
|
|
],
|
|
"z": [],
|
|
"filter": []
|
|
},
|
|
"config": {
|
|
"promql_legend": "",
|
|
"layer_type": "scatter",
|
|
"weight_fixed": 1
|
|
}
|
|
}
|
|
],
|
|
"layout": { "x": 0, "y": 6, "w": 6, "h": 8, "i": 3 }
|
|
}
|
|
],
|
|
"variables": {
|
|
"list": [
|
|
{
|
|
"type": "query_values",
|
|
"name": "service",
|
|
"label": "Service",
|
|
"query_data": {
|
|
"stream_type": "logs",
|
|
"stream": "_rumdata",
|
|
"field": "service",
|
|
"max_record_size": null
|
|
},
|
|
"value": "",
|
|
"options": [],
|
|
"selectAllValueForMultiSelect": "all",
|
|
"multiSelect": true
|
|
},
|
|
{
|
|
"type": "query_values",
|
|
"name": "env",
|
|
"label": "Env",
|
|
"query_data": {
|
|
"stream_type": "logs",
|
|
"stream": "_rumdata",
|
|
"field": "env",
|
|
"max_record_size": null
|
|
},
|
|
"value": "",
|
|
"options": [],
|
|
"selectAllValueForMultiSelect": "all",
|
|
"multiSelect": true
|
|
},
|
|
{
|
|
"type": "query_values",
|
|
"name": "version",
|
|
"label": "Version",
|
|
"query_data": {
|
|
"stream_type": "logs",
|
|
"stream": "_rumdata",
|
|
"field": "version",
|
|
"max_record_size": null
|
|
},
|
|
"value": "",
|
|
"options": [],
|
|
"selectAllValueForMultiSelect": "all",
|
|
"multiSelect": true
|
|
}
|
|
]
|
|
}
|
|
}
|