Aliaksandr Valialkin
|
ed00eb3f33
|
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:08 +03:00 |
|
Aliaksandr Valialkin
|
7554be172d
|
lib/protoparser: move common code for detecting timeouts to ReadLinesBlockExt
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/696
|
2020-08-14 20:40:15 +03:00 |
|
Seva Poliakov
|
eb45185eef
|
Fix graphite minus one timestamp (#609)
* fix graphite -1 timestamp
* format the graphite fix -1 timestamp
|
2020-07-08 13:59:19 +03:00 |
|
Aliaksandr Valialkin
|
56ccfa5218
|
all: use errors.As instead of type assertion for detecting net.Error
|
2020-07-01 00:15:34 +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
|
0afd48d2ee
|
lib: extract common code for returning fast unix timestamp into lib/fasttime
|
2020-05-14 23:02:07 +03:00 |
|
Aliaksandr Valialkin
|
e62afc7366
|
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:39 +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 |
|