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
Julius Volz
5827772f69
Merge branch 'main' into mantine-ui
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-19 14:03:25 +02:00
Julius Volz
e8bbe191d4
Build both old & new UI into Prometheus, allow choosing via feature flag
...
This keeps the old "react-app" directory in its existing location (to make
it easier to merge changes from the main branch), but separates it from the
npm workspaces setup. Thus it now needs to be npm-installed/built/linted
separately. This is a bit hacky, but should only be needed temporarily,
until the old UI can be removed.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-18 15:08:40 +02:00
Julius Volz
a057601771
Fix a few Mantine UI lint errors
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-18 15:04:14 +02:00
Julius Volz
54dc1455d7
Merge branch 'main' into mantine-ui
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-15 10:00:16 +02:00
Julius Volz
5524a03d29
Remove files erroneously added to old React app
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-15 09:59:52 +02:00
Bryan Boreham
e1dd8e72df
Merge branch 'main' into merge-2.51.2-into-main
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-04-10 15:05:52 +01:00
Bryan Boreham
b4c0ab52c3
Cut release 2.51.2
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-04-10 11:08:16 +01:00
Julius Volz
50118dc174
Change icon for state multiselect
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-09 12:50:22 +02:00
Julius Volz
1049c90cb5
Clean up file hierarchy a bit, add some more comments
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-09 12:36:53 +02:00
Matthieu MOREL
d496687c8e
golangci-lint: enable usestdlibvars linter
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-04-08 19:26:23 +00:00
Julius Volz
b778c0a249
Change /graph to /query as default homepage in Go backend
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-03 16:39:27 +02:00
Julius Volz
cdc4bf0ebc
Various tiny code cleanups
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-03 16:15:50 +02:00
Julius Volz
0cc6645c2d
Some improvements to completion info tooltip for new CM version
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-03 14:50:29 +02:00
Julius Volz
a1f36de67c
Add missing alerts page redux slice file
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-03 14:49:21 +02:00
Julius Volz
719b31f1b5
Show rules page as collapsed accordion instead of rules table
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-03 14:48:59 +02:00
Julius Volz
8165a6e337
Better color for "unknown" health badge
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-03 14:48:01 +02:00
Julius Volz
c2eb4007bb
Better top nav page titles, clickable Prometheus brand logo
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-03 14:47:38 +02:00
Julius Volz
b40a029599
More timestamp handling fixes/improvements
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-03 14:46:55 +02:00
Julius Volz
3c44f43815
Add state filtering to alerts page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-03 14:46:17 +02:00
Julius Volz
2be782df77
Various query page improvements
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-03 14:45:35 +02:00
Julius Volz
684698b827
Remove unused old multiselect code
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-03 14:44:16 +02:00
Julius Volz
1f5605fe63
Time formatting / parsing improvements
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-03 14:43:56 +02:00
Julius Volz
70221fc4a0
Build initial targets page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-04-03 14:43:03 +02:00
Bryan Boreham
e1a5886c88
Merge branch 'main' into merge-2.51-into-main
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-28 10:00:25 +00:00
Bryan Boreham
855b5ac4b8
Cut release 2.51.1 ( #13853 )
...
* Cut release 2.51.1
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-28 09:23:45 +00:00
Björn Rabenstein
7ba218fbd0
Merge pull request #13791 from bboreham/merge-2.51.0
...
Merge 2.51.0 into main
2024-03-19 19:15:25 +01:00
Erlan Zholdubai uulu
742196b6c4
add context cancellation check at get series result iteration ( #13766 )
...
* add context cancellation check at get series iteration
* add warnings and closer on error
* add test
---------
Signed-off-by: Erlan Zholdubai uulu <erlanz@amazon.com>
2024-03-19 18:37:43 +01:00
Bryan Boreham
0630e49c0d
Merge branch 'main' into merge-2.51.0
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-19 11:56:14 +01:00
Bryan Boreham
c05c15512a
Cut v2.51.0 ( #13787 )
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-19 10:49:40 +00:00
Julius Volz
a699cbefae
Try making /rules timing badges clearer by adding text
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-14 12:21:05 +01:00
Julius Volz
64dabd4379
Use redux-based settings in expression input component
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-14 12:20:19 +01:00
Julius Volz
9fe8a5dba7
Make spacing, shadows, and radius sizes more consistent
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-14 12:19:41 +01:00
Julius Volz
627826783c
Add state and label/alertname filter mockups to Alerts page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-14 12:18:03 +01:00
Julius Volz
2f95bbe570
Improve humanizeDuration() code and output
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-14 12:14:51 +01:00
Julius Volz
00d2a49f4d
Better gray tones for "Unknown" health color
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-14 12:13:19 +01:00
Julius Volz
796d1806da
Add Settings menu, make menu links left-justified again
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-14 12:07:13 +01:00
Julius Volz
121d92209d
Make Status menu wide enough for new icon size
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-14 12:05:26 +01:00
Julius Volz
dee41028f7
Fix path prefix handling for "/"
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-14 12:04:50 +01:00
Julius Volz
143917cfe0
Nav link size cleanups
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-14 12:04:24 +01:00
Julius Volz
e29ad4a83b
Add "Scroll to Top" component
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-14 12:02:45 +01:00
Julius Volz
6ff7857313
Add codeicon font for autocompletion icons
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-14 12:00:40 +01:00
Bartlomiej Plotka
312e3fd728
Merge pull request #13713 from charleskorn/query-engine-interface
...
rules: allow using alternative PromQL engines for rule evaluation by callers using Prometheus as a lib.
2024-03-13 14:45:42 +01:00
Charles Korn
26262a1eb7
Remove unnecessary SetQueryLogger
method on QueryEngine
interface
...
Signed-off-by: Charles Korn <charles.korn@grafana.com>
2024-03-12 22:01:01 +11:00
guoguangwu
1cccdbaedb
chore: use constant instead of numeric literal
...
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
2024-03-12 17:19:50 +08:00
Bryan Boreham
8d53e7ba90
Cut v2.51.0-rc.0 ( #13729 )
...
* Cherry-pick [BUGFIX] Azure SD: Fix 'error: parameter virtualMachineScaleSetName cannot be empty' (#13702 )
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-03-11 13:35:44 +00:00
Julius Volz
ebb468cedf
Add graphing component stub
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-08 17:44:21 +01:00
Julius Volz
9093e0ab91
Cleanups in DataTable code
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-08 17:43:38 +01:00
Julius Volz
b17dae1dab
Increase range input width
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-08 16:05:45 +01:00
Julius Volz
d9768a70b6
Add missing response type file
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-03-08 16:02:00 +01:00