Aliaksandr Valialkin
|
5cdad60a6f
|
lib/protoparser: use 64KB read buffer instead of default 4KB buffer provided by net/http.Server
This should reduce syscall overhead when reading big amounts of data
|
2020-09-28 02:07:10 +03:00 |
|
Aliaksandr Valialkin
|
b4bf722d8f
|
lib/protoparser: use all the available CPU cores for processing ingested data from a single /api/v1/import stream
Previously a single data ingestion stream to /api/v1/import could load only a single CPU core.
|
2020-09-26 04:21:32 +03:00 |
|
Aliaksandr Valialkin
|
147c35ebd4
|
all: allow using KB , MB , GB , KiB , MiB and GiB suffixes in command-line flag values related to byte sizes or byte rates
|
2020-08-16 17:05:52 +03:00 |
|
Aliaksandr Valialkin
|
6fe3c48a6e
|
properly calculate readCalls
|
2020-07-10 12:00:58 +03:00 |
|
Aliaksandr Valialkin
|
d5dddb0953
|
all: use %w instead of %s for wrapping errors in fmt.Errorf
This will simplify examining the returned errors such as httpserver.ErrorWithStatusCode .
See https://blog.golang.org/go1.13-errors for details.
|
2020-06-30 23:05:11 +03:00 |
|
Aliaksandr Valialkin
|
b785429ddb
|
lib/protoparser: metrics renaming: vm_protoparser_<type>_* -> vm_protoparser_*{type="<type>"}
This should improve composability of these metrics in PromQL queries
|
2020-02-28 20:20:10 +02:00 |
|
Aliaksandr Valialkin
|
04762344c6
|
app/vmagent: initial implementation for vmagent
|
2020-02-23 13:36:03 +02:00 |
|