Aliaksandr Valialkin
|
8df33bd5c1
|
app/{vminsert,vmagent}: improve data ingestion speed over a single connection
Process data obtianed from a single connection on all the available CPU cores.
|
2020-09-28 04:14:51 +03:00 |
|
Aliaksandr Valialkin
|
7072db75cb
|
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:19 +03:00 |
|
Aliaksandr Valialkin
|
d9f7ea1c6e
|
lib/protoparser: removed unnecessary call to SetReadDeadline when reading a stream of data
The OS should return any buffered data in the stream without the need to set the read timeout.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/696
|
2020-08-15 15:38:35 +03:00 |
|
Aliaksandr Valialkin
|
3efa4e4e1c
|
lib/protoparser: move common code for detecting timeouts to ReadLinesBlockExt
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/696
|
2020-08-14 20:39:51 +03:00 |
|
Seva Poliakov
|
1ae0334e17
|
Fix graphite minus one timestamp (#609)
* fix graphite -1 timestamp
* format the graphite fix -1 timestamp
|
2020-07-08 14:13:01 +03:00 |
|
Aliaksandr Valialkin
|
fe77d661b3
|
all: use errors.As instead of type assertion for detecting net.Error
|
2020-07-01 00:16:13 +03:00 |
|
Aliaksandr Valialkin
|
d962568e93
|
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:33:46 +03:00 |
|
Aliaksandr Valialkin
|
3845420a8f
|
lib: extract common code for returning fast unix timestamp into lib/fasttime
|
2020-05-14 23:06:50 +03:00 |
|
Aliaksandr Valialkin
|
661cfb03e2
|
lib/protoparser: add -*TrimTimstamp command-line flags for Influx, Graphite, OpenTSDB and CSV data
These flags can be used for reducing disk space usage for timestamps data ingested over the given protocols
|
2020-04-10 12:44:46 +03:00 |
|
Aliaksandr Valialkin
|
6a1aab88fd
|
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:19:59 +02:00 |
|
Aliaksandr Valialkin
|
7ee7614e90
|
app/vmagent: initial implementation for vmagent
|
2020-02-23 17:31:54 +02:00 |
|