Aliaksandr Valialkin
|
b9bb64ce55
|
lib/promscrape/discovery/consulagent: substitute metaPrefix with the __meta_consulagent_ plaintext string
This simplifies future code navigation and search for the specific meta-label starting from __meta_consulagent_* prefix.
For example, `grep __meta_consulagent_namespace` finds the exact place where this label is defined.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3953
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/4217
|
2023-05-08 23:40:13 -07:00 |
|
Alexander Marshalov
|
56b84140a9
|
added new consulagent service discovery (#3953) (#4217)
|
2023-05-04 11:36:21 +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
|
40c3ffb359
|
lib/promscrape: add Prometheus-compatible service discovery for Consul aka consul_sd_configs
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/330
|
2020-05-04 20:51:17 +03:00 |
|