Yury Molodov
0116a333fb
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:00 +01:00
Yury Molodov
0e056ddb2d
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:21:16 +01:00
Aliaksandr Valialkin
8af56ea2ed
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:29:05 +01:00
Yury Molodov
66527c5981
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:36:52 +01:00
Aliaksandr Valialkin
2db1a664e1
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-10 22:28:44 +01:00
Yury Molodov
f90d2ec843
vmui: display query error on Explore metrics page ( #5272 )
...
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5202
2023-11-03 16:23:19 +01:00
Aliaksandr Valialkin
b8739bc00b
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:59 +01:00
Aliaksandr Valialkin
da887b49e7
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:43:51 +01:00
Aliaksandr Valialkin
c4c6ee9485
app/vmui: fix non-working Disable cache
checkbox at JSON
and Table
views
2023-10-31 22:58:06 +01:00
Aliaksandr Valialkin
9149353a36
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:56:16 +02:00
Yury Molodov
ad9e2b21ee
vmui: update dependencies ( #5194 )
2023-10-18 18:38:32 +02:00
Aliaksandr Valialkin
930a36df40
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-12 19:54:19 +02:00
Aliaksandr Valialkin
d984598e30
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-12 09:41:41 +02:00
Yury Molodov
6dc5306c9b
vmui: transfer Top Queries time interval #5097 ( #5145 )
...
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5097
2023-10-10 13:58:39 +02:00
Yury Molodov
c5044cdba9
vmui: enhancement of autocomplete feature ( #5051 )
...
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4993
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3006
2023-10-10 10:38:08 +02:00
Yury Molodov
f39045eca6
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:03 +02:00
Yury Molodov
133425f0c0
vmui: improve the appearance of the trace ( #5091 )
2023-10-02 21:24:03 +02:00
Dmytro Kozlov
f0e33700fc
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-09-29 11:47:45 +02:00
Aliaksandr Valialkin
2dc33e0ddc
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:16 +02:00
Yury Molodov
7b92f1d038
vmui: fix render heatmap ( #4957 )
2023-09-06 10:26:45 +02:00
Yury Molodov
d19072a2d9
feat: add the option to see the latest queries ( #4718 ) ( #4759 )
...
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-09-04 11:29:11 +02:00
Yury Molodov
c112dd7367
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:51:44 +02:00
Yury Molodov
72167a697e
vmui: ui improvements ( #4872 )
...
* vmui: chart refactoring to enhance code structure
* vmui: improve ui
2023-08-25 15:39:21 +02:00
Yury Molodov
ca44b8da1f
vmui: change warning display for text fields ( #4848 ) ( #4863 )
...
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4848
2023-08-21 15:42:55 +02:00
Yury Molodov
8287749c05
vmui: chart refactoring to enhance code structure ( #4830 )
2023-08-21 15:35:47 +02:00
Tamara Vashchuk
7349f18c55
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>
2023-08-18 20:12:48 +03:00
Aliaksandr Valialkin
e0017b4d47
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:25:54 -07:00
Yury Molodov
86f1459ca6
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-10 11:42:13 +02:00
Yury Molodov
cc7bfaca6c
vmui: allow displaying the full error message on click ( #4760 )
...
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4719
2023-08-10 11:34:25 +02:00
Roman Khavronenko
4c854c3ae2
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-03 11:48:37 +02:00
Yury Molodov
8f4961fbbd
vmui: display partial response warning ( #4742 )
...
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4721
2023-08-02 14:21:52 +02:00
Yury Molodov
b6ae325763
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:26:36 -07:00
Yury Molodov
23706ab491
fix: change getting serverUrl for vmui-logs ( #4604 ) ( #4677 )
2023-07-20 17:21:16 -07:00
Yury Molodov
ee0bf07d92
feat: change columns for active queries ( #4676 )
2023-07-20 17:18:47 -07:00
Yury Molodov
c400acbd18
vmui: enhancements multiline field editing ( #4294 )
...
* fix: change textarea for relabel page
* feat: add comment for monaco theme
* fix: change behavior of multiline fields
* vmui: merge master
2023-07-20 17:15:00 -07:00
Yury Molodov
53a266eff1
feat: optimize vmui-log bundle size ( #4602 )
...
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-07-19 16:49:38 -07:00
Yury Molodov
6a96fd8ed5
vmui: add Active Queries page ( #4653 )
...
* feat: add page to display a list of active queries (#4598 )
* app/vmagent: code formatting
* fix: remove console
---------
Co-authored-by: dmitryk-dk <kozlovdmitriyy@gmail.com>
2023-07-19 15:47:21 -07:00
dependabot[bot]
f9bf9fb925
build(deps-dev): bump word-wrap in /app/vmui/packages/vmui ( #4664 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 15:43:38 -07:00
Yury Molodov
7d1495056a
vmui: add tip to Explore Metrics page ( #4615 )
...
* feat: add tip to Explore Metrics page (#4248 )
* fix: update description page
2023-07-18 11:44:31 +02:00
dependabot[bot]
9baecdcd33
build(deps): bump tough-cookie in /app/vmui/packages/vmui ( #4603 )
...
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie ) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases )
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md )
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3 )
---
updated-dependencies:
- dependency-name: tough-cookie
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 22:22:21 -07:00
Yury Molodov
3bb3ad9991
feat: add link to MetricsQL ( #4562 ) ( #4608 )
2023-07-13 17:13:54 +02:00
Aliaksandr Valialkin
30cdcc751d
all: update Go builder from 1.20.5 to 1.20.6
...
See https://github.com/golang/go/issues?q=milestone%3AGo1.20.6+label%3ACherryPickApproved
2023-07-12 00:59:59 -07:00
Sergey
9bea7610f0
security: update base Alpine image to 3.18.2 to avoid security risks ( #4571 )
...
libcrypto3 and libssl3 in Alpine 3.18.0 have versions `3.1.0-r4`
which contains CVE-2023-2650:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-2650
Use ALpine image 3.18.2 which contains fixed versions of libssl3
and libcrypto3: 3.1.1-r0
NB: In Openshift these containers are marked as vulnerabilities
because of these CVEs.
2023-07-04 09:23:53 +02:00
Yury Molodov
3cdba1b1c6
vmui: fix app routing issues ( #4408 )
...
The change focuses on rectifying inconsistencies in the navigation behavior of the application
and eliminating issues encountered when manually altering the URL.
The key updates include:
- Refactoring of the routing mechanism to handle all possible routes and their states.
- Enhancement of the React Router usage to ensure a smoother navigation experience.
- Handling application state when the URL is manually changed.
2023-06-30 10:13:10 +02:00
Aliaksandr Valialkin
3ded68d4b8
app/vmui/Makefile: consistently use tabs instead of spaces in multi-line Makefile rules
2023-06-21 19:57:48 -07:00
Dmytro Kozlov
81c1124a0f
app/victoria-logs: remove header control ( #4493 )
2023-06-21 18:35:42 +02:00
Yury Molodov
4a7b17ed76
vmui: logs explorer ( #4484 )
...
* feat: add a logs page
* app/vixtoria-logs: add handlers for vmui
* feat: add group logs
* feat: add logs build
* app/vixtoria-logs: update make file
* app/vixtoria-logs: cleanup make
* app/vixtoria-logs: fix description
* fix: correct url for logs
* fix: save display view in query params
* fix: change logo for logs build
* app/vixtoria-logs: remove dashboards from vlselect
* app/vixtoria-logs: enable user
---------
Co-authored-by: dmitryk-dk <kozlovdmitriyy@gmail.com>
2023-06-21 16:57:09 +02:00
Yury Molodov
66b42a6772
vmui: memory leak fix ( #4455 )
...
* fix: optimize the preparation of data for the graph
* fix: optimize tooltip rendering
* fix: optimize re-rendering of the chart
* vmui: memory leak fix
2023-06-20 11:29:24 +02:00
Roman Khavronenko
476c7bdd6f
all: update Go builder from Go1.20.4 to Go1.20.5 ( #4427 )
...
See https://github.com/golang/go/issues?q=milestone%3AGo1.20.5+label%3ACherryPickApproved
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-06-09 09:42:55 +02:00
Dmytro Kozlov
9843ec0e1d
app/vmui: fix behavior when changing url in global settings ( #4332 )
...
* app/vmui: fix behavior when changing url in global settings
* app/vmctl: minor fix
* app/vmui: fix behavior when changing url in global settings
2023-06-01 12:19:03 +03:00