VictoriaMetrics/app
Dima Lazerka 0c7d46d637
flagutil: Make .Msecs private (#4906)
* Introduce flagutil.Duration

To avoid conversion bugs

* Fix tests

* Clarify documentation re. month=31 days

* Add fasttime.UnixTime() to obtain time.Time

The goal is to refactor out the last usage of `.Msecs`.

* Use fasttime for time.Now()

* wip

- Remove fasttime.UnixTime(), since it doesn't improve code readability and maintainability
- Run `make docs-sync` for syncing changes from README.md to docs/ folder
- Make lib/flagutil.Duration.Msec private
- Rename msecsPerMonth const to msecsPer31Days in order to be consistent with retention31Days

---------

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-09-03 10:33:37 +02:00
..
victoria-logs app/vlselect: handle vmui at /select/vmui path instead of /vmui 2023-06-21 19:52:50 -07:00
victoria-metrics docs: follow-up after aec4b5db81 (#4638) 2023-07-19 10:10:51 +02:00
vlinsert app/vlinsert/loki: add handler for healthcheck endpoint (#4885) 2023-08-30 16:32:28 +02:00
vlselect app/{vmselect,vlselect}: run make vmui-update vmui-logs-update after recent changes to app/vmui 2023-08-29 12:58:44 +02:00
vlstorage Add flagutil.Duration to avoid conversion bugs (#4835) 2023-09-01 09:27:51 +02:00
vmagent Makefile: update golangci-lint from v1.51.2 to v1.54.2 2023-09-01 10:16:42 +02:00
vmalert Makefile: update golangci-lint from v1.51.2 to v1.54.2 2023-09-01 10:16:42 +02:00
vmauth app/vmauth: add tests for ResponseHeaders 2023-09-01 09:21:12 +02:00
vmbackup vmbackup: correctly check if specified -dst belongs to specified -storageDataPath (#4841) 2023-08-16 14:45:35 +02:00
vmbackupmanager docs: use 1. instead of N. in numbered bullets, so they are automatically adjusted by Github Markdown engine 2023-07-26 14:39:44 -07:00
vmctl Makefile: update golangci-lint from v1.51.2 to v1.54.2 2023-09-01 10:16:42 +02:00
vmgateway docs: follow-up after aec4b5db81 (#4638) 2023-07-19 10:10:51 +02:00
vminsert lib/promrelabel: properly replace : char with _ in metric names when -usePromCompatibleNaming command-line flag is set 2023-08-14 16:14:42 +02:00
vmrestore docs: use 1. instead of N. in numbered bullets, so they are automatically adjusted by Github Markdown engine 2023-07-26 14:39:44 -07:00
vmselect app/vmselect: run make vmui-update after c112dd7367 2023-09-01 10:54:06 +02:00
vmstorage flagutil: Make .Msecs private (#4906) 2023-09-03 10:33:37 +02:00
vmui vmui: support for Prometheus data on the cardinality page (#4713) 2023-09-01 10:51:44 +02:00