Commit Graph
100 Commits
Author SHA1 Message Date
Leon Sorokin fe45dc9f27 XYChart: Fix axis range and scale overrides (#70605) 2023-06-23 10:50:36 -05:00
Leon Sorokin 0f7407dd91 XYChart: Remove some panel opts that can't logically apply (#70202) 2023-06-23 08:18:48 -05:00
Leon Sorokin 3007e3b209 XYChart: Ensure color scale is field-local and synced with data updates (#70480) 2023-06-21 16:23:52 -05:00
Leon Sorokin 1db0ace5e7 Viz: get UPlotChart out of the timeRange business (#70412) 2023-06-21 13:10:25 -05:00
Leon Sorokin 66b0e6b77f XYChart/Trend: Fix min/max and units/decimals x-field overrides (#70214) 2023-06-16 11:10:53 -05:00
Leon Sorokin 7d4f7e5ffc XYChart: Fix variable interpolation in datalinks/toggletip (#70195) 2023-06-15 19:04:41 -06:00
Leon Sorokin 94881597d8 XYChart: Fix formatting of axis ticks (units, decimals) (#70190) 2023-06-15 11:32:20 -05:00
Leon Sorokin cc8bedc173 Heatmap: Sort fields by numeric names when single frame (#69879) 2023-06-10 23:12:29 -05:00
Leon Sorokin 014126a43e TimeSeries: Fix centeredZero y axis ranging when all values are 0 (#69034) 2023-05-25 13:25:26 -06:00
Leon Sorokin 37e2becdd7 StatusHistory: Fix rendering of value-mapped null (#69033) 2023-05-25 13:38:32 -05:00
Leon Sorokin 8ba1762618 PanelQueryRunner: Ensure same transformations before reusing lastProcessedFrames (#68498) 2023-05-15 15:48:03 -05:00
Leon Sorokin ea0bf989cb XYChart: Use fixed opacity, reduce memory pressure (#68423) 2023-05-12 18:56:12 -05:00
Leon Sorokin b96a2c1b62 Candlestick: Fix panel not rendering in candles-only mode (#68279) 2023-05-11 15:38:01 +03:00
Leon Sorokin 8f8baf1a07 Histogram: Respect min/max panel settings for x-axis (#62273) 2023-05-10 09:52:16 -06:00
Leon Sorokin 1400a0a3f7 Heatmap: Fix color rendering for value ranges < 1 (#68156) 2023-05-09 23:16:35 -05:00
Leon Sorokin f100a4c680 Heatmap: Handle unsorted timestamps in calculate mode (#68111) 2023-05-09 15:24:13 -06:00
Leon Sorokin e5aeb7c322 TimeSeries: Fix leading null-fill for missing intervals (#67570) 2023-04-28 23:35:32 -05:00
faad4b92ad GrafanaDS: Add support for annotation time regions (#65462)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-04-21 23:25:50 +03:00
Leon SorokinandRyan McKinley b24ba7b7ae FieldValues: Use plain arrays instead of Vector (part 3 of 2) (#66612)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-04-20 17:59:18 +03:00
75fc678d8a Prometheus: Track incremental query request sizes with Faro (#65244)
Track incremental query usage in Faro

Co-authored-by: leeoniya <leon.sorokin@grafana.com>
Co-authored-by: Galen <galen.kistler@grafana.com>
2023-04-18 08:22:46 -05:00
2b2a4e13e5 Prometheus: Incremental querying option for to: now dashboards (#62932)
Provide new feature in Prometheus dashboards to cache queried time series data, modify requests to not include previously cached data in order to improve dashboard refresh performance. 

Co-authored-by: Galen <galen.kistler@grafana.com>
Co-authored-by: Leon <leon.sorokin@grafana.com>
2023-04-12 13:10:10 -05:00
Leon Sorokin e0ef79f5cc TimeSeries: Don't extend stepped interpolation to graph edges (#65657) 2023-03-31 01:09:40 -06:00
Leon Sorokin 89f3f289eb TimeSeries: Improve stacking direction heuristic (#65499) 2023-03-30 10:30:49 -05:00
Leon Sorokin 8fb64cbefd ErrorView: Better detection of no-data responses (#65477) 2023-03-28 17:55:13 -05:00
Leon Sorokin 6f4232bee3 HeatMap: Sort y buckets when all bucket names are numeric (#65322) 2023-03-28 17:16:24 -05:00
Leon Sorokin 855de98133 TimeSeries: fix & optimize time string parsing (#64640) 2023-03-13 09:59:40 -05:00
Leon SorokinandRyan McKinley 18e3e0ca8d FieldMatchers: Add match by value (reducer) (#64477)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-03-10 17:17:29 -06:00
Leon Sorokin 14251db9ba Chore: uFuzzy 1.0.6 (#64575) 2023-03-10 04:49:02 -07:00
Leon Sorokin 9314fe1056 BarChart: Only apply radius to topmost bar segment when stacking (#63906) 2023-03-01 17:17:55 -06:00
Leon Sorokin 5510fdc3ce TimeSeries: Ignore invalid, user-defined log-y-axis min/max limits (#59758) 2023-03-01 09:16:54 -08:00
Leon Sorokin b2c0175777 TimeSeries: Fix legend and tooltip colors changing after data refreshes (#63823) 2023-02-28 08:16:27 -06:00
Leon Sorokinandjoshhunt 4d564f8b0a Chore: uFuzzy 1.0.2 (#62276)
Co-authored-by: joshhunt <josh@trtr.co>
2023-02-02 09:09:48 -06:00
Leon Sorokin 52955d88a7 TimeSeries: Fix log y scale when min/max settings don't land on divisors (#60768) 2023-01-27 05:52:01 -07:00
Leon Sorokin 4c45dea71d Chore: uPlot 1.6.24 (#62279) 2023-01-27 02:12:19 -06:00
Leon Sorokin 7e7daf48f4 Transforms: make partitionByValues create field labels by default (#61255) 2023-01-17 14:56:23 -06:00
Leon Sorokin be1c5e13d5 DataFrame: Add explicit histogram frame type (panel & transforms) (#61195) 2023-01-10 17:42:45 -06:00
Leon Sorokin a1609230f8 TimeSeries: Fix y-axis Yes/No and On/Off boolean units (#61207) 2023-01-09 23:04:50 -07:00
Leon Sorokinandnmarrs b439fd56d8 Heatmap: Fix bottom bucket range in tooltip (#60562)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-12-23 12:56:07 -06:00
Leon Sorokin e0eacf1b04 StateTimeline: Fix negative infinity legend/tooltip from thresholds (#60279) 2022-12-13 21:56:59 -08:00
Leon Sorokin 8317bf5def BarChart: Fix value mappings (#60066) 2022-12-09 12:52:34 -05:00
Leon Sorokin 435ada45c5 TimeSeries: Better y-axis ticks for IEC units (#59984) 2022-12-09 10:25:44 -07:00
Leon Sorokin e1e858323a TimeSeries: Fix rendering when zooming to time ranges between datapoints (#59444) 2022-12-01 16:01:35 -07:00
Leon Sorokin 122f0d947e BarChart: when horiz, allow rotation and skipping of y tick labels (#59354) 2022-11-29 21:46:39 -05:00
Leon Sorokin 13d5ad2ce2 BarChart: fix hover overlay for hz stacked (#59359) 2022-11-28 06:29:00 -06:00
Leon Sorokin 6f00bc5674 Heatmap: Fix blurry text & rendering (#59260) 2022-11-23 21:55:30 -06:00
Leon SorokinandVegard Vatn 9512f1e1af StateTimeline: Prevent label text from overflowing state rects (#59169)
Co-authored-by: Vegard Vatn <vegard.vatn@avento.no>
2022-11-22 20:58:48 -07:00
Leon Sorokinandxdavidwu 2a8706b025 Heatmap: Fix tooltip y range of top and bottom buckets in calculated heatmaps (#59172)
Co-authored-by: xdavidwu <xdavidwuph@gmail.com>
2022-11-22 20:54:54 -07:00
Leon Sorokin 1f4834a144 Prometheus: fix Heatmap y buckets when legendFormat: auto (#59053) 2022-11-21 10:29:37 -07:00
Leon Sorokin 860e25df3c BarChart: add gdev panel for random threshold from query (#58580) 2022-11-11 08:58:08 -07:00
Leon Sorokin 778337e522 BarChart: Fix coloring from thresholds and value mappings (#58285) 2022-11-10 07:43:32 -06:00
Leon Sorokin 4d88e2b542 TimeSeries: more thorough detection of negative values for stacking dir (#57863) 2022-11-03 07:24:01 -06:00
Leon Sorokin 45234e76eb TimeSeries: Render null-bounded points at data edges (#57798) 2022-10-31 17:50:43 -05:00
Leon Sorokin fbfd0fd51b BarChart: Fix stacked hover (#57711) 2022-10-31 16:48:21 -05:00
Leon Sorokin 7d020d3f6e Candlestick: Maintain candle width at different display resolutions (#57709) 2022-10-27 17:36:59 -05:00
Leon Sorokin 0640eeef0a Number formatting: only 0-trim decimals in y axis ticks. omit currency, locale units. (#57386) 2022-10-21 21:35:29 -06:00
Leon Sorokin 45707ccf99 TimeSeries: fix negative stacked percent y-axis range (#57470) 2022-10-21 15:45:00 -06:00
Leon Sorokin 7eac79b5f8 Number formatting: Strip trailing zeros after decimal point when decimals=auto (#57373) 2022-10-20 17:56:21 -05:00
Leon SorokinandRyan McKinley 883d61d191 Transformers: PartitionByValues (#56767)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-10-20 17:22:02 -05:00
Leon Sorokin 79afad3888 StateTimeline: fix hover overlays when browser-zoomed (#57224) 2022-10-20 06:02:29 -06:00
Leon Sorokin bdb97496ec Routing: an unexpected spelling error happened (#57295) 2022-10-19 16:01:50 -04:00
Leon Sorokin da39c7297b BarChart: use dashboard timezone for x axis (#57047) 2022-10-17 14:06:45 +07:00
Leon Sorokin 4eea326ee8 Candlestick: re-init config when series length changes (#56913) 2022-10-14 04:12:28 -05:00
Leon Sorokin 53ac77d4a5 Heatmap: honor dashboard timezone in x axis and fix tooltip time range (#56909) 2022-10-14 04:11:20 -05:00
Leon Sorokin 5acda40248 Search/ActionRow: drill placeholder to SortPicker (#56475) 2022-10-13 13:30:20 -06:00
Leon Sorokin 21d9cf0db4 Thresholds: fix line rendering with multiple y axes (#56516) 2022-10-06 17:18:47 -06:00
Leon Sorokin 8300702524 Search: fuzzy match dashboard names in frontend from full list (#55721) 2022-10-05 18:32:35 -04:00
Leon Sorokin eeb31c2901 Heatmap: fix color scheme reversal (#56227) 2022-10-04 02:17:58 -05:00
Leon Sorokin 16c9c858b8 BarChart: add negY transform to fieldConfig overrides (#55930) 2022-09-28 14:32:37 -06:00
Leon Sorokin 4ff7917039 TimeSeries: clamp log-y-axis min to 1 when decimals=0 (#55882) 2022-09-28 05:39:24 -06:00
Leon Sorokin bd50fd1606 Thresholds: Add option for dashed line style (#55875) 2022-09-28 00:48:09 -06:00
Leon Sorokin b8da1ffdc3 TimeSeries: fix log-y-axis tick label skipping when decimals=0 (#55868) 2022-09-27 15:50:41 -05:00
Leon Sorokin 7979463bbf PanelOptions: fix timezones editor save key (#55009) 2022-09-10 09:25:27 -07:00
Leon SorokinandRyan McKinley dbb33eaba9 DataFrameJSON: add string enums inflation of field values (#54938)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-09-09 13:59:29 -06:00
Leon Sorokin 085db83cd9 DisplayProcessor: Handle reverse-ordered data when auto-showing millis (#54923) 2022-09-08 12:49:03 -05:00
Leon Sorokin eb90d0c4b5 TimeSeries: Support for log scale and negative numbers (#54812) 2022-09-08 11:52:57 -05:00
Leon Sorokin 4223d3a6a7 Heatmap: Add option to reverse color scheme (#54365) 2022-09-07 11:09:44 -05:00
Leon Sorokin 75de42fba7 BarChart: fix stale colorByField being used in value mappings (#54820) 2022-09-07 08:31:31 -06:00
Leon Sorokin bf052cb35e TimeSeries: omit non-integer y ticks when decimals: 0 (#54679) 2022-09-06 16:12:09 -04:00
Leon Sorokin 8273839539 Histogram: ensure y axis is unit-less (#54667) 2022-09-02 13:50:01 -05:00
Leon Sorokin 28426219ce TimeSeries: fix padding, force 0-100% y range when % stacked (#54197) 2022-09-02 09:26:04 -05:00
Leon Sorokin 530dd63ac6 TimeSeries: Fix crash when min >= max in config (#54069)
* TimeSeries: fix crash when min === max in config

* stat sparkline, too

* better types
2022-08-23 01:00:42 -07:00
Leon Sorokin d5cc1bfff2 TimeSeries: fix regression with hardMin + hardMax ranging (#53922) 2022-08-19 12:20:21 -05:00
Leon Sorokin 329aab7395 TimeSeries: Fix memory leak on viz re-init caused by KeyboardPlugin 2022-08-18 07:09:37 -05:00
Leon Sorokin 7c40257baf BarChart: fix top y tick clipping when x labels are rotated (#52964) 2022-07-28 16:51:37 -05:00
Leon Sorokin 8ee0555bac TimeSeries: Implement auto decimals for y axes (#52912) 2022-07-28 02:58:42 -04:00
Leon Sorokin d7b208ec58 TimeSeries: Add option for symmetrical y axes (align 0) (#52555) 2022-07-21 23:38:22 -05:00
Leon Sorokin a5a8052916 TimeSeries: Add option to match axis color to series color (#51437) 2022-07-18 17:50:07 -05:00
Leon Sorokin 254159ad69 BarChart: fix crash when checking bar value text overlap (#52061) 2022-07-11 12:45:42 -05:00
Leon Sorokin fda7f064ad GraphNG: uPlot 1.6.22 (#51945) 2022-07-08 09:45:16 -04:00
Leon Sorokin 173636aa61 Histogram: filter nulls, bucket-adaptive xAxis decimals (#51773) 2022-07-06 10:13:32 -05:00
Leon Sorokin d122449a97 BarChart: fix explicit yAxis min (#51768) 2022-07-06 06:47:49 -06:00
Leon Sorokin 3bd2bdcebb DataFrame: more thorough detection of unsorted values (#51602) 2022-06-29 18:08:42 -05:00
Leon Sorokin 1f939f64e9 ColorScale: prevent vertical scrollbar in container during hover (#51591) 2022-06-29 14:34:12 -04:00
Leon SorokinandRyan McKinley d32ec75661 HeatmapNG: expand log y axis min/max config to full powers (#51472)
also fix x bucket count setting for calculate (regressed in #51089)

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-06-28 19:13:13 -05:00
Leon SorokinandRyan McKinley fd6c7d518d TimeSeries: Improved constantY rendering parity with Graph (old) (#51401)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-06-27 19:02:05 -05:00
Leon Sorokin 89b150ab58 HeatmapNG: pre-allocate arrays during calc (#51465) 2022-06-27 18:43:59 -05:00
Leon Sorokin 7e1667ce87 HeatmapNG: explicitly pass scales for cursor sync config (#51389) 2022-06-24 11:42:39 -05:00
Leon Sorokin ef53a49896 HeatmapNG: skip y <= 0 values when log y axis (#51221) 2022-06-22 07:12:22 -07:00
Leon Sorokin f4f31b40fd HeatmapNG: consolidate frame types & fix color ranging (#51089)
* rename yZeroDisplay -> yMinDisplay
* remove heatmap-cells-sparse frame type
* parse x bucket size to millis
* take into account hideLE & hideGE filters to auto-range color scale
* extract cell value range scanning to heatmapData
2022-06-20 15:38:13 -05:00
Leon SorokinandKyle Cunningham 406509cdd3 StateTimeline: make sure we use result of applyNullInsertThreshold() (#50988)
Co-authored-by: Kyle Cunningham <kyle@codeincarnate.com>
2022-06-16 17:28:41 -05:00