Yury Molodov
587c5fec2d
vmui: add the ability to expand all tracing entries ( #5677 ) ( #5726 )
2024-01-30 21:13:13 +02:00
Yury Molodov
8958fb78ad
vmui: fix Enter
key in query field ( #5667 ) ( #5717 )
...
(cherry picked from commit 7007c6a760
)
2024-01-30 14:45:47 +01:00
Yury Molodov
551f48466c
vmui: fix Enter
key in query field ( #5667 ) ( #5681 )
2024-01-26 22:38:51 +01:00
Yury Molodov
1db2b991b7
vmui: query report ( #5497 )
...
* vmui: add query analyzer page
* vmui: fix tabs for query analyzer
* vmui: add help to export query
* vmui: add time params to query analyzer
* docs/vmui: add query analyzer
* vmui: fix validation JSON form
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2024-01-23 04:26:04 +02:00
Yury Molodov
3a26e4d6ec
vmui: add flag for default timezone setting ( #5611 )
...
* vmui: add flag for default timezone setting #5375
* vmui: validate timezone before client return
* Update app/vmselect/vmui.go
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2024-01-23 04:15:14 +02:00
Yury Molodov
574d69775e
vmui: fix cache autocomplete ( #5591 )
...
* vmui: fix the logic of closing the popper #5470
* vmui: fix the logic of caching autocomplete results #5472
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2024-01-23 04:06:39 +02:00
Yury Molodov
0582ec5c8c
vmui: add autofocus to input for desktop version #5479 ( #5592 )
2024-01-22 01:09:27 +02:00
Roman Khavronenko
fe4934f0ec
app/vmui: send step
param for instant queries ( #5639 )
...
The change reverts https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3896
due to reasons explained in https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3896#issuecomment-1896704401
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-01-22 00:25:31 +02:00
Yury Molodov
9588b9bd19
vmui/vmanomaly: add support models that produce only anomaly_score
( #5594 )
...
* vmui/vmanomaly: add support models that produce only `anomaly_score`
* vmui/vmanomaly: fix display legend
* vmui/vmanomaly: update comment on anomaly threshold
2024-01-17 00:12:43 +02:00
Aliaksandr Valialkin
b7fcdb1985
deployment/docker: update Go builder from Go1.21.5 to Go1.21.6
2024-01-17 00:05:24 +02:00
Dmytro Kozlov
37a76de800
app/vmui: fix broken link for the statistic inaccuracy explanation ( #5568 )
...
(cherry picked from commit 105c6b2eb7
)
2024-01-08 20:15:04 +01:00
Yury Molodov
d0b047a2bf
vmui: add vmanomaly explorer ( #5401 )
2023-12-20 14:15:25 +02:00
Dima Lazerka
44c113f829
VMUI: Handle unknown query error response type ( #5451 )
...
* VMUI: Handle unknown query error response type
* vmui: add error text for unknown error type
* Simplify nested `if`s for unknown error
Accepting @Loori-R's suggestion
Co-authored-by: Yury Molodov <yurymolodov@gmail.com>
---------
Co-authored-by: Yury Moladau <yurymolodov@gmail.com>
(cherry picked from commit cd277e3f84
)
2023-12-15 11:54:07 +01:00
Yury Molodov
e76c44c5b4
vmui: autocomplete usability improvements ( #5422 )
...
* vmui: add show quick tip for autocomplete
* vmui: auto-completion usability improvements #5348
* vmui: add const for min symbols in autocomplete
* Use proper queries to VictoriaMetrics
* vmui: fix comments for autocomplete
* app/vmselect: run `make vmui-update`
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-12-13 00:33:27 +02:00
Aliaksandr Valialkin
842aba3f46
deployment/docker: update base Docker image from alpine:3.18.5 to alpine:3.19.0
...
See https://www.alpinelinux.org/posts/Alpine-3.19.0-released.html
2023-12-10 02:28:31 +02:00
Aliaksandr Valialkin
12e94f10cc
deployment/docker: update Go builder from Go1.21.4 to Go1.21.5
...
See https://github.com/golang/go/issues?q=milestone%3AGo1.21.5+label%3ACherryPickApproved
2023-12-06 22:33:27 +02:00
Yury Molodov
cc5f1745ca
vmui: change autocomplete hotkey to Alt/Option + A ( #5328 )
2023-11-15 23:33:33 +01:00
Yury Molodov
0fe02e8d9d
vmui: reduced the number of server requests ( #5253 )
...
* vmui: reduced the number of server requests
* run `make vmui-update vmui-logs-update`
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-11-14 01:50:57 +01:00
Yury Molodov
33e65e2cab
vmui: fix trailing slash in serverURL ( #5271 )
...
* vmui: add function to autoremove slash at the end of serverURL (#5203 )
* vmui: change removeTrailingSlash func
2023-11-14 01:24:29 +01:00
Aliaksandr Valialkin
356deada8c
lib/htmlcomponents: use relative links for the top page and for favicon.ico
...
This allows hiding VictoriaMetrics components behind proxies with arbitrary path prefixes.
For example, vmagent HTTP handlers can be served via /vmagent/ path prefix:
- http://proxy/vmagent/targets
- http://proxy/vmagent/service-discovery
The path prefix can be arbitrary. For example, below are vmagent urls
for /tenantID/vmagent/ path prefix:
- http://proxy/tenantID/vmagent/targets
- http://proxy/tenantID/vmagent/service-discovery
While at it, consistently serve favicon.ico from any path directory.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5306
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5307
2023-11-13 20:28:17 +01:00
Yury Molodov
695bc7ff36
vmui: ui logs enhancements ( #5312 )
...
* vmui/logs: fix time sorting #5300
* vmui/logs: add base query validation
* vmui/logs: add a message for empty results
2023-11-13 10:40:18 +01:00
Aliaksandr Valialkin
7bbdecb79a
deployment: update Go builder from Go1.21.3 to Go1.21.4
...
See https://github.com/golang/go/issues?q=milestone%3AGo1.21.4+label%3ACherryPickApproved
2023-11-13 09:40:08 +01:00
Yury Molodov
d7c6153f68
vmui: display query error on Explore metrics page ( #5272 )
...
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5202
(cherry picked from commit f90d2ec843
)
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-11-03 16:25:21 +01:00
Aliaksandr Valialkin
ae9b4c94bc
app/vmselect: return stats.seriesFetched as string instead of number
...
vmalert expects string value for stats.seriesFetched, so it is impossible
switching to number without breaking compatibility with old vmalert releases :(
It is still unclear why stats.seriesFetched has string type in the first place...
2023-11-01 17:49:28 +01:00
Aliaksandr Valialkin
6a98f9df54
app/vmui: show query execution duration in the header of query input field
...
This should simplify the process of query optimization
2023-11-01 16:46:42 +01:00
Aliaksandr Valialkin
28f0610e14
app/vmui: fix non-working Disable cache
checkbox at JSON
and Table
views
2023-10-31 22:58:15 +01:00
Aliaksandr Valialkin
a66c261b55
app/vmui: change the order of tables at Top queries
tab
...
Move the most interesting table - queries with the most summary time to execute - to the top
2023-10-28 11:57:08 +02:00
Yury Molodov
45501eccab
vmui: update dependencies ( #5194 )
2023-10-26 09:08:05 +02:00
Aliaksandr Valialkin
b86bec8109
app/vmui: small UX enhancements
...
- Reduce vertical space usage, so more information is available on the screen without the need to scroll.
- Show information for lines with higher values at the top of the legend under the graph.
This should simplify graph analysis when it contains many lines.
2023-10-16 12:39:32 +02:00
Aliaksandr Valialkin
ca35e0d66a
deployment/docker: update Go builder from Go1.21.1 to Go1.21.3
...
See https://github.com/golang/go/issues?q=milestone%3AGo1.21.2+label%3ACherryPickApproved
and https://github.com/golang/go/issues?q=milestone%3AGo1.21.3+label%3ACherryPickApproved
2023-10-16 12:38:14 +02:00
Yury Molodov
65a9f3da03
vmui: transfer Top Queries time interval #5097 ( #5145 )
...
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5097
(cherry picked from commit 6dc5306c9b
)
2023-10-10 14:14:20 +02:00
Yury Molodov
29487700d9
vmui: enhancement of autocomplete feature ( #5051 )
...
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4993
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3006
(cherry picked from commit c5044cdba9
)
2023-10-10 12:45:08 +02:00
Yury Molodov
f5521ce4d4
vmui: add storage for query history ( #5022 )
...
* vmui: add storage for query history
* docs/vmui: add storage for query history
2023-10-02 21:41:32 +02:00
Yury Molodov
40973d37da
vmui: improve the appearance of the trace ( #5091 )
2023-10-02 21:24:51 +02:00
Dmytro Kozlov
10371eac60
vmui: update information about tsdb usage in cluster version ( #5004 )
...
* vmui: update information about tsdb usage in cluster version
* vmui: cleanup
* vmui: add CHANGELOG.md
* vmui: cleanup
* vmui: update logic, move information to the visible place
* app/vmui: remove values fetch, update documentation for cardinality explorer
* app/vmui: update CHANGELOG.md
2023-10-01 21:30:44 +02:00
Aliaksandr Valialkin
677612c6cb
all: update Go builder from Go1.21.0 to Go1.21.1
...
See https://github.com/golang/go/issues?q=milestone%3AGo1.21.1+label%3ACherryPickApproved
2023-09-07 11:36:49 +02:00
Yury Molodov
6c96bebc23
vmui: fix render heatmap ( #4957 )
2023-09-06 10:29:58 +02:00
Yury Molodov
30db332866
feat: add the option to see the latest queries ( #4718 ) ( #4759 )
...
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-09-05 16:56:53 +02:00
Yury Molodov
9bd71b0f12
vmui: support for Prometheus data on the cardinality page ( #4713 )
...
* feat: add cardinality support for prometheus (#4320 )
* docs/CHANGELOG.md: add cardinality support for prometheus
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-09-01 10:54:21 +02:00
Yury Molodov
2aff0ce327
vmui: ui improvements ( #4872 )
...
* vmui: chart refactoring to enhance code structure
* vmui: improve ui
(cherry picked from commit 72167a697e
)
2023-08-27 09:05:55 +02:00
Yury Molodov
c527d2a549
vmui: change warning display for text fields ( #4848 ) ( #4863 )
...
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4848
(cherry picked from commit ca44b8da1f
)
2023-08-21 15:50:20 +02:00
Yury Molodov
931c63f602
vmui: chart refactoring to enhance code structure ( #4830 )
...
(cherry picked from commit 8287749c05
)
2023-08-21 15:50:19 +02:00
Tamara Vashchuk
6a59737e96
vmui: Add button to prettify query ( #4694 )
...
* Add button to prettify query
Just capitalizes query text for now
* Add /prettify-query API handler
* Replace UI pretiffier using prettifier API
* Add showing server errors
Had to pass setQueryErrors from useFetchQuery.ts
* Use serverUrl from global AppState
* Change icon to AutoAwsome icon + added style change color when button is active
* Add sync/await to prettifyQuery function
* Doc public function for lint
* Minor async fix
* Removed extra blank lines
* Extract usePrettifyQuery hook
* Made more generic style for :active button
* Refactor usePrettifyQuery
However, prettify errors don't clean up query errors, but should
* Add prettyQuery functionality to CHANGELOG.md
* Reuse queryErrors
* Unhide errors on start
---------
Co-authored-by: Tamara <toma.vashchuk@gmail.com>
(cherry picked from commit 7349f18c55
)
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-08-21 15:50:17 +02:00
Aliaksandr Valialkin
4470856cc4
all: update Go builder from Go1.20.7 to Go1.21.0
...
See https://tip.golang.org/doc/go1.21
and https://go.dev/blog/go1.21
2023-08-11 06:26:27 -07:00
Yury Molodov
088d08ac4a
vmui: hide "Logs Explorer" for the base build ( #4761 )
...
LogsExplorer should be a part of VictoriaLogs binaries, as well as VMUI is now part of VictoriaMetrics binaries.
2023-08-11 05:00:08 -07:00
Yury Molodov
cf0077b552
vmui: allow displaying the full error message on click ( #4760 )
...
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4719
2023-08-11 04:59:34 -07:00
Roman Khavronenko
7220f70506
security: bump go version from 1.20.6 to 1.20.7 ( #4773 )
...
The update includes a security fix to the crypto/tls package,
as well as bug fixes to the assembler and the compiler.
See the list of issues addressed in Go1.20.7 here:
https://github.com/golang/go/issues?q=milestone%3AGo1.20.7+label%3ACherryPickApproved
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-08-11 04:44:01 -07:00
Yury Molodov
d443ab5ae1
vmui: display partial response warning ( #4742 )
...
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4721
2023-08-11 04:17:27 -07:00
Yury Molodov
9f440b1013
vmui: remove monaco-editor
( #4698 )
...
* fix: remove monaco editor due to bundle size
* vmui: update dependencies
* fix: disable source map generation
2023-07-24 16:27:57 -07:00
Yury Molodov
7757a31a73
fix: change getting serverUrl for vmui-logs ( #4604 ) ( #4677 )
2023-07-20 21:53:30 -07:00