Julius Volz
9b0dc68d0d
PromQL explain view: Support set operators
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julien
ac01dc9035
Explain, vector-to-vector: Do not compute results for set operators
...
Set operators are not displayed:
31ce9dacf4/web/ui/mantine-ui/src/pages/query/ExplainViews/BinaryExpr/VectorVector.tsx (L364)
Therefore, do not compute results for them.
Fixes #14889
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julius Volz
50af7d589b
Fix tree line drawing by using a callback ref
...
In a non-dev build (no initial double-renders), the tree lines would not be
rendered correctly from the parent of a binop to its first child, because the
first child would be rendered before the parent, and the parent's ref hadn't
been set yet at that time. Switched from a normal ref to a callback-based ref
with explicit React state update to make sure that the child gets to know about
the parent's (later) rendered div element.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
0180cf31aa
Factor out common icon and card styles
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
0757fbbecc
Make sure that alert element table headers are not wrapped
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
a7c1a951df
Add general Mantine overrides CSS file
...
...initially fixing the ellipsis overflow text cut-off in badges.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Sandro
65743bf9bd
ui: drop template readme
...
Signed-off-by: Sandro <sandro.jaeckel@gmail.com>
2 months ago
Julius Volz
dfec29d8e5
Fix border color for target pools with one target that is failing
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Nathan Baulch
50cd453c8f
chore: Fix typos ( #14868 )
...
* Fix typos
---------
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
2 months ago
Julius Volz
ee808cda8b
Fix HTML rendering for aggregator Explain view
...
Follow-up to https://github.com/prometheus/prometheus/pull/14893
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julien
3782da7bbc
Explain: Use param scalars in aggregations description
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Fiona Liao
1d2b08bf17
Rollback old react app version
...
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2 months ago
Julien
be6d443947
Mantine UI: Use actual lookback delta in explain
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julien
8aab6458b8
Mantine UI: Move /discovered-alertmanagers to /alertmanager-discovery
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Fiona Liao
d33cdb9fbe
Revert "Try manually updating react-app deps"
...
This reverts commit e1c2c51412
.
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2 months ago
Fiona Liao
e1c2c51412
Try manually updating react-app deps
...
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2 months ago
Fiona Liao
63a842ef43
Fix npm deps
...
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2 months ago
Fiona Liao
a2bf2bf4ef
Change npm deps to 0.3xx
...
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2 months ago
Fiona Liao
500fcac03a
Update CHANGELOG for beta
...
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2 months ago
dependabot[bot]
1b281f074e
Bump @types/node from 22.5.2 to 22.5.4 in /web/ui ( #14873 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 22.5.2 to 22.5.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
Julius Volz
c1080990ac
Bring back documentation link in the form of an action button
...
IMO this looks nicer than adding it as a normal page nav link as in
https://github.com/prometheus/prometheus/pull/14878
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
785d595855
ui build: create requires web/ui/static dir ad hoc
...
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2 months ago
Julius Volz
11f344e4d3
Move AM discovery page from "Monitoring status" -> "Server status"
...
Seems to at least make more sense to me like that.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
e2be869a7a
Slightly improve navbar wrapping for long status title + narrow window
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
306d357635
Revert back to normal font for recording rule titles
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
7e0cba568e
Make annotations display on /alerts page consistent with /rules
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
adf6c105a7
Show alert annotations on /rules page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
5956d482e8
Remove a few unneeded comments and component props
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
d7bacf96c7
Remove commented-out and unused allowLineBreaks settings for binop explain
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
ff41d45bae
Make status page timestamps consistent and use local time
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
a0463f5501
Update UI docs to mention both old + new UIs
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
0c9a2c95bf
Make "npm run start" from web/ui start the new UI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
d23872ef30
Graph range vector selectors as instant vector selectors with notice
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
1f1ca37fd7
Select root of tree by default in tree view
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
cdcd43af5b
Fix a lot of styling in tree view and binop explain view
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
52a6e32fd0
Update all CodeMirror dependencies
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
0ac38a5fd6
Update mantine-ui package version to latest release
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
8b4291537b
Clarify explain view, add tree view close button, fix callback bug
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
7e0cd2e0b4
Improve binop explain view styling
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
d9fdb50a61
Remove file that was erroneously added to old UI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
89bfe813a9
Update UI tools Go version again to match rest of Prometheus
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
392e0a6554
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
cb66131974
Rename and restructure AST-to-JSON file
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
9b27e0d915
Only switch dir temporarily in build_ui.sh
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
5c88aa4fea
Add commented-out Prometheus demo server as alternative to vite proxy config
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
ee4a06be37
Make new UI tools Go version the same as rest of Prometheus
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
ae131e7d86
Install prettier deps for modules and old React app
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
5fd860f806
Complete building tree view and implement "Explain" tab
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
b75a12b52f
Remove unneeded <Group> in TSDBStatusPage
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
07856b4bb9
Make linter run by upgrading the ESLint config
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago