Commit Graph
100 Commits
Author SHA1 Message Date
Leon Sorokinanddrew08t f7fcc14f69 Transformations: Add field from calc - avoid frame joining in some cases (#93602)
* Transformations: Add field from calc - avoid frame joining in some cases

* Add test for multiple query, 1 field, replace all

* omit frames that had no binary ops performed on them

---------

Co-authored-by: drew08t <drew08@gmail.com>
2024-10-23 15:14:06 -07:00
Leon SorokinandIhor Yeromin 594e9b1b73 BarChart: Skip formatting null-valued ticks (#94935)
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
2024-10-21 22:29:51 +03:00
Leon Sorokin 165ca3b4e8 Chore: uPlot v1.6.31 (#93952) 2024-09-27 23:11:05 -05:00
Leon Sorokin 77eefcbc4c XYChart: Avoid tick collisions on x-axis (#93195) 2024-09-11 08:10:30 -05:00
Leon Sorokin e9901acfb4 TimeSeries: Increase y-axis tick density for small-height panels (#93188) 2024-09-10 15:20:24 -05:00
Leon Sorokin f650a17030 Transformations: Fix inner join by field for zero-length frames (#93144) 2024-09-09 21:22:03 -05:00
Leon Sorokin 53e59b27cd FieldColor: Prefer displayName for hashing (#93062)
* FieldColor: Prefer displayName for hashing
2024-09-09 17:58:22 +00:00
Leon Sorokin fc4b3a2b03 Prometheus: Retain time field's interval with Table formatted queries (#93065) 2024-09-08 13:18:58 -05:00
Leon Sorokin 43c960dc97 Templating: Fix searching non-latin template variables (#92789) 2024-09-03 17:22:04 -05:00
Leon Sorokin 74ebc66520 VizTooltip: Fix positioning at bottom and right edges on mobile (#92042) 2024-08-20 08:48:37 -05:00
Leon Sorokin 1b6362a807 TimeSeries: Use original frames for creating data links (#91598) 2024-08-06 14:20:24 -05:00
Leon Sorokin 7c0ee6ebe4 Heatmap: Skip null values instead of treating as 0 (#91424) 2024-08-01 15:40:43 -05:00
Leon Sorokin 90349b21f7 VizTooltip: Hide on page scroll even if anchored (#91084) 2024-07-26 22:27:49 +03:00
Leon Sorokin 06a5c970c4 VizTooltip: Wrap labels to new lines when > ~50% screen width (#90798) 2024-07-22 15:52:36 -05:00
Leon Sorokin c2cd32ab64 Table: Don't error if first frame is field-less (empty response) (#89867) 2024-06-28 02:58:49 +03:00
Leon Sorokin 0f01db4025 VizTooltip: Keep visible while hovering during data updates (#89708) 2024-06-25 20:00:47 +03:00
Leon Sorokin 74bcfb284c Heatmap: Use dashboard timeRange for auto-sizing x buckets (#89382) 2024-06-18 21:51:20 -05:00
Leon Sorokin f32afbcb0a BarChart: Fix bar widths changing when toggling series (#89010) 2024-06-11 16:43:39 +03:00
Leon Sorokin 89a0bec208 Transformations: Keep original field.labels.name when joining frames (#88873) 2024-06-10 09:16:58 -05:00
Leon Sorokin 87cafbf9af XYChart2: Implement color-by-field (#88467) 2024-06-03 11:53:59 -05:00
Leon Sorokin a257b74d6e TooltipPlugin: Fix console error when data updates while anchored (#88546) 2024-05-31 13:17:54 -05:00
Leon SorokinandAdela Almasan f43ed7e6d7 BarChart: Refactor and VizTooltip fixes (#87160)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-05-10 12:58:53 -05:00
Leon Sorokin d1b67847a2 Migrations: Graph (old) percent stacked (#84335) 2024-04-25 12:51:07 -05:00
Leon Sorokin 7754d0d4dc XYChart2: Remove common series name from tooltip items (#86739) 2024-04-23 05:24:39 +02:00
Leon Sorokin 9682022b1d Transforms: Fix 'Filter data by values' removing rows in unrelated frames (#86087) 2024-04-17 09:07:23 -05:00
Leon Sorokin 2bedbcf344 TimeSeries: Fix series rendering with data links and extra fields (#86007) 2024-04-12 14:11:22 +02:00
Leon Sorokin 130d561924 Chore: Restore some removed UI components to reduce BC surface area (#85546) 2024-04-04 04:31:28 -05:00
Leon SorokinandAdela Almasan 1522499c4a VizTooltips: Remove remaining old bits (#85500)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-04-02 19:32:01 -05:00
Leon SorokinandAdela Almasan d601acac3a VizTooltips: Remove old tooltips and annotations (#84420)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-04-02 15:32:46 -05:00
Leon Sorokin db6b51cb88 OptionsPicker: Allow storing raw input even when matches exist (#84790) 2024-03-29 01:18:02 +02:00
Leon Sorokin 1ffeb7c365 StateTimeline: Fix data links causing unrendering of string fields (#85260) 2024-03-27 13:19:13 -05:00
d7fa99e2df XYChart: Refactor to new model (behind feature toggle) (#82499)
Co-authored-by: drew08t <drew08@gmail.com>
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
2024-03-22 10:44:37 -05:00
Leon Sorokin 2e6bb6416d VizTooltips: Fix position during bottom or right edge initial hover (#84623) 2024-03-18 11:20:43 -05:00
Leon Sorokin 608b40b2a8 Transforms: Fix field matching in Format time, and add tpl var interpolation (#84239) 2024-03-12 17:55:23 -05:00
Leon Sorokin 220fea966b CursorSync: Extract EventBus logic into shared plugin (#84111) 2024-03-12 17:15:38 -05:00
Leon Sorokin 57df3b84dc StateTimeline: Treat second time field as state endings (#84130) 2024-03-10 22:11:11 -05:00
Leon Sorokin f11b10a10c BarChart: Show tooltip options unconditionally (#84109) 2024-03-08 02:10:56 +02:00
Leon SorokinandAdela Almasan d549a3aabb VizTooltips: Heatmap fixes and improvements (#83876)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-03-06 19:30:33 -06:00
Leon Sorokin 8b9bc9a919 Histogram: Fix 'combine' option & legend rendering (#84026) 2024-03-06 20:50:28 +02:00
Leon Sorokin e88858edb1 Histogram: Fix heuristic for x axis distribution from bucket progression (#83975) 2024-03-06 11:27:46 -06:00
Leon SorokinandTorkel Ödegaard 1dc6014b10 Dashboard: Revert descending z-index changes (#83466)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2024-03-06 16:31:54 +02:00
Leon Sorokin a4b31ed140 BarChart: Improve x=time tick formatting (#83853) 2024-03-05 19:03:50 -06:00
Leon Sorokin 7cf419c09a Dashboard: Revert LayoutItemContext (#83465) 2024-03-04 16:47:20 +02:00
Leon Sorokin 859ecf2a34 VizTooltips: Render data links only when anchored (#83737) 2024-02-29 17:28:37 -06:00
Leon Sorokin 42b55aedbc DataLinks: Handle getLinks() regen during data updates and frame joining (#83654) 2024-02-29 21:46:53 +02:00
Leon Sorokin 5eb7e09351 VizTooltips: Show data links without anchoring (#83638) 2024-02-28 17:06:05 -06:00
Leon Sorokin 9190fb28e8 VizTooltip: Improve edge positioning and a11y (#83584) 2024-02-28 11:42:46 -06:00
Leon Sorokin 5c60f4d468 VizTooltip: Remove use of LayoutItemContext (#83542) 2024-02-27 13:33:33 -06:00
Leon Sorokin 0f1cefa942 VizTooltip: Cleanup (#83462) 2024-02-27 12:07:55 -06:00
Leon Sorokin 93fef224ae TimeSeries: Don't re-init chart with bars style on data updates (#83355) 2024-02-27 03:41:39 +02:00
Leon SorokinandAdela Almasan 2c3596854f BarChart: TooltipPlugin2 (#80920)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-02-26 19:18:40 -06:00
Leon Sorokin 4db30754a6 Graph (old): Migrate right y axis to TimeSeries via custom.axisPlacement (#83452) 2024-02-26 18:22:36 -06:00
Leon SorokinandAdela Almasan 6e6b9a62a2 VizTooltips: Use global portal (#81986)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-02-24 00:18:24 +02:00
Leon Sorokin dbbbfa282d StateTimeline: Properly type tooltip prop, remove ts-ignore (#83189) 2024-02-22 06:14:53 -06:00
Leon Sorokin 94a274635b VizTooltips: Fix series labels after zooming (#82985) 2024-02-17 00:38:13 -06:00
Leon Sorokin edb799bf82 VizTooltips: Fix drag-zoom causing annotation init in other shared-cursor panels (#82986) 2024-02-17 00:35:41 -06:00
Leon Sorokin 4b67ac117f VizTooltips: Fix sorting (#82278) 2024-02-15 12:54:43 -06:00
Leon Sorokin 02d61857ab Annotations: Fix axis markers rendering in wrong (stale) positions (#82219) 2024-02-09 06:55:09 -06:00
Leon Sorokin 930c8c5aa3 EventBus: Add ability to tag events with arbitrary classification meta (#82087) 2024-02-08 16:15:32 -06:00
Leon Sorokin d5ac9340e5 Histogram: Add approx bucket count option (#80990) 2024-02-05 11:09:36 -06:00
Leon Sorokin 86b16ea62a Histogram: Start y-axis at 0, set default color mode to classic palette (#81759) 2024-02-02 01:57:08 -06:00
Leon Sorokin 226c76dc93 TimeSeries: Simplify hover proximity code (#81518) 2024-01-29 23:34:43 +02:00
Leon Sorokin 6a61c3da2e TooltipPlugin2: Improve containment inside ancestors that hide overflow (#81442) 2024-01-29 06:36:28 +02:00
Leon Sorokin d34bd1dc90 Chore: uPlot v1.6.29 (#81441) 2024-01-28 21:45:28 -06:00
Leon Sorokin 835ded5eec Histogram: Fix x-axis going past +Inf when rendering heatmap-rows frames (#81438) 2024-01-28 21:33:34 -06:00
Leon Sorokinandnmarrs 0530021396 Field: Fix perf regression in getUniqueFieldName() (#81323)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-01-27 00:32:12 +02:00
Leon Sorokin 391f3ca615 VizTooltips: Don't use y scales for sync, since they rarely match (#81031) 2024-01-23 00:08:03 -06:00
Leon Sorokin 2c5289028d AnnotationsPlugin2: Skip zero-length, field-less, and time-less frames (#80810) 2024-01-18 08:34:28 -06:00
Leon Sorokin 2aa533c6c5 AnnotationsPlugin2: Skip exemplar frames (#80760) 2024-01-17 14:08:30 -06:00
Leon SorokinandAdela Almasan b53e0521d2 Panels: AnnotationsPlugin2 (#79531)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-01-12 09:02:40 +02:00
Leon Sorokin 31921bbb01 DashboardGrid: Add LayoutItemContext to affect zIndex from panels (#80116) 2024-01-10 12:09:54 -06:00
Leon Sorokin 200c71f5d6 VizTooltips: Optimize performance (#80102) 2024-01-05 16:07:04 -06:00
1ec04243da Heatmap: All tooltip mode selector (#79956)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-01-05 13:11:24 -06:00
Leon Sorokin 7210e378b8 TimeSeries: Fix stacking opacity accumulation on exit from PanelEdit (#80006) 2024-01-03 22:56:03 -06:00
Leon SorokinandRyan McKinley fb79be4a43 Transformations: Add frame source picker to allow transforming annotations (#77842)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2024-01-02 23:33:31 -06:00
Leon Sorokin b3387793f1 Chore: uPlot v1.6.28 (#79732) 2023-12-29 13:43:15 -06:00
Leon Sorokin 36a3508a0f BarChart: Show "No data" message for zero-length frames (#79844) 2023-12-22 22:04:50 -06:00
Leon Sorokin 09cef892a5 OptionsPicker: Use fuzzy search and improve ranking of matches (#79286) 2023-12-12 16:41:50 -06:00
Leon Sorokin 19cda38f1b PanelQueryRunner: Shallow diff series DataFrames (#79257) 2023-12-12 16:11:17 -06:00
Leon Sorokin 393711c3a1 Transformations: Add (base field name) to Join transformer (#79192) 2023-12-06 19:17:01 -06:00
406704a027 XYChart: Add demo gdev dashboard (#71168)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-11-29 19:54:16 +02:00
Leon Sorokin 2ac60dc300 Chore: Remove core-js polyfills (#78715) 2023-11-29 11:12:23 -06:00
Leon SorokinandAndrej Ocenas 0daf0ad4b8 FlameGraph: Optimize rendering of muted regions (#78510)
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2023-11-28 11:01:14 -06:00
Leon Sorokin b022ddeee8 VizLegend: Implement natural sort, simplify, optimize (#78570) 2023-11-27 16:39:43 -06:00
Leon Sorokin d1cffdc58a HeatmapTooltip: Refactor to simplify upcoming PRs (#78436) 2023-11-21 10:16:45 -06:00
Leon Sorokin 768fde02aa TooltipPlugin2: Absorb ZoomPlugin (#78160) 2023-11-15 17:23:54 -06:00
Leon Sorokin 11bbf83f93 PanelConfig: Interpolate template vars for Axis label (#78086) 2023-11-14 10:17:06 -06:00
Leon Sorokin 8081fc8dfc TooltipPlugin2: Various fixes for different panel types (#77958) 2023-11-09 15:14:59 -06:00
Leon Sorokin ced9fcb94e StatusHistory/StateTimeline: Re-config plot for tooltip mode in panel edit (#77954) 2023-11-09 11:48:39 -06:00
Leon Sorokin c923e730d5 Heatmap: Add support for exemplar rendering with native heatmap-cells (#77324) 2023-10-30 14:16:57 -05:00
Leon Sorokin 3bc1a8d714 Table: Fix right column alignment (#77339) 2023-10-30 01:09:08 -05:00
Leon Sorokin 85518fbe67 Chore: uPlot v1.6.27 (#77317) 2023-10-27 17:34:05 -05:00
Leon Sorokin c1d674a2c6 Prometheus: Don't post-process native heatmap-cells responses (#77289) 2023-10-27 12:31:21 -05:00
Leon Sorokin 45aa58c4a8 Histogram: Render heatmap-cells and heatmap-rows frames (#77111) 2023-10-26 23:23:01 -05:00
Leon Sorokin fd5ad38f38 Transformers: Avoid mutating field.values in Concatenate transformation (#77179) 2023-10-25 19:05:03 -05:00
Leon Sorokin 3aaeaf4203 Thresholds: Don't use series fill opacity for transparent steps (#77104) 2023-10-26 02:14:41 +03:00
Leon SorokinandTorkel Ödegaard 344e99e069 VizLegend: Omit sectionRight when no right axis exists (#76923)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-10-23 15:01:46 -05:00
Leon Sorokin 41e3b3bea2 ZoomPlugin: Clear selection in shared-cursor dashboards during zoom (#76719) 2023-10-17 16:26:31 -05:00
Leon Sorokin 56c2d8ff40 Snapshots: Fix breakage of some panel types due to missing structureRev (#76586) 2023-10-13 18:56:51 -05:00
Leon Sorokin 2857870bfb TimeSeries: Fix showing datalinks when clicking on a point (#76492) 2023-10-13 05:48:29 -05:00