Julius Volz
e2d37b6d92
Implement kv search on targets page again
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-31 18:50:41 +02:00
Julius Volz
a6b085ee5a
Refactor DataTable, record & show query stats
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-31 16:19:38 +02:00
Julius Volz
5dca5a4718
Fix max number of displayed series in table
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-31 16:18:23 +02:00
Julius Volz
c6d2ce8e7e
Remove console.log() debug line
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-30 13:12:49 +02:00
Julius Volz
4343281c73
Show table alerts for limited series or disabled formatting
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-30 10:48:18 +02:00
Julius Volz
b06bb78543
Add filtering, limiting, and more to targets page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-27 16:29:18 +02:00
Julius Volz
6321267996
Add missing ResolutionInput.tsx file to git
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-27 16:28:42 +02:00
Julius Volz
cacfc693c4
Point new UI local API proxying back to localhost Prometheus
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-25 14:28:56 +02:00
Julius Volz
f7a97417a5
Move resolution input into separate component + file
...
Also don't reload the graph on custom resolution input blur if the resolution
hasn't changed.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-23 23:13:06 +02:00
Julius Volz
a2a177a04c
Clean up uPlot CSS rules a bit
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-23 21:22:23 +02:00
Julius Volz
90cf8b3082
Move uPlot plugins and glue code to separate file
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-23 21:21:34 +02:00
Julius Volz
89d18bf681
Minor comment/code cleanups
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-23 20:00:42 +02:00
Julius Volz
de1cb93cb1
More uPlot coloring improvements/fixes
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-23 20:00:10 +02:00
Julius Volz
3ecc13b330
Show single samples without neighbors as dots
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-23 19:59:10 +02:00
Julius Volz
7ea75c75c0
Show brighter graph line colors in dark mode
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-23 19:58:15 +02:00
Julius Volz
1b2290c131
Remove unused imports in new UI to fix build
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-23 11:35:37 +02:00
Julius Volz
d6f4d3a00b
Implement dark theme for uPlot graphs
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-23 01:31:06 +02:00
Julius Volz
a526a7ae53
Implement encoding/decoding graph pages to/from URL
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-22 22:47:41 +02:00
Julius Volz
e87214a6bd
Handle graph/table tab selection via Redux state
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-22 16:31:18 +02:00
Julius Volz
0049e8baff
Implement timezone handling for uPlot graphs
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-22 16:08:39 +02:00
Julius Volz
8ef66c41a0
A lot of work around uPlot and resolution picking
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-21 23:55:08 +02:00
Julius Volz
1c91b82206
Initial uPlot work in Mantine UI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-21 18:26:11 +02:00
Julius Volz
d9520b1a79
Try out uPlot for new UI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-19 12:13:14 +02:00
Julius Volz
9252826659
ECharts experiment
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-17 21:09:30 +02:00
Julius Volz
ea54dac130
DataTable: color timestamps gray
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-17 11:31:32 +02:00
Julius Volz
c67b7a7c56
Store global settings in localStorage
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-17 10:50:32 +02:00
Julius Volz
b2bf2226df
Tweak menu icons
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-16 12:57:55 +02:00
Julius Volz
1aa79e29a2
Add server readiness check and WAL replay progress display
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-15 22:21:14 +02:00
Julius Volz
8fae131733
Move Settings context data into Redux settings slice
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-15 22:19:47 +02:00
Julius Volz
edf31da311
Merge branch 'main' into mantine-ui
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-15 14:11:48 +02:00
Julius Volz
af7a010558
Fix agent-mode menu items, path prefix calculation, and homepage redirects
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-10 22:41:47 +02:00
Saswata Mukherjee
398f42de5f
Add label-matcher support to Rules API ( #10194 )
...
* Add label-matcher support to Rules API
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* Implement suggestions
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* Match any matcherSet instead of all
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* Don't treat labels.Labels as slice
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* Remove non-templated check and fix tests
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* Update docs
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* fix comments
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* fix comment
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
* Add comment for matching logic, fix tests after rebase
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
---------
Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
Signed-off-by: Yijie Qin <qinyijie@amazon.com>
Co-authored-by: Yijie Qin <qinyijie@amazon.com>
2024-07-10 13:18:29 +01:00
Julius Volz
c21a18a8dd
Minor style improvements for native histograms in table view ( #14448 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-10 13:16:15 +02:00
Björn Rabenstein
b1c106a9ce
Merge pull request #14454 from fpetkovski/fix-binop-hist-stats
...
Fix decoding buckets for native histograms in binops
2024-07-10 13:07:45 +02:00
Filip Petkovski
acb6c1ae4b
Fix decoding buckets for native histograms in binops
...
The optimizer which detects cases where histogram buckets can be skipped
does not take into account binary expressions. This can lead to buckets
not being decoded if a metric is used with both histogram_fraction/quantile and
histogram_sum/count in the same expression.
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
2024-07-10 11:55:29 +02:00
Bryan Boreham
7b595d67b4
2.54: Propose Bryan Boreham as release shepherd ( #14453 )
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-07-10 10:42:26 +01:00
Björn Rabenstein
d002fad00c
Merge pull request #14424 from aknuds1/arve/fix-comments
...
Fix a couple of comments
2024-07-10 00:56:32 +02:00
Manik Rana
373f09796d
feat (ui): Add Native Histogram rendering to new UI ( #14431 )
...
* feat: scaffold new ui native histogram
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* feat: add native histogram rendering
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* feat: add tooltip
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* fix:revert package-lock changes
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: fix tab spacing
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* fix: apply suggestions and fixes
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: lint
Signed-off-by: Manik Rana <manikrana54@gmail.com>
---------
Signed-off-by: Manik Rana <manikrana54@gmail.com>
2024-07-09 22:51:37 +02:00
Bartlomiej Plotka
5646c315bd
Merge pull request #14416 from prometheus/prw2.0-nhcb
...
writev2: Add basic support for nhcb.
2024-07-09 08:54:49 +02:00
Manik Rana
8849b7dcad
chore: remove console logs ( #14430 )
...
Signed-off-by: Manik Rana <manikrana54@gmail.com>
2024-07-07 12:27:13 +02:00
Björn Rabenstein
06f0f2ef3b
Merge pull request #14429 from prometheus/document-info-annotations
...
Document info-level annotations in query response
2024-07-07 00:24:34 +02:00
Julius Volz
0f0b3d82e1
Document info-level annotations in query response
...
Fixes https://github.com/prometheus/prometheus/issues/14135
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-06 23:51:00 +02:00
zenador
480fefd089
Split warnings and info annotations in API response ( #14327 )
...
* split warnings and info annotations in API response
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
* update according to code review
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
* minimal UI change: show infos in different colour
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
* Update web/ui/react-app/src/pages/graph/Panel.tsx
Co-authored-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: zenador <zenador@users.noreply.github.com>
---------
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
Signed-off-by: zenador <zenador@users.noreply.github.com>
Co-authored-by: Julius Volz <julius.volz@gmail.com>
2024-07-06 11:05:00 +02:00
Arve Knudsen
e410a215fb
Fix a couple of comments
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2024-07-05 15:25:42 +02:00
Bryan Boreham
89608c69a7
Merge pull request #14328 from bboreham/more-dedupelabels
...
TSDB and scraping: improvements to dedupelabels
2024-07-05 11:46:31 +01:00
Bryan Boreham
4d7532f60b
tsdb: reset symbol table for exemplars periodically
...
To avoid keeping the memory alive forever.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-07-05 10:19:07 +01:00
Bryan Boreham
5281a6bc1b
TSDB: rebuild labels symbol-table on each compaction
...
Log begin/end for timing, plus some stats.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-07-05 10:19:07 +01:00
Bryan Boreham
e6356e64bd
Scraping: drop series cache when resizing symbol table
...
Clear caches by restarting scraping loops: each loop assumes it has
exclusive ownership of its cache, so we can't come in from another
goroutine and change it.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-07-05 10:16:22 +01:00
Bryan Boreham
74b1f3daa6
Refactor: scraping: extract method restartLoops
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-07-05 10:16:22 +01:00
Bryan Boreham
b42b5fbd74
Scraping: check symbol-table on sync
...
Previously they were only checked on a change of config.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-07-05 10:16:22 +01:00