Yury Molodov
cde32da04f
vmui: add tip to Explore Metrics page ( #4615 )
...
* feat: add tip to Explore Metrics page (#4248 )
* fix: update description page
2023-07-18 16:01:24 -07:00
dependabot[bot]
a15a66ee89
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:53 -07:00
Yury Molodov
8c190ec8fb
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-07-06 21:58:09 -07:00
Dmytro Kozlov
caf4743e45
app/victoria-logs: remove header control ( #4493 )
2023-07-06 21:33:00 -07:00
Yury Molodov
a04a206cd2
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-07-06 21:31:33 -07:00
Yury Molodov
0ad966a898
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-07-06 17:33:54 -07:00
Dmytro Kozlov
ce98e68fe1
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
(cherry picked from commit 9843ec0e1d
)
2023-06-02 13:29:46 +02:00
Yury Molodov
5c2ed85eb9
vmui: refactor code using custom hooks ( #4145 )
...
* refactor: replace boolean useState with useBoolean
* refactor: replace useResize with useWindowSize/useElementSize
* refactor: replace addEventListener with useEventListener
* refactor: replace navigator.clipboard.writeText with useCopyToClipboard
* fix: prevent redirect loop
2023-05-16 10:09:24 -07:00
Yury Molodov
ff39df74d3
vmui: add notification for non-matching queries ( #4301 )
...
vmui: add notification for non-matching queries (#4211 )
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4211
2023-05-12 16:58:48 -07:00
Yury Molodov
c530bc639c
vmui: enhancements to top queries page ( #4299 )
...
* feat: improvement of the top queries page
* vmui/docs: enhancements to top queries page
* Apply suggestions from code review
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-05-12 15:53:05 -07:00
Yury Molodov
55f77dd353
vmui: increase font-size and fix the text display ( #4273 )
...
vmui: change default font size to 14px for better readability
vmui: fix bug with missing text on buttons in safari
---------
Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>
2023-05-11 13:33:06 -07:00
Dmytro Kozlov
fc9e7b650b
app/vmui: added table where Labels with the highest number of unique values show ( #4271 )
...
* app/vmui: added Labels with the highest number of unique values
* app/vmui: cleanup
* app/vmui: cleanup
* app/vmui: add table description
* app/vmui: fix comment, updated CHANGELOG.md
* app/vmui: disable links
* app/vmui: added actions to the table, it will show values for selected label with the highest number of series
* app/vmui: fix comment
2023-05-11 13:31:56 -07:00
Yury Molodov
ddc5197bce
vmui: add metric relabel debug ( #3889 )
...
* feat: add metric relabel debug (#3807 )
* fix: add link to relabeling cookbook
* lib/promrelabel: merge, fix conflicts
* lib/promrelabel: fix diff
* docs/vmui: add metric relabel playground
---------
Co-authored-by: dmitryk-dk <kozlovdmitriyy@gmail.com>
2023-05-08 14:59:35 -07:00
Yury Molodov
e0434f7b4e
vmui: display heatmap in the Explore Metrics
( #4124 )
...
* feat: display heatmap in the explore metrics (#4111 )
* fix: correct calc step for heatmap
* fix: remove spaces in the result of getDurationFromMilliseconds
2023-05-08 14:40:38 -07:00
Yury Molodov
3c45256736
vmui: add a comparison of data to the Cardinality Explorer
( #4123 )
...
* feat: add button "show today" to date picker
* feat: add comparison with the prev day (#3967 )
* vmui/docs: add comparison of data to cardinality page
2023-05-08 14:39:14 -07:00
Yury Molodov
de35cbf251
vmui: Integrate WITH template playground ( #3831 )
...
* feat: add WithTemplate page
* app/vmselect/prometheus: enable json mode for expand with expr API
* app/vmselect/prometheus: enable CORS and add content type
* feat: add api for expand with templates
* fix: remove console from useExpandWithExprs
* app/vmselect/prometheus: fix escaping
* vmui: integrate WITH template
* app/vmctl: check content type instead of form param
* fix: add content-type for fetch with-exprs
* fix: add a header to the server's response that allows the "Content-Type" header
* app/vmctl: added comment and cleanup
* app/vmctl: use format query param
---------
Co-authored-by: dmitryk-dk <kozlovdmitriyy@gmail.com>
2023-05-08 14:35:35 -07:00
Yury Molodov
23ed0467a2
vmui: fix freeze when query regular with heatmap query ( #4093 )
...
* fix: fix freeze when query regular with heatmap query
* vmui/docs: fix freeze when query regular with heatmap query
2023-05-08 13:09:49 -07:00
Yury Molodov
46765c677d
vmui: fix bug where tenant list was not displayed ( #4162 )
...
* fix: modify the condition for querying tenants
* fix: change getTenantIdFromUrl output to string
2023-05-08 11:00:19 -07:00
Yury Molodov
d9876b36b5
vmui: heatmap fixes ( #4086 )
...
* fix: correct display of errors for query
* fix: change the logic of histogram detection
* feat: hide empty buckets from the graph
* fix: revert server url
2023-04-06 15:11:26 -07:00
Yury Molodov
2263c412da
fix: correct the description of shortcut keys ( #4057 )
2023-04-05 22:20:12 -07:00
Yury Molodov
7871ee0e43
vmui: implement heatmap improvements ( #4078 )
...
* fix: disabled limits for histogram
* fix: add sorted buckets by upper bound
* refactor: move line chart components to folder
* feat: implement heatmap improvements (https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3384#issuecomment-1484023162 )
* app/vmselect/vmui: `make vmui-update`
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-04-05 22:15:23 -07:00
Yury Molodov
8bc5e83872
feat: add accept/cancel buttons for settings ( #4013 ) ( #4052 )
2023-04-02 21:22:11 -07:00
Yury Molodov
17b4fc9470
vmui: tips for working with the graph and legend ( #4045 )
...
* feat: add tips for working with the graph and legend
* feat: add the ability to collapse the legend
* vmui/docs: add the ability to collapse the legend
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-04-01 00:41:01 -07:00
Yury Molodov
9ff8acec60
vmui: add a tip for JSON and Table tabs ( #4000 )
...
* feat: add a tip for JSON and Table tabs
* feat: add Hyperlink component
* fix: update Hyperlink
* fix: update link to instant query
2023-03-31 23:59:59 -07:00
Yury Molodov
86a98fa131
vmui: heatmap ( #3780 )
...
* fix: add stroke and font for all axes
* feat: add util for generate gradient
* feat: add heatmap plugin
* feat: add heatmap legend
* feat: add heatmap graph (#3384 )
* vmui: add heatmap graph (#3384 )
* feat: add convert Prometheus to VictoriaMetrics histogram
* fix: prevent re-render graph
* feat: reset step for heatmap
* feat: normalize heatmap data
* fix: format heatmap legend
* wip
* app/vmselect/vmui: run `make vmui-update`
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-03-26 00:31:21 -07:00
Dmytro Kozlov
352dbd7e08
app/vmui: update cardinality page ( #3986 )
...
vmui: update cardinality page
---------
Co-authored-by: Yury Moladau <yurymolodov@gmail.com>
2023-03-24 13:34:01 -07:00
Yury Molodov
5f77efa915
vmui: display errors for each query individually ( #3987 ) ( #3994 )
2023-03-24 13:26:43 -07:00
Yury Molodov
95b60c2777
vmui: support for drag'n'drop in the "Trace analyzer" page ( #3971 )
...
vmui: add drag-and-drop support for the trace analyzer page
2023-03-20 14:09:45 -07:00
Yury Molodov
b66953d8e1
vmui: improve usability of date/time picker ( #3968 )
...
* vmui: allow manually set input date and time
* vmui/docs: improve usability of date/time picker
2023-03-20 13:57:47 -07:00
Yury Molodov
aebc441251
vmui: predefined dashboards docs ( #3895 )
...
* fix: correct display predefined panels
* docs: update the documentation for predefined dashboards
2023-03-12 17:22:27 -07:00
Yury Molodov
2a1bc14984
vmui: remove send step param for instant queries ( #3931 )
...
* fix: remove step param for instant queries (#3896 )
* vmui: remove send step param for instant queries
* Update docs/CHANGELOG.md
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-03-12 03:14:05 -07:00
Yury Molodov
3e3e23a483
vmui: fix display of selected value in the selector ( #3919 )
...
vmui: fix selected value in dropdowns for Explore page
2023-03-08 01:13:54 -08:00
Yury Molodov
c383c9b864
vmui: show query error ( #3890 )
...
* add links support with old query params
* show error after execute query
2023-03-08 00:49:36 -08:00
Yury Molodov
57c257810d
vmui: improve mobile ui ( #3848 )
...
* feat: improve mobile ui
* feat: improve mobile ui
* fix: change style server url
* fix: improve ExploreMetrics mobile
* fix: display global settings on all pages
2023-02-23 19:26:01 -08:00
Yury Molodov
ecdbcb16ed
fix: change query params update ( #3860 )
2023-02-22 18:26:33 -08:00
Aliaksandr Valialkin
7274424252
app/vmui: tooltip formatting enhancements according to https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3706#issuecomment-1429980038
2023-02-14 23:38:05 -08:00
Aliaksandr Valialkin
27b3209816
app/vmui: show median
instead of avg
on graph tooltip and line legend
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3706
2023-02-11 12:52:50 -08:00
Aliaksandr Valialkin
82b5fa2fd0
app/vmui: UX enhancements for https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3706
...
- Display `min` value additionally to `avg`, `max` and `last`
- Allow copy-n-pasting metric name with its labels from both legend and tooltup
2023-02-09 11:05:57 -08:00
Yury Molodov
13f55fc21e
vmui: lazy loading predefined panels ( #3795 )
...
* fix: change logic lazy loading predefined panels
* app/vmselect/vmui: `make vmui-update`
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-02-09 00:12:29 -08:00
Yury Molodov
5a7c63a324
vmui: improve tenant selector ( #3794 )
...
* fix: change styles tenant selector (#3792 )
* docs/CHANGELOG.md: document the change
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3792
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-02-09 00:09:36 -08:00
Yury Molodov
54bfd22ec5
vmui: add last/max/avg values ( #3789 )
...
* feat: add last/max/avg values (#3706 )
* fix: change filter exclude values
* app/vmui: wip
- improve the visualization for avg/max/last values
- make getAvgFromArray() function resilient against inf/undefined/nil
- export getLastFromArray() function, which is resilient against inf/undefined/nil
- run `make vmui-update`
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-02-08 22:42:05 -08:00
Yury Molodov
0454f9489c
fix: turn off the local dashboards( #3740 ) ( #3793 )
2023-02-08 11:24:28 -08:00
Yury Molodov
ccdf388094
vmui: set light theme for app mode ( #3748 )
...
* fix: set light theme for app mode
* fix: check inputTenantID flag
* fix: rename inputTenantID to useTenantID
2023-02-03 19:34:18 -08:00
Yury Molodov
05873dee89
vmui: mobile view ( #3742 )
...
* feat: add detect the system theme
* fix: change logic fetch tenants
* feat: add docs and info to cardinality page
* feat: add mobile view #3707
2023-02-03 19:30:38 -08:00
Yury Molodov
89c4982658
vmui: improvement the theme ( #3731 )
...
* feat: add detect the system theme
* fix: change logic fetch tenants
* feat: add docs and info to cardinality page
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-01-31 12:55:44 -08:00
Yury Molodov
730025d1dc
vmui: add select of Tenant ID ( #3673 )
...
* feat: add select of tenantID
* feat: replace tenantID to default url
* fix: move the tenantID selector to the top header
* fix: hide tenantID selector by condition
* fix: correct z-index
* app/vmselect/vmui: `make vmui-update`
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-01-27 15:54:09 -08:00
Yury Molodov
29fd95d426
vmui: include fonts in its bundle ( #3705 )
...
* feat: include fonts in the build
* fix: reduce size fonts
* wip
- Document the change at docs/CHANGELOG.md
- Run `make vmui-update`
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-01-24 09:31:37 -08:00
Yury Molodov
97aa9b03de
vmui: improvements to the UI styles ( #3704 )
...
* feat: add dark theme
* update packages
* feat: add multilevel menu (#3678 )
* fix: correct styles
* fix: update link to cardinality-explorer
* fix: remove unused scss variables
* docs/CHANGELOG.md: document the changes
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-01-24 09:21:20 -08:00
Yury Molodov
bad7213fcb
vmui: add open graph and twitter card tags ( #3697 )
...
* feat: add open graph and twitter card tags
* app/vmui: spelling fixes
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-01-23 22:33:42 -08:00
Yury Molodov
57f7ffca5b
vmui: add support for time zone selection for older versions of browsers ( #3680 )
...
* fix: add check for support of getting time zones
* vmui: add support for time zone selection for older versions of browsers
2023-01-20 12:07:28 -08:00