VictoriaMetrics/lib/protoparser
Aliaksandr Valialkin 09670479cd 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:45 +03:00
..
clusternative lib/protoparser/clusternative: remove unused field - unmarshalWork.lastResetTime 2021-07-02 13:32:59 +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:29:45 +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:20:38 +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:20:38 +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:20:38 +03:00
native lib/protoparser: propagate callback error to the caller of ParseStream for every supported data ingestion protocols 2020-11-13 13:05:34 +02:00
opentsdb lib/protoparser/opentsdb: follow-up after 8ee75ca45a 2021-08-29 11:50:01 +03:00
opentsdbhttp all: properly handle CPU limits set on the host system/container 2020-12-08 21:07:03 +02:00
prometheus lib/promscrape: reduce CPU usage for common case when calculating scrape_series_added metric 2021-09-12 12:53:45 +03:00
promremotewrite all: properly handle CPU limits set on the host system/container 2020-12-08 21:07:03 +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:20:38 +03:00