VictoriaMetrics/lib/protoparser/prometheus
Aliaksandr Valialkin c63755c316
lib/writeconcurrencylimiter: improve the logic behind -maxConcurrentInserts limit
Previously the -maxConcurrentInserts was limiting the number of established client connections,
which write data to VictoriaMetrics. Some of these connections could be idle.
Such connections do not consume big amounts of CPU and RAM, so there is a little sense in limiting
the number of such connections. So now the -maxConcurrentInserts command-line option
limits the number of concurrently executed insert requests, not including idle connections.

It is recommended removing -maxConcurrentInserts command-line option, since the default value
for this option should work good for most cases.
2023-01-06 22:20:19 -08:00
..
parser_test.go lib/protoparser/prometheus: optimize GetRowsDiff() function 2021-10-27 18:54:45 +03:00
parser_timing_test.go lib/protoparser/prometheus: add a benchmark for GetRowsDiff 2021-10-27 18:53:54 +03:00
parser.go lib/protoparser/prometheus: follow-up for 8e338632a3 2021-11-30 00:50:11 +02:00
streamparser_test.go Fixes error handling for promscrape.streamParse (#1009) 2021-01-12 13:31:47 +02:00
streamparser.go lib/writeconcurrencylimiter: improve the logic behind -maxConcurrentInserts limit 2023-01-06 22:20:19 -08:00