VictoriaMetrics/lib/promscrape
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
..
discovery lib/promrelabel/scrape_url: properly parse IPv6 address from __address__ label 2025-02-28 14:20:24 +04:00
discoveryutils lib/promrelabel/scrape_url: properly parse IPv6 address from __address__ label 2025-02-28 14:20:24 +04:00
testdata lib/promscrape: disable support for service discovery and metrics scrape via http2 2023-07-06 16:04:31 -07:00
client.go lib/promscrape: fixed reload on max_scrape_size change (#7282) 2024-10-18 11:42:47 +02:00
client_test.go lib/promscrape: Fix TestClientProxyReadOk flaky test (#7173) 2024-10-04 10:42:52 +02:00
config.go lib/promutils: move time-related funcs from promutils to timeutil (#8403) 2025-03-03 10:28:07 +01:00
config_test.go lib/promscrape: add relabel configs to global section 2024-10-31 20:08:31 +01:00
config_timing_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
relabel_debug.go app/vmselect: small cleanup after 4f3f9950d0 2023-05-09 22:45:02 -07:00
scraper.go lib/promscrape: add Marathon service discovery 2025-01-10 16:50:39 +04:00
scraper_test.go lib/promscrape: fixed reload on max_scrape_size change (#7282) 2024-10-18 11:42:47 +02:00
scrapework.go lib/promscrape: fixed reload on max_scrape_size change (#7282) 2024-10-18 11:42:47 +02:00
scrapework_test.go lib/prompbmarshal: move MustParsePromMetrics to protoparser/prometheus (#8405) 2025-02-27 22:55:32 +01:00
scrapework_timing_test.go all: fix golangci-lint(revive) warnings after 0c0ed61ce7 2024-04-03 03:00:45 +03:00
targetstatus.go lib/promscrape: show only unhealthy targets if show_only_unhealthy filter is enabled (#6960) 2024-09-24 16:58:16 +02:00
targetstatus.qtpl lib/promscrape: follow-up for 1e83598be3 2024-07-16 12:38:41 +02:00
targetstatus.qtpl.go lib/promscrape: follow-up for 1e83598be3 2024-07-16 12:38:41 +02:00