Julius Volz
c6d2ce8e7e
Remove console.log() debug line
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
4343281c73
Show table alerts for limited series or disabled formatting
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
b06bb78543
Add filtering, limiting, and more to targets page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
6321267996
Add missing ResolutionInput.tsx file to git
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
cacfc693c4
Point new UI local API proxying back to localhost Prometheus
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
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>
4 months ago
Julius Volz
a2a177a04c
Clean up uPlot CSS rules a bit
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
90cf8b3082
Move uPlot plugins and glue code to separate file
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
89d18bf681
Minor comment/code cleanups
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
de1cb93cb1
More uPlot coloring improvements/fixes
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
3ecc13b330
Show single samples without neighbors as dots
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
7ea75c75c0
Show brighter graph line colors in dark mode
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
1b2290c131
Remove unused imports in new UI to fix build
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
d6f4d3a00b
Implement dark theme for uPlot graphs
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
a526a7ae53
Implement encoding/decoding graph pages to/from URL
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
e87214a6bd
Handle graph/table tab selection via Redux state
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
0049e8baff
Implement timezone handling for uPlot graphs
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
8ef66c41a0
A lot of work around uPlot and resolution picking
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
1c91b82206
Initial uPlot work in Mantine UI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
d9520b1a79
Try out uPlot for new UI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
9252826659
ECharts experiment
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
ea54dac130
DataTable: color timestamps gray
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
c67b7a7c56
Store global settings in localStorage
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
b2bf2226df
Tweak menu icons
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
1aa79e29a2
Add server readiness check and WAL replay progress display
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
8fae131733
Move Settings context data into Redux settings slice
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
edf31da311
Merge branch 'main' into mantine-ui
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 months ago
Julius Volz
af7a010558
Fix agent-mode menu items, path prefix calculation, and homepage redirects
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
5 months ago
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>
5 months ago
Julius Volz
c21a18a8dd
Minor style improvements for native histograms in table view ( #14448 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
5 months ago
Björn Rabenstein
b1c106a9ce
Merge pull request #14454 from fpetkovski/fix-binop-hist-stats
...
Fix decoding buckets for native histograms in binops
5 months ago
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>
5 months ago
Bryan Boreham
7b595d67b4
2.54: Propose Bryan Boreham as release shepherd ( #14453 )
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
5 months ago
Björn Rabenstein
d002fad00c
Merge pull request #14424 from aknuds1/arve/fix-comments
...
Fix a couple of comments
5 months ago
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>
5 months ago
Bartlomiej Plotka
5646c315bd
Merge pull request #14416 from prometheus/prw2.0-nhcb
...
writev2: Add basic support for nhcb.
5 months ago
Manik Rana
8849b7dcad
chore: remove console logs ( #14430 )
...
Signed-off-by: Manik Rana <manikrana54@gmail.com>
5 months ago
Björn Rabenstein
06f0f2ef3b
Merge pull request #14429 from prometheus/document-info-annotations
...
Document info-level annotations in query response
5 months ago
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>
5 months ago
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>
5 months ago
Arve Knudsen
e410a215fb
Fix a couple of comments
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
5 months ago
Bryan Boreham
89608c69a7
Merge pull request #14328 from bboreham/more-dedupelabels
...
TSDB and scraping: improvements to dedupelabels
5 months ago
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>
5 months ago
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>
5 months ago
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>
5 months ago
Bryan Boreham
74b1f3daa6
Refactor: scraping: extract method restartLoops
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
5 months ago
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>
5 months ago
Bryan Boreham
7ca31c66be
Scraping: add metric for symbol table size
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
5 months ago
Bryan Boreham
709c5d6fc3
TSDB: Lock around access to labels in head under -tags dedupelabels ( #14322 )
...
* TSDB: Document what needs locking in memSeries
* TSDB: Lock around access to series labels
So we can modify them to reset the symbol-table.
* TSDB: Make label locking conditional on build tag
---------
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
5 months ago
bwplotka
10ecd7664e
writev2: Add basic support for nhcb.
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
5 months ago