VictoriaMetrics/lib/promscrape/discovery/consul
Aliaksandr Valialkin 06f6de6d47
all: use os.{Read|Write}File instead of ioutil.{Read|Write}File
The ioutil.{Read|Write}File is deprecated since Go1.16 -
see https://tip.golang.org/doc/go1.16#ioutil

VictoriaMetrics needs at least Go1.18, so it is safe to remove ioutil usage
from source code.

This is a follow-up for 02ca2342ab
2022-08-21 23:55:20 +03:00
..
agent.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
agent_test.go lib/promscrape: add Prometheus-compatible service discovery for Consul aka consul_sd_configs 2020-05-04 20:53:06 +03:00
api.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:55:20 +03:00
consul.go lib/promscrape/discovery/consul: allow stale responses from Consul service discovery by default 2022-08-05 15:04:05 +03:00
service_node.go adds consul enterprise namespace support (#1400) 2021-06-22 12:56:11 +03:00
service_node_test.go adds consul enterprise namespace support (#1400) 2021-06-22 12:56:11 +03:00
watch.go lib/promscrape: update links to sd_configs from Prometheus site to https://docs.victoriametrics.com/sd_configs.html 2022-08-15 01:40:48 +03:00