4920 Commits

Author SHA1 Message Date
ahrefabhi
a7aee24911 chore: fix minor spelling mistake 2025-07-14 11:49:58 +05:30
ahrefabhi
f532014e27 fix: added fix for spanscopeselector 2025-07-14 11:41:45 +05:30
ahrefabhi
db7c08cbb4 chore: segregated removequery in a util and fixed clear all 2025-07-13 18:00:15 +05:30
ahrefabhi
23dc7b6702 chore: added relavant comments 2025-07-13 17:28:13 +05:30
ahrefabhi
82b09c3c0a fix: fix for all selection not working in checkbox quick filter 2025-07-13 17:25:27 +05:30
ahrefabhi
856db65374 fix: optimize filter processing by removing redundant set and improving query pair checks 2025-07-09 18:28:17 +05:30
ahrefabhi
896716fc09 fix: improve filter expression formatting and prevent duplicates in existing query conversion 2025-07-09 16:32:07 +05:30
ahrefabhi
04b8d3c9c2 chore: added fixes for quick filtes to work with the new query builder 2025-07-09 14:44:01 +05:30
ahrefabhi
c4d3c5f6c4 feat: enhance filter conversion with existing query support and array operator handling 2025-07-09 14:43:02 +05:30
Yunus M
e0582f6edb chore: remove unwanted parser generated files 2025-07-08 17:11:29 +05:30
Abhi kumar
7c05113d8e feat: run query on mod-enter (#8454) 2025-07-08 17:11:29 +05:30
Abhi kumar
de366c7ef6 fix: context issues with query builder (#8452)
* fix: update type handling for selectColumns in useOptionsMenu

* chore: updated grammer for value, added parsetree for finding current context

* feat: added IS_NULL and IS_NOT_NULL operators and fixed support for not value operators

* feat: enhance query context to support detection of values wrapped in quotes

* feat: add support for negation context in query processing

* chore: added grammer parity for frontend grammer with main grammer

* feat: enhance query processing to support negation context and improve space handling

* fix: simplify condition for wrapping string values in quotes and comment out query context display

* feat: enhance IQueryPair to support multi-value operators and update query context handling

* fix(query): added fix for multi value context and in-place replacement

* fix: suggestions disappearing after dot

* fix(query): deduplicate key suggestions using a Map to preserve order

* fix(query): handle in-place operator type replacements in query context

* fix(query): add comment to clarify in-place operator replacement logic

* feat(query): suggestiong operators based on key type

* feat(query): add 'apply' property to value and number suggestions

* feat(query): enhance query pair extraction, removed dependency for conjunction

* fix(query): add isQueryPairComplete function and fixed querypair extraction logic

* feat(constants): introduce antlrQueryConstants for operators and key types

* refactor(query): replace OPERATORS.EXISTS with NON_VALUE_OPERATORS for improved claritya

* feat: enhance QuerySearch with improved fetching logic and state management for value suggestions

* feat: add custom key handling for CodeMirror in QuerySearch component

* fix: segment fragment to allow hyphen without trailing dot in FilterQuery grammar
2025-07-08 17:11:29 +05:30
SagarRajput-7
8c5f56abd7 fix: new query builder misc fixes (#8361)
* fix: fixed metric having clause and traces order sorting

* fix: removed noop from suggestions and default values

* fix: handled qb - order, group and having's vertical expansion

* fix: fixed infinite loop of states around operator

* fix: removed hadrcoded values suggestion for Having Filter

* fix: added metricName to the metric where clause keys api

* fix: implemented the filter retention across view switch in explorer pages

* feat: added multi-aggregation support for panels

* feat: multi-aggregation for explorer pages and alert also

* feat: added safety check of null series

* feat: added feat to allow only 1 aggregation for number and pie

* feat: fixes around multi-aggregation

* feat: query_range v5 error handling

* feat: removed the  stepInterval default and added auto as placeholder

* feat: added support for multiaggregation in columnUnit and thresholds

* feat: added new span_id and trace_id syntax to the trace detail redirection

* feat: enhanced the metric qb layout and bring back old explorer options UI

* feat: use new '/fields/keys' in aggreagtions
2025-07-08 17:11:29 +05:30
SagarRajput-7
5820b0ba46 feat: new qb selectedfields changes for logs and traces (#8377) 2025-07-08 17:11:29 +05:30
SagarRajput-7
1e2dd240a5 feat: new query builder misc fixes (#8359)
* feat: qb fixes

* feat: fixed handlerunquery props

* feat: fixes logs list order by

* feat: fix logs order by issue

* feat: safety check and order by correction

* feat: updated version in new create dashboards

* feat: added new formatOptions for table and fixed the pie chart plotting

* feat: keyboard shortcut overriding issue and pie ch correction in dashboard views

* feat: fixed dashboard data state management across datasource * paneltypes

* feat: fixed explorer pages data management issues

* feat: integrated new backend payload/request diff, to the UI types

* feat: fixed the collapse behaviour of QB - queries

* feat: fix order by and default aggregation to count()
2025-07-08 17:11:29 +05:30
SagarRajput-7
b79ff25682 feat: resolved conflicts 2025-07-08 17:11:29 +05:30
SagarRajput-7
6d1d48e156 Query builder misc - fixes (#8295)
* feat: trace and logs explorer fixes

* fix: ui fixes

* fix: handle multi arg aggregation

* feat: explorer pages fixes

* feat: added fixes for order by for datasource

* feat: metric order by issue

* feat: support for paneltype selectedview tab switch

* feat: qb v2 compatiblity with url's composite query

* feat: conversion fixes

* feat: where clause and aggregation fix

---------

Co-authored-by: Yunus M <myounis.ar@live.com>
2025-07-08 17:11:29 +05:30
Yunus M
62c56d2150 feat: fetch more keys is complete list not already fetched 2025-07-08 17:11:29 +05:30
SagarRajput-7
aa544f52f3 feat: query_range migration from v3/v4 -> v5 (#8192)
* feat: query_range migration from v3/v4 -> v5

* feat: cleanup files

* feat: cleanup code

* feat: metric payload improvements

* feat: metric payload improvements

* feat: data retention and qb v2 for dashboard cleanup

* feat: corrected datasource change daata updatation in qb v2

* feat: fix value panel plotting with new query v5

* feat: alert migration

* feat: fixed aggregation css

* feat: explorer pages migration

* feat: trace and logs explorer fixes
2025-07-08 17:11:29 +05:30
Yunus M
996080aaf8 fix: responsiveness issues 2025-07-08 17:11:29 +05:30
Yunus M
200b714306 feat: where clause key updates 2025-07-08 17:11:29 +05:30
Yunus M
467e8ff288 feat: update styles for light mode 2025-07-08 17:11:29 +05:30
Yunus M
2dae184976 feat: show errors 2025-07-08 17:11:29 +05:30
Yunus M
af7f1def55 feat: update context and show suggestions on select 2025-07-08 17:11:29 +05:30
Yunus M
f30d95fd5f feat: add a space after selecting a value from suggestion 2025-07-08 17:11:29 +05:30
Yunus M
78b4f2c698 feat: improve suggestion ux in query search 2025-07-08 17:11:29 +05:30
Yunus M
54c1874cc2 feat: ui improvements 2025-07-08 17:11:29 +05:30
Yunus M
b01f95452f feat: handle close on blur 2025-07-08 17:11:29 +05:30
Yunus M
04d49fceef feat: query search component clean up 2025-07-08 17:11:29 +05:30
Yunus M
82851e79db feat: handle having option autocomplete ux 2025-07-08 17:11:29 +05:30
Yunus M
b1da482b2c feat: disable clicking on placeholder items in suggestions 2025-07-08 17:11:29 +05:30
Yunus M
0c9f06850a feat: improve having suggestions 2025-07-08 17:11:29 +05:30
Yunus M
7e18087db6 feat: handle add ons 2025-07-08 17:11:29 +05:30
Yunus M
b8414ad715 feat: handle list panel type options 2025-07-08 17:11:29 +05:30
Yunus M
43f8c2dce6 feat: pass index to query addons 2025-07-08 17:11:29 +05:30
Yunus M
50849815d5 feat: update qb elements based on panel type 2025-07-08 17:11:29 +05:30
Yunus M
3a38e3fff6 feat: hide extra qb elements 2025-07-08 17:11:29 +05:30
Yunus M
69d1ab3813 feat: use qb-v2 in explorers and alerts 2025-07-08 17:11:29 +05:30
Yunus M
dc8ef8fa06 feat: update explorer views 2025-07-08 17:11:29 +05:30
Yunus M
6c69dc4a0b feat: update logs, metrics and traces qb 2025-07-08 17:11:29 +05:30
Yunus M
7254772e70 feat: query builder layout updates 2025-07-08 17:11:29 +05:30
Yunus M
3e72d3fd02 fix: minor fixes 2025-07-08 17:11:29 +05:30
Yunus M
656d9a11ad feat: create separate containers for traces, logs and metrics qbs 2025-07-08 17:11:29 +05:30
Yunus M
6afd9258d2 feat: metrics qb 2025-07-08 17:11:29 +05:30
Yunus M
d140475a80 fix: update dropdown css 2025-07-08 17:11:29 +05:30
Yunus M
99f5acff1d feat: remove () from suggestions 2025-07-08 17:11:29 +05:30
Yunus M
8669d94e9c feat: handle parenthesis and conjunction operators 2025-07-08 17:11:29 +05:30
Yunus M
5eaba94528 feat: support multiple having key value pairs 2025-07-08 17:11:29 +05:30
Yunus M
4a4400170f feat: move state to context 2025-07-08 17:11:29 +05:30
Yunus M
6afea4e075 feat: handle having options creation 2025-07-08 17:11:29 +05:30