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
|
9f39e618ed
|
lib/promscrape/discovery/gce: discover per-zone instances for gce_sd_config in parallel. This should reduce discovery latency
|
2020-05-06 15:00:23 +03:00 |
|
Aliaksandr Valialkin
|
31861c5b8e
|
lib/promscrape/discovery/gce: allow empty zone arg in gce_sd_config - in this case zones for the given project are automatically discovered
|
2020-04-26 14:37:38 +03:00 |
|
Aliaksandr Valialkin
|
7c74efd640
|
lib/promscrape/discovery/gce: make golint happy by ignoring resp.Body.Close() result
|
2020-04-24 18:13:26 +03:00 |
|
Aliaksandr Valialkin
|
069690e3bd
|
lib/promscrape: initial implementation for gce_sd_configs aga Prometheus-compatible service discovery for Google Compute Engine
|
2020-04-24 17:53:43 +03:00 |
|