Julius Volz
8b4291537b
Clarify explain view, add tree view close button, fix callback bug
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
7e0cd2e0b4
Improve binop explain view styling
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 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
Julius Volz
c1c2e32137
More cleanups to tree view stats
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
2d9f79f59e
Show label stats in tree view
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
331a8e1d6c
Use infinite scroll in metrics explorer for faster rendering
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
1f8a6b4d6e
Show Consoles link if configured
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
53affc64db
Clear the query page when navigating away from it
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
c73c3e24d7
Default to serving new (Prometheus 3.0) UI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
d0ee5427bd
Redirect /graph to /query in new UI, preserving params
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
8ee70c5fa0
Remove unused import
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
1f3de9c599
Change range input from Input to TextInput
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
d36e049d79
Fix lint errors by removing unused imports and vars
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
7103b35568
Add "Show exemplars" button (doesn't do anything yet)
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
88519152e5
Minor cleanups
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
c0ba4ee2bb
Add beginnings of a PromLens-style tree view
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
e5e212dad2
Remove wrong query key for format_query
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
fef4c15283
Remove commented-out line
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
a99c01b53f
Implement query history
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
f3f324be89
Don't update pathPrefix in settings on every App render
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
d0ccbd2eb5
Top-align all targets page table cell contents, other styling
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
eb175c88f6
Correctly pass custom title into ResettingErrorBoundary
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
857e59c8b6
Improve EndpointLink styling
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
5599db20cd
Change use{Suspense}APIQuery key to an array
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
9e4ffd044c
Implement Alertmanagers discovery page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julien
ceb844aa1a
Remove console static files
...
This pull request removes the example files for the console feature and
the associated JavaScript libraries. The console feature itself remains
intact and fully functional; only the example files have been removed.
The removed examples relied on outdated JavaScript libraries that have
known security vulnerabilities.
I am aware of existing users of this feature; this is why the feature
remains intact. Users can continue using the console feature by
supplying their own JavaScript and templates.
Signed-off-by: Julien <roidelapluie@o11y.eu>
3 months ago
Julius Volz
87a22500e1
Add PromQL logic code and labels explorer from PromLens, add testing deps
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
6999e8063f
Don't wrap Prometheus logo + brand line
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
85735d58dd
ESLint: Allow some const values in non-const destructuring
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
b29be5e6f8
Add query button to rule expressions, improve styling
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
bc48d19d8c
Add initial metrics explorer
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
4ccadd5453
Remove unused import
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
697327a51d
Add filtering to SD page and improve state processing
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
4ce71af1b9
Rename debouncedSearch -> search in buildAlertsPageData
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
d3b6b0f288
Rename "value" to "step" in resolution state
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
f195046b4d
Remove obsolete TODO
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
38e21abe7f
More specific TS typing for range query results (always matrix)
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
0018b29489
Rename query params on targets page, fix pool limit
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
d22e721d39
Add initial Service Discovery page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago
Julius Volz
73a328f37b
Memoize and improve targets page filtering
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 months ago