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 |
|
Ween
|
b42cf33c4d
|
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:39:39 +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 |
|
Aliaksandr Valialkin
|
f58d15f27c
|
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 12:00:03 +03:00 |
|
Aliaksandr Valialkin
|
7ee7614e90
|
app/vmagent: initial implementation for vmagent
|
2020-02-23 17:31:54 +02:00 |
|