Aliaksandr Valialkin
|
a47b9e55ac
|
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-09 22:58:08 -07:00 |
|
Alexander Marshalov
|
26fc4afff8
|
added new consulagent service discovery (#3953) (#4217)
|
2023-05-08 23:43:59 -07: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
|
89aa6dbf56
|
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:53:06 +03:00 |
|