VictoriaMetrics/app/vmalert/templates
Roman Khavronenko d5d143f849
lib/promutils: move time-related funcs from promutils to timeutil ()
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
..
templates added reusable templates support () 2022-05-20 12:25:11 +03:00
funcs.qtpl app/vmalert/templates: properly escape all the special chars in quotesEscape function 2022-10-28 00:08:50 +03:00
funcs.qtpl.go app/vmalert/templates: properly escape all the special chars in quotesEscape function 2022-10-28 00:08:50 +03:00
template.go lib/promutils: move time-related funcs from promutils to timeutil () 2025-03-03 10:28:07 +01:00
template_test.go app/vmalert: fixes reload of external templates 2024-12-13 12:10:31 +01:00