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
|
1f0e8fdc0d
|
lib/promscrape: fix tests after the commit 658a8742ac
The original commit copies `__address__` label to `instance` label when generating per-target labels as Prometheus does.
See https://www.robustperception.io/life-of-a-label for details.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/453
|
2020-05-03 16:59:29 +03:00 |
|
DexterZhang
|
317688f144
|
fix(vmagent): different behavior as how prometheus deal with labels. [Issue#453] (#454)
|
2020-05-03 16:59:28 +03:00 |
|
Aliaksandr Valialkin
|
c3b239eb1a
|
lib/protoparser/prometheus: allow trailing comma in tags list
The trailing comma is generated by cloudwatch exporter.
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/350
|
2020-03-02 22:23:28 +02:00 |
|
Aliaksandr Valialkin
|
7ee7614e90
|
app/vmagent: initial implementation for vmagent
|
2020-02-23 17:31:54 +02:00 |
|
Aliaksandr Valialkin
|
9d279e26a7
|
lib/protoparser/prometheus: skip leading whitespace from tag names
|
2020-02-16 19:06:23 +02:00 |
|
Aliaksandr Valialkin
|
36a1a21d6e
|
lib/protoparser: add parser for Prometheus exposition text format
This parser will be used by vmagent
|
2020-01-24 20:11:19 +02:00 |
|