VictoriaMetrics/lib/httputils
Roman Khavronenko d5d143f849
lib/promutils: move time-related funcs from promutils to timeutil (#8403)
Since funcs `ParseDuration` and `ParseTimeMsec` are used in vlogs,
vmalert, victoriametrics and other components, importing promutils only
for this reason makes them to export irrelevant
`vm_rows_invalid_total{type="prometheus"}` metric.

This change removes `vm_rows_invalid_total{type="prometheus"}` metric
from /metrics page for these components.

### Describe Your Changes

Please provide a brief description of the changes you made. Be as
specific as possible to help others understand the purpose and impact of
your modifications.

### Checklist

The following checks are **mandatory**:

- [ ] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit 63f6ac3ff8)
2025-03-03 10:28:07 +01:00
..
array.go app/vlinsert: implement the ability to add extra fields to the ingested logs 2024-11-04 10:23:16 -03:00
bool.go app/vmselect: move common http functionality from app/vmselect/searchutils to lib/httputils 2023-07-06 17:22:23 -07:00
duration.go lib/promutils: move time-related funcs from promutils to timeutil (#8403) 2025-03-03 10:28:07 +01:00
duration_test.go app/vmselect: move common http functionality from app/vmselect/searchutils to lib/httputils 2023-07-06 17:22:23 -07:00
int.go app/vmselect: move common http functionality from app/vmselect/searchutils to lib/httputils 2023-07-06 17:22:23 -07:00
time.go lib/promutils: move time-related funcs from promutils to timeutil (#8403) 2025-03-03 10:28:07 +01:00
time_test.go app/vlinsert: support _time field without timezone information during data ingestion 2024-09-26 12:50:14 +02:00
tls.go lib/httputils: parse URL before creating HTTP transport (#6820) 2024-08-16 11:34:49 +02:00
tls_test.go lib/httputils: parse URL before creating HTTP transport (#6820) 2024-08-16 11:34:49 +02:00