VictoriaMetrics/app/vmagent/prometheusimport
Roman Khavronenko 867b7e5688
lib/protoparser/prometheus: move streamparser to subpackage (#3814)
`lib/protoparser/prometheus` is used by various applications,
such as `app/vmalert`. The recent change to the
`lib/protoparser/prometheus` package introduced a new dependency
of `lib/writeconcurrencylimiter` which exposes some metrics.
Because of the dependency, now all applications which have this
dependency also expose these metrics.

Creating a new `lib/protoparser/prometheus/stream` package helps
to remove these metrics from apps which use `lib/protoparser/prometheus`
as dependency.

See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3761

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-02-13 09:44:47 -08:00
..
request_handler_test.go app/vmagent/prometheusimport: delete the temporary directory created by vmagent after the test is complete 2023-01-26 23:25:34 -08:00
request_handler.go lib/protoparser/prometheus: move streamparser to subpackage (#3814) 2023-02-13 09:44:47 -08:00