Aliaksandr Valialkin
|
b4efe626d7
|
lib/promscrape/discovery/kubernetes: go fmt
|
2020-11-07 13:04:09 +02:00 |
|
Aliaksandr Valialkin
|
92bc1afcee
|
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:01 +02:00 |
|
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
|
e220f3eeb6
|
lib/promscrape: move KubernetesSDConfig to lib/promscrape/discovery/kubernetes
|
2020-04-23 11:34:30 +03:00 |
|
Aliaksandr Valialkin
|
1187494c8f
|
lib/promscrape/discovery/kubernetes: hide role switch logic behind GetLabels function
|
2020-04-22 22:16:18 +03:00 |
|
Aliaksandr Valialkin
|
6764efde39
|
lib/promscrape/discovery/kubernetes: update stale comments
|
2020-04-17 14:06:26 +03:00 |
|
Aliaksandr Valialkin
|
7c4fb038e3
|
lib/promscrape: add initial support for kubernetes_sd_config
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/334
|
2020-04-13 21:03:53 +03:00 |
|