VictoriaMetrics/lib/promscrape
Nikolay Khramchikhin af994562c8 Added endpointslices discovery to k8s api (#760)
This is similar to https://github.com/prometheus/prometheus/pull/6838 , which will be added in Prometheus v2.21.
See https://github.com/prometheus/prometheus/releases/tag/v2.21.0-rc.1

* Added endpointslices discovery to k8s api

Started from 1.17 k8s version endpointslices is beta,
it allows to query k8s api for endpoints more efficient.
It presents at scrape_config.yaml as separate role for kubernetes_sd_config.
kubernetes_sd_config:
- role: endpointslices

* fixed typos, changed EndpointConditions signature - with values instead of pointers
2020-09-11 12:24:50 +03:00
..
discovery Added endpointslices discovery to k8s api (#760) 2020-09-11 12:24:50 +03:00
discoveryutils lib/promscrape: properly retry requests on the server closed connection before returning the first response byte error during service discover API calls and target scrapes 2020-08-13 22:32:29 +03:00
testdata lib/promscrape: extract common auth code to lib/promauth 2020-04-13 12:59:22 +03:00
client.go all: allow using KB, MB, GB, KiB, MiB and GiB suffixes in command-line flag values related to byte sizes or byte rates 2020-08-16 17:08:28 +03:00
config_test.go lib/promscrape: add a test for scrape config for blackbox exporter 2020-08-09 12:03:51 +03:00
config.go all: support %{ENV_VAR} placeholders in yaml configs in all the vm* components 2020-08-13 17:17:06 +03:00
scraper.go all: support %{ENV_VAR} placeholders in yaml configs in all the vm* components 2020-08-13 17:17:06 +03:00
scrapework_test.go lib/promscrape: show real timestamp and real duration for the scape on /targets page 2020-08-10 12:40:49 +03:00
scrapework_timing_test.go lib/promscrape: show real timestamp and real duration for the scape on /targets page 2020-08-10 12:40:49 +03:00
scrapework.go lib/promscrape: use the number of parsed rows as a basis for writeRequestCtxPool leveling 2020-09-02 18:46:55 +03:00
statconn.go lib/promscrape: properly connect to TCP6 addresses if -enableTCP6 is set 2020-05-06 00:02:40 +03:00
targetstatus.go Extend metric vm_promscrape_targets with status label (#615) 2020-07-13 21:54:53 +03:00