VictoriaMetrics/lib/protoparser
Aliaksandr Valialkin f3e89754a9 lib/promscrape: reduce CPU usage for common case when calculating scrape_series_added metric
Also reduce CPU usage when applying `series_limit` to scrape targets with constant set of metrics.

The main idea is to perform the calculations on scrape_series_added and series_limit
only if the set of metrics exposed by the target has been changed.
Scrape targets rarely change the set of exposed metrics,
so this optimization should reduce CPU usage in general case.
2021-09-12 12:53:14 +03:00
..
common lib/protoparser: measure the duration for reading the whole block of data instead of a single read operation 2021-06-14 12:25:52 +03:00
csvimport lib/protoparser: stop reading the input stream as soon as the callback provided by the caller returns error 2021-06-14 15:18:49 +03:00
graphite lib/protoparser: stop reading the input stream as soon as the callback provided by the caller returns error 2021-06-14 15:18:49 +03:00
influx lib/protoparser: stop reading the input stream as soon as the callback provided by the caller returns error 2021-06-14 15:18:49 +03:00
native lib/protoparser: propagate callback error to the caller of ParseStream for every supported data ingestion protocols 2020-11-13 13:05:24 +02:00
opentsdb lib/protoparser/opentsdb: follow-up after 8ee75ca45a 2021-08-29 11:49:21 +03:00
opentsdbhttp all: properly handle CPU limits set on the host system/container 2020-12-08 21:07:29 +02:00
prometheus lib/promscrape: reduce CPU usage for common case when calculating scrape_series_added metric 2021-09-12 12:53:14 +03:00
promremotewrite all: properly handle CPU limits set on the host system/container 2020-12-08 21:07:29 +02:00
vmimport lib/protoparser: stop reading the input stream as soon as the callback provided by the caller returns error 2021-06-14 15:18:49 +03:00