VictoriaMetrics/lib/promscrape/discovery/consul
Aliaksandr Valialkin 9f348cf8a1
lib/promscrape/discovery/nomad: follow-up after 48f371a46c
- Remove undocumented `username` and `password` config options from `nomad_sd_config`.
  TODO: probably, remove these options from `consul_sd_config` too?
  These options exist there for backwards compatibility purposes.

- Add __meta_nomad_service_alloc_id and __meta_nomad_service_job_id meta-labels
  These labels contain AllocID and JobID fields for the discovered Nomad services.

- Various typo fixes.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3367
2023-01-05 18:07:20 -08:00
..
agent_test.go lib/promscrape: add Prometheus-compatible service discovery for Consul aka consul_sd_configs 2020-05-04 20:51:17 +03:00
agent.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03:00
api.go lib/promscrape/discovery/nomad: follow-up after 48f371a46c 2023-01-05 18:07:20 -08:00
consul.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
service_node_test.go lib/promscrape/discovery/consul: expose service tags in individual labels __meta_consul_tag_<tagname> 2022-12-19 13:08:11 -08:00
service_node.go lib/promscrape/discovery/consul: expose service tags in individual labels __meta_consul_tag_<tagname> 2022-12-19 13:08:11 -08:00
watch.go lib/promscrape/discovery/consul: add __meta_consul_partition label in the same way as Prometheus does 2022-11-07 15:25:53 +02:00