Julien
546f780006
UI: Disallow sub-second zoom as this cause inconsistenices in the X axis in uPlot
...
Fixes #9135
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-19 11:51:41 +02:00
Augustin Husson
69619990f8
UI/PromQL: autocomplete topk like aggregation function parameters
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2024-09-18 11:53:09 +02:00
Julius Volz
b8d1336d42
Merge pull request #14912 from roidelapluie/notready
...
mantine UI: Distinguish between Not Ready and Stopping
2024-09-17 19:40:13 +02:00
junya koyama
54fe9f3d04
build(deps): fix breaking chages.
...
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
2024-09-17 23:14:29 +09:00
junya koyama
8dae42828d
build(deps): bump lru-cache from 7.18.3 to 11.0.1 in /web/ui
...
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
2024-09-17 23:14:29 +09:00
Julien
ac5377873f
mantine UI: Distinguish between Not Ready and Stopping
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-17 16:02:16 +02:00
Julius Volz
00d23c9689
Merge pull request #14915 from prometheus/dependabot/npm_and_yarn/web/ui/typescript-5.6.2
...
Bump typescript from 5.5.4 to 5.6.2 in /web/ui
2024-09-17 12:01:03 +02:00
dependabot[bot]
2fa84df35d
Bump typescript from 5.5.4 to 5.6.2 in /web/ui
...
Bumps [typescript](https://github.com/microsoft/TypeScript ) from 5.5.4 to 5.6.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 19:41:08 +00:00
Julius Volz
a1908df922
Don't wrap action buttons below metric name in metrics explorer
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-16 19:51:35 +02:00
Julius Volz
091fc403cf
Fiddle with targets table styles to try and improve things a bit
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-16 19:51:08 +02:00
Julius Volz
57898c7929
Refactor and fix time formatting functions, add tests
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-16 19:51:08 +02:00
Julius Volz
9b0dc68d0d
PromQL explain view: Support set operators
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-16 18:03:08 +02:00
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>
2024-09-16 11:38:35 +02:00
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>
2024-09-16 08:42:20 +02:00
Julius Volz
0180cf31aa
Factor out common icon and card styles
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-13 14:44:04 +02:00
Julius Volz
0757fbbecc
Make sure that alert element table headers are not wrapped
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-13 14:41:24 +02:00
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>
2024-09-13 14:40:29 +02:00
Julius Volz
b93ed7bd17
Merge pull request #14898 from prometheus/fix-targets-page-coloring
...
Fix border color for target pools with one target that is failing
2024-09-13 09:21:54 +02:00
Sandro
65743bf9bd
ui: drop template readme
...
Signed-off-by: Sandro <sandro.jaeckel@gmail.com>
2024-09-11 11:15:51 +02:00
Julius Volz
dfec29d8e5
Fix border color for target pools with one target that is failing
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-11 10:23:57 +02:00
Nathan Baulch
50cd453c8f
chore: Fix typos ( #14868 )
...
* Fix typos
---------
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
2024-09-10 22:32:03 +02:00
Jan Fajerski
91608c002f
Merge branch 'main' into release-3.0-beta.0
...
Conflicts:
scrape/scrape_test.go
Pick both changes.
2024-09-10 20:51:20 +02:00
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>
2024-09-10 17:09:34 +02:00
Julien
3782da7bbc
Explain: Use param scalars in aggregations description
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-10 16:40:33 +02:00
Jan Fajerski
3ce285e0a3
Merge pull request #14891 from roidelapluie/fix-lookback-delta
...
Mantine UI: Use actual lookback delta in explain
2024-09-10 13:18:59 +02:00
Fiona Liao
1d2b08bf17
Rollback old react app version
...
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2024-09-10 12:11:04 +01:00
Julien
be6d443947
Mantine UI: Use actual lookback delta in explain
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-10 13:01:57 +02:00
Julius Volz
bde5092471
Merge pull request #14882 from prometheus/new-ui-help-button
...
Bring back documentation link in the form of an action button
2024-09-10 12:54:00 +02:00
Julien
8aab6458b8
Mantine UI: Move /discovered-alertmanagers to /alertmanager-discovery
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-10 12:12:21 +02:00
Fiona Liao
d33cdb9fbe
Revert "Try manually updating react-app deps"
...
This reverts commit e1c2c51412
.
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2024-09-10 10:42:07 +01:00
Fiona Liao
e1c2c51412
Try manually updating react-app deps
...
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2024-09-10 10:38:13 +01:00
Fiona Liao
63a842ef43
Fix npm deps
...
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2024-09-10 10:34:23 +01:00
Fiona Liao
a2bf2bf4ef
Change npm deps to 0.3xx
...
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2024-09-10 10:16:45 +01:00
Fiona Liao
500fcac03a
Update CHANGELOG for beta
...
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2024-09-10 10:14:47 +01:00
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>
2024-09-10 09:05:21 +02:00
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>
2024-09-09 18:55:32 +02:00
Julius Volz
785d595855
ui build: create requires web/ui/static dir ad hoc
...
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2024-09-09 18:30:00 +02:00
Jan Fajerski
fa318711f4
Merge branch 'main' into 3.0-main-sync-24-09-09
...
Conflicts:
cmd/prometheus/main.go
docs/command-line/prometheus.md
docs/feature_flags.md
web/ui/build_ui.sh
web/web.go
Resolved by dropping the UTF-8 feature flag and adding the
`auto-reload-config` feature flag.
For the new web ui pick all changes from `main`.
2024-09-09 15:44:22 +02:00
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>
2024-09-09 14:32:27 +02:00
Julius Volz
e2be869a7a
Slightly improve navbar wrapping for long status title + narrow window
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-09 11:59:36 +02:00
Julius Volz
306d357635
Revert back to normal font for recording rule titles
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-09 11:54:41 +02:00
Julius Volz
7e0cba568e
Make annotations display on /alerts page consistent with /rules
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-09 11:50:46 +02:00
Julius Volz
adf6c105a7
Show alert annotations on /rules page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-09 11:46:42 +02:00
Julius Volz
5956d482e8
Remove a few unneeded comments and component props
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-09 11:19:47 +02:00
Julius Volz
d7bacf96c7
Remove commented-out and unused allowLineBreaks settings for binop explain
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-09 11:19:02 +02:00
Julius Volz
ff41d45bae
Make status page timestamps consistent and use local time
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-09 11:13:22 +02:00
Julius Volz
a0463f5501
Update UI docs to mention both old + new UIs
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-09 11:02:32 +02:00
Julius Volz
0c9a2c95bf
Make "npm run start" from web/ui start the new UI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-09 11:02:15 +02:00
Julius Volz
d23872ef30
Graph range vector selectors as instant vector selectors with notice
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 21:11:06 +02:00
Julius Volz
1f1ca37fd7
Select root of tree by default in tree view
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 20:53:59 +02:00
Julius Volz
cdcd43af5b
Fix a lot of styling in tree view and binop explain view
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 20:53:44 +02:00
Julius Volz
52a6e32fd0
Update all CodeMirror dependencies
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 17:06:21 +02:00
Julius Volz
0ac38a5fd6
Update mantine-ui package version to latest release
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 15:17:49 +02:00
Julius Volz
8b4291537b
Clarify explain view, add tree view close button, fix callback bug
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 15:17:00 +02:00
Julius Volz
7e0cd2e0b4
Improve binop explain view styling
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 15:16:02 +02:00
Julius Volz
d9fdb50a61
Remove file that was erroneously added to old UI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-07 18:00:35 +02:00
Julius Volz
89bfe813a9
Update UI tools Go version again to match rest of Prometheus
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 22:08:09 +02:00
Julius Volz
392e0a6554
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 21:47:35 +02:00
Julius Volz
cb66131974
Rename and restructure AST-to-JSON file
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 21:45:39 +02:00
Julius Volz
9b27e0d915
Only switch dir temporarily in build_ui.sh
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 21:40:29 +02:00
Julius Volz
5c88aa4fea
Add commented-out Prometheus demo server as alternative to vite proxy config
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 21:22:26 +02:00
Julius Volz
ee4a06be37
Make new UI tools Go version the same as rest of Prometheus
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 20:59:49 +02:00
Julius Volz
ae131e7d86
Install prettier deps for modules and old React app
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 20:48:55 +02:00
Julius Volz
5fd860f806
Complete building tree view and implement "Explain" tab
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 20:38:10 +02:00
Julius Volz
b75a12b52f
Remove unneeded <Group> in TSDBStatusPage
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 20:36:39 +02:00
Julius Volz
07856b4bb9
Make linter run by upgrading the ESLint config
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 20:35:55 +02:00
Julius Volz
c1c2e32137
More cleanups to tree view stats
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-05 16:19:12 +02:00
Julius Volz
2d9f79f59e
Show label stats in tree view
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-05 14:45:09 +02:00
Julius Volz
331a8e1d6c
Use infinite scroll in metrics explorer for faster rendering
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-05 14:44:45 +02:00
Julien
bb232ee109
Merge pull request #14807 from roidelapluie/remove-consoles-static
...
Remove console static files
2024-09-05 10:44:12 +02:00
Julius Volz
1f8a6b4d6e
Show Consoles link if configured
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 21:50:44 +02:00
Julius Volz
53affc64db
Clear the query page when navigating away from it
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 21:41:27 +02:00
Julius Volz
c73c3e24d7
Default to serving new (Prometheus 3.0) UI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 21:33:37 +02:00
Julius Volz
d0ee5427bd
Redirect /graph to /query in new UI, preserving params
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 21:21:29 +02:00
Julius Volz
8ee70c5fa0
Remove unused import
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 21:03:00 +02:00
Julius Volz
490eef6509
Merge branch 'main' into mantine-ui
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 20:58:19 +02:00
Julius Volz
1f3de9c599
Change range input from Input to TextInput
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 20:43:33 +02:00
Jan Fajerski
fe4289b502
Merge branch 'main' into HEAD
2024-09-04 18:50:00 +02:00
Julius Volz
d36e049d79
Fix lint errors by removing unused imports and vars
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 17:49:08 +02:00
Julius Volz
7103b35568
Add "Show exemplars" button (doesn't do anything yet)
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 17:45:31 +02:00
Julius Volz
88519152e5
Minor cleanups
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 17:44:54 +02:00
Julius Volz
c0ba4ee2bb
Add beginnings of a PromLens-style tree view
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 17:43:08 +02:00
Julius Volz
e5e212dad2
Remove wrong query key for format_query
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 17:35:17 +02:00
Julius Volz
fef4c15283
Remove commented-out line
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 17:34:35 +02:00
Julius Volz
a99c01b53f
Implement query history
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 17:25:34 +02:00
Julius Volz
f3f324be89
Don't update pathPrefix in settings on every App render
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-04 17:18:41 +02:00
Julius Volz
d0ccbd2eb5
Top-align all targets page table cell contents, other styling
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-03 16:09:50 +02:00
Julius Volz
eb175c88f6
Correctly pass custom title into ResettingErrorBoundary
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-03 16:07:04 +02:00
Julius Volz
857e59c8b6
Improve EndpointLink styling
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-03 16:05:30 +02:00
Julius Volz
5599db20cd
Change use{Suspense}APIQuery key to an array
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-03 16:05:05 +02:00
Julius Volz
9e4ffd044c
Implement Alertmanagers discovery page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-03 15:59:02 +02:00
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>
2024-09-02 13:59:29 +02:00
Julius Volz
87a22500e1
Add PromQL logic code and labels explorer from PromLens, add testing deps
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-02 13:45:36 +02:00
Julius Volz
6999e8063f
Don't wrap Prometheus logo + brand line
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-02 13:42:14 +02:00
Julius Volz
85735d58dd
ESLint: Allow some const values in non-const destructuring
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-02 13:41:40 +02:00
Jan Fajerski
00315ce15e
Merge branch 'main' into 3.0-main-sync-24-08-30
...
using -Xours
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2024-09-02 11:27:18 +02:00
Julius Volz
b29be5e6f8
Add query button to rule expressions, improve styling
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-01 20:28:42 +02:00
Arve Knudsen
99204f23ee
Merge remote-tracking branch 'prometheus/main' into arve/close-engine
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2024-08-29 09:52:54 +02:00
Julius Volz
bc48d19d8c
Add initial metrics explorer
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-28 21:14:21 +02:00
Julius Volz
4ccadd5453
Remove unused import
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-28 16:30:45 +02:00
Julius Volz
697327a51d
Add filtering to SD page and improve state processing
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-28 15:35:32 +02:00
Julius Volz
4ce71af1b9
Rename debouncedSearch -> search in buildAlertsPageData
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-28 15:03:16 +02:00
Julius Volz
d3b6b0f288
Rename "value" to "step" in resolution state
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-28 14:59:17 +02:00
Julius Volz
f195046b4d
Remove obsolete TODO
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-28 14:58:24 +02:00
Julius Volz
38e21abe7f
More specific TS typing for range query results (always matrix)
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-28 14:58:10 +02:00
Julius Volz
0018b29489
Rename query params on targets page, fix pool limit
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-28 14:57:12 +02:00
Julius Volz
d22e721d39
Add initial Service Discovery page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-28 14:56:35 +02:00
Julius Volz
73a328f37b
Memoize and improve targets page filtering
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-28 14:54:56 +02:00
Julius Volz
d6e5e39bf7
Add filtering to alerts page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-28 14:54:08 +02:00
Justin Lei
3a82cd5a7e
Add streaming remote read to ReadClient ( #11379 )
...
* Add streaming remote read to ReadClient
Signed-off-by: Justin Lei <justin.lei@grafana.com>
* Apply suggestions from code review
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Justin Lei <justin.lei@grafana.com>
* Remote read instrumentation tweaks
Signed-off-by: Justin Lei <lei.justin@gmail.com>
* Minor cleanups
Signed-off-by: Justin Lei <lei.justin@gmail.com>
* In-line handleChunkedResponse
Signed-off-by: Justin Lei <lei.justin@gmail.com>
* Fix lints
Signed-off-by: Justin Lei <lei.justin@gmail.com>
* Explicitly call cancel() when needed
Signed-off-by: Justin Lei <lei.justin@gmail.com>
* Update chunkedSeries, chunkedSeriesIterator for new interfaces
Signed-off-by: Justin Lei <lei.justin@gmail.com>
* Adapt remote.chunkedSeries to use prompb.ChunkedSeries
Signed-off-by: Justin Lei <lei.justin@gmail.com>
* Fix lint
Signed-off-by: Justin Lei <lei.justin@gmail.com>
---------
Signed-off-by: Justin Lei <justin.lei@grafana.com>
Signed-off-by: Justin Lei <lei.justin@gmail.com>
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
2024-08-28 07:23:54 +01:00
Bryan Boreham
4202be5e79
Merge branch 'release-2.54' into merge-2.54.1-into-main
2024-08-27 12:04:48 +01:00
Bryan Boreham
da28f88910
Cut release 2.54.1
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-08-27 10:14:16 +01:00
Arve Knudsen
c9a460d570
Merge remote-tracking branch 'prometheus/main' into arve/close-engine
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2024-08-26 12:17:10 +02:00
Julius Volz
4efd47741e
Correctly encode/decode new resolution states in URL
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-21 18:06:38 +02:00
Jan Fajerski
5138922b0d
Merge branch 'main' into 3.0-main-sync-24-08-21
2024-08-21 09:09:36 +02:00
Julien Pivotto
9b5e7623f4
Add support for multiple listening addresses
...
Fixes #9105
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-08-20 13:09:16 +02:00
Arve Knudsen
ee47150646
Update web/web.go
...
Co-authored-by: Julien <291750+roidelapluie@users.noreply.github.com>
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2024-08-19 10:43:17 +02:00
Arve Knudsen
4023c2405a
Update web/web.go
...
Co-authored-by: Julien <291750+roidelapluie@users.noreply.github.com>
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2024-08-19 10:43:05 +02:00
Arve Knudsen
3a78e76282
Upgrade golangci-lint to v1.60.1
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2024-08-18 12:13:25 +02:00
Julius Volz
2c972dba26
Implement stacked graphs (dirty) and improve React wrapping
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-16 20:41:18 +02:00
Julien Pivotto
7711cd5ab5
Remove deprecated storage.tsdb.retention flag
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-08-16 13:53:09 +02:00
Julius Volz
648751568d
Better target table formatting, store filters in URL
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-10 20:25:38 +02:00
Julius Volz
b2a8657d58
Open target endpoint links in separate window/tab
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-10 20:18:22 +02:00
Bryan Boreham
8978f3ef71
Cut release 2.54.0
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-08-09 12:07:28 +01:00
Julius Volz
3905902758
Add path prefix to readiness check
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-08 17:01:40 +02:00
Julius Volz
a5b811627f
Simplify / improve wrapping behavior on the rules page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-06 16:40:01 +02:00
Julius Volz
e07dd8cd05
Always display HTTP params under the endpoint link
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-06 16:39:25 +02:00
Julius Volz
b37fe21f63
Make badge colors more consistent
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-06 16:38:31 +02:00
Julius Volz
b0c6aa48a4
Remove "scroll to top" button, it's causing page renders on every scroll
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-06 16:38:05 +02:00
Bryan Boreham
80adc5baf4
Merge remote-tracking branch 'origin/main' into merge-2.54-to-main
2024-08-06 09:19:55 +01:00
Julius Volz
0c55b25919
Show a gray health ring for empty pools
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-06 09:16:18 +02:00
Bryan Boreham
6d7ed08850
Prepare release 2.54.0-rc.1 ( #14593 )
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-08-06 06:58:58 +01:00
Julius Volz
af6287b232
Add more tooltips to the /rules page, move health indicator to the right
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-05 20:13:56 +02:00
Julius Volz
76c3429e67
Add dropdown for discovered labels on /targets page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-05 20:13:49 +02:00
Julius Volz
d0a08623f5
Add TODO about navbar breakpoint
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-05 19:04:21 +02:00
Arve Knudsen
0cac919c4a
Merge pull request #14587 from prometheus/dependabot/npm_and_yarn/web/ui/follow-redirects-1.15.6
...
build(deps): bump follow-redirects from 1.15.2 to 1.15.6 in /web/ui
2024-08-04 18:33:49 +02:00
Arve Knudsen
db803c7357
Merge pull request #14589 from prometheus/dependabot/npm_and_yarn/web/ui/express-4.19.2
...
build(deps-dev): bump express from 4.18.1 to 4.19.2 in /web/ui
2024-08-04 18:15:22 +02:00
dependabot[bot]
983d0bd5cb
build(deps-dev): bump express from 4.18.1 to 4.19.2 in /web/ui
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.1 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.1...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-04 16:00:36 +00:00
dependabot[bot]
12dd999164
build(deps-dev): bump ejs from 3.1.8 to 3.1.10 in /web/ui
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.8 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases )
- [Commits](https://github.com/mde/ejs/compare/v3.1.8...v3.1.10 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-04 15:58:56 +00:00
dependabot[bot]
6b9c386d14
build(deps): bump follow-redirects from 1.15.2 to 1.15.6 in /web/ui
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.6 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-04 15:58:51 +00:00
dependabot[bot]
099d209a26
build(deps): bump braces from 3.0.2 to 3.0.3 in /web/ui
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-03 13:20:29 +00:00
Julius Volz
6cfee68b72
Nicer panel health colors for both light and dark modes
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-02 19:47:01 +02:00
Julius Volz
dffc526b2b
Update Mantine dependencies
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-02 19:45:29 +02:00
Julius Volz
406f8b6e23
Set DataTable display limits to original ones again
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-02 19:44:55 +02:00
dependabot[bot]
5681ec50e1
build(deps): bump @lezer/lr from 1.4.1 to 1.4.2 in /web/ui ( #14560 )
...
Bumps [@lezer/lr](https://github.com/lezer-parser/lr ) from 1.4.1 to 1.4.2.
- [Changelog](https://github.com/lezer-parser/lr/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lezer-parser/lr/compare/1.4.1...1.4.2 )
---
updated-dependencies:
- dependency-name: "@lezer/lr"
dependency-type: direct:production
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>
2024-08-02 11:47:04 +02:00
dependabot[bot]
a5666dded5
build(deps): bump @codemirror/view from 6.28.3 to 6.29.1 in /web/ui ( #14564 )
...
Bumps [@codemirror/view](https://github.com/codemirror/view ) from 6.28.3 to 6.29.1.
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/view/compare/6.28.3...6.29.1 )
---
updated-dependencies:
- dependency-name: "@codemirror/view"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-02 10:06:52 +02:00
Julius Volz
f30a58afaf
Completely refactor DataTable, show query infos and warnings
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-08-01 13:13:02 +02:00
Julius Volz
0f951774b8
Merge branch 'main' into mantine-ui
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-07-31 21:02:21 +02:00
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