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 |
|
Ween
|
1cd01b5359
|
Fix Auto metrics relabeled errors (#593)
* Fix Auto metrics relabeled errors
* Finalize auto-genenated Labels
* Fix Test Errors
Co-authored-by: xinyulong <xinyulong@kuaishou.com>
|
2020-06-29 22:29:29 +03:00 |
|
Aliaksandr Valialkin
|
69004a5f67
|
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:56:15 +03:00 |
|
Aliaksandr Valialkin
|
01d7d799dc
|
lib/promscrape: rename 'scrape_config->scrape_limit' to 'scrape_config->sample_limit'
`scrape_config` block from Prometheus config contains `sample_limit` field,
while in `vmagent` this field was mistakenly named as `scrape_limit`.
|
2020-04-14 11:59:57 +03:00 |
|
Aliaksandr Valialkin
|
04762344c6
|
app/vmagent: initial implementation for vmagent
|
2020-02-23 13:36:03 +02:00 |
|