Aliaksandr Valialkin
|
9e83335ca9
|
lib/promscrape/discovery/kubernetes: go fmt
|
2020-11-07 13:03:49 +02:00 |
|
Aliaksandr Valialkin
|
5407eed2f6
|
lib/promscrape/discovery/kubernetes: reduce memory usage for labels when discovering big number of scrape targets by using string concatenation instead of fmt.Sprintf
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/825
|
2020-11-07 13:03:08 +02: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
|
1c5d14a2eb
|
lib/promscrape: move KubernetesSDConfig to lib/promscrape/discovery/kubernetes
|
2020-04-23 11:34:22 +03:00 |
|
Aliaksandr Valialkin
|
a714568374
|
lib/promscrape/discovery/kubernetes: hide role switch logic behind GetLabels function
|
2020-04-22 22:16:11 +03:00 |
|
Aliaksandr Valialkin
|
43375df923
|
lib/promscrape/discovery/kubernetes: update stale comments
|
2020-04-17 14:06:20 +03:00 |
|
Aliaksandr Valialkin
|
2e4e202c2b
|
lib/promscrape: add initial support for kubernetes_sd_config
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/334
|
2020-04-13 21:03:28 +03:00 |
|