VictoriaMetrics/lib/promscrape/discovery/consul
Aliaksandr Valialkin 9f94c295ab
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:52:35 +03:00
..
agent.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03: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
api.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:52:35 +03:00
consul.go lib/promscrape/discovery/consul: allow stale responses from Consul service discovery by default 2022-08-05 14:41:40 +03:00
service_node.go adds consul enterprise namespace support (#1400) 2021-06-22 12:49:44 +03:00
service_node_test.go adds consul enterprise namespace support (#1400) 2021-06-22 12:49:44 +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:20 +03:00