Commit Graph

587 Commits (2673f94eb1e2435f904ede57b2796fb9cb209766)

Author SHA1 Message Date
Frederic Branczyk a266d4d2c5
Update Go dependencies
3 years ago
darshanime 898afa2fd9 Add nil checks
3 years ago
jinglina ed24e51e7c
remove redundant type conversion (#9126)
3 years ago
Levi Harrison 89f154d643 Added tests
3 years ago
Levi Harrison 41be43647b
Implemented host_network_host setting
3 years ago
Julien Pivotto dcba645366
Merge pull request #8978 from jfreeland/feat/additional-gce-interfaces
3 years ago
darshanime c8a2ffdb72 Add computer name to azure sd
3 years ago
Julien Pivotto 79d354ad2e
Merge pull request #8844 from austince/feat/discovery-xds
3 years ago
George Brighton bc0e76c8a3
Add AZ ID label to discovered EC2 targets (#8896)
3 years ago
austin ce 0544bdd6af
Add tests for xDS discovery
3 years ago
austin ce d0ffe2ed3e
Add base xDS discovery and kuma SD implementation
3 years ago
Joey Freeland 5d0a12855b Update discovery/gce/gce.go
3 years ago
Lukas Kämmerling 263847e64a
hcloud discovery: Add new labelpresent label (#9028)
3 years ago
Julius Volz 179b2155d1
Fix: Use json.Unmarshal() instead of json.Decoder (#9033)
3 years ago
Julius Volz 441e6cd7d6
Merge release-2.28 back into main (#9035)
3 years ago
Joey Freeland 8017dd7242 chore: always append interface ipv4 with api interface name
3 years ago
Levi Harrison 78d5a6d083
HTTP SD: Allow charset in content type (#8981)
3 years ago
Ben Kochie 7cb55d5732
Merge pull request #8802 from mwasilew2/yaml-linting
3 years ago
Julien Pivotto d8219f29f4
Merge pull request #8983 from roidelapluie/httpsdtests
3 years ago
Julien Pivotto 1deac8f570 HTTP SD: Add tests
3 years ago
Joey Freeland 77e25cf2e5 feat: gce metadata for additional interfaces
3 years ago
Julius Volz 8d98750e8f
Simplify float formatting for HTTP SD refresh interval (#8961)
3 years ago
Levi Harrison 4a4882d4c7 Replace godoc.org links
3 years ago
3Xpl0it3r a0bac4b488
add kubeconfig support in discovery module (#8811)
3 years ago
Frederic Branczyk 039b651450
Merge pull request #8916 from Evesy/main
4 years ago
Michal Wasilewski 3f686cad8b
fixes yamllint errors
4 years ago
Levi Harrison faed8df31d
Enable reading consul token from file (#8926)
4 years ago
Levi Harrison bf1ef2e0f4
Changed log package
4 years ago
Julien Pivotto c0c22ed042
Merge pull request #8927 from LeviHarrison/move-to-go-kit/log
4 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Julien Pivotto 9444698ae2
http_sd (#8839)
4 years ago
Mike Eves ae081886fa Fix up tests
4 years ago
Mike Eves 7941b350ba Don't set label if ingressClassName is not set
4 years ago
Mike Eves 7e1111ff14 Update label from `class` to `class_name`
4 years ago
Austin Cawley-Edwards 301815e48b
Update prometheus-common and the consul HTTP client (#8913)
4 years ago
Mike Eves 7e65ad3e43 Add class label to kubernetes ingress discovery
4 years ago
Frederic Hemberger 39a87fd9d2 consul_sd: Add namespace support for Consul Enterprise
4 years ago
songjiayang b781b5cac5
Refactor file discovery init function (#8891)
4 years ago
TJ Hoplock dc22c65349
Add Linode Service Discovery (#8846)
4 years ago
kongxs 632678a461
Fix spelling mistake (#8879)
4 years ago
kcx2366425574 17e230a6f2 fix actuel to actual
4 years ago
Julien Pivotto e1774b6f83 Fix the computation of prometheus_sd_discovered_targets
4 years ago
Julien Pivotto 2a4b8e12bb
Merge pull request #8766 from Nick-Triller/consul-sd-always-send-targetgroups
4 years ago
Hu Shuai 9d7d818629
Fix golint issues caused by typos (#8769)
4 years ago
Nick Triller 15d328750a
Fix typo in SD docs
4 years ago
Nick Triller fddf4918c0
Send empty targetgroup if nothing discovered
4 years ago
n888 7c028d59c2
Add lightsail service discovery (#8693)
4 years ago
Marco Pracucci 4da5c25ea4
Upgrade prometheus/common to v0.21.0
4 years ago
Julien Pivotto 73237c04bf scaleway_sd_config: be more cautious with pointers
4 years ago
code1305 9c705ffdfb err fix if target creation fails
4 years ago
Bogdan Drutu d1ced85d7a
Bump k8s.io/* from 0.20.5 to 0.21.0 (#8714)
4 years ago
Julien Pivotto 5bce801a09
Rename discovery/dockerswarm to discovery/moby (#8691)
4 years ago
Julien Pivotto d680880b31
Fix main branch tests (#8669)
4 years ago
Robert Jacob b253056163
Implement Docker discovery (#8629)
4 years ago
Julien Pivotto 5a6d244b00 Scaleway SD: Add the ability to read token from file
4 years ago
Andrew Starr-Bochicchio 0858657516 digitalocean_sd: Expose vpc for use in relabelling.
4 years ago
Julien Pivotto bab0fb81ef Rename to or ID
4 years ago
Julien Pivotto d1c8550894 Scaleway SD: Add more labels to the instance role
4 years ago
Julien Pivotto 990d01631f Scaleway SD: Add instance test
4 years ago
Rémy Léone f690b811c5
add support for scaleway service discovery (#8555)
4 years ago
Rémy Léone 6962e44618
Discovery docs: add a pull requests examples section (#8556)
4 years ago
Julien Pivotto 93c6139bc1 Support follow_redirect
4 years ago
Julien Pivotto 8787f0aed7 Update common to support credentials type
4 years ago
Julien Pivotto 120a84da5d zookeeper: change upstream to github.com/go-zookeeper/zk
4 years ago
Matteo Valentini 44b78ef318 Add image name meta label to DO service discovery
4 years ago
fuling 829b939891 [fix] service discovery : change var "eps" to "pod
4 years ago
Alfred Krohmer fc8004eeec
EC2 SD: fix error handling of NewSessionWithOptions (#8356)
4 years ago
Björn Rabenstein 997bb7134f
Merge pull request #8338 from prometheus/release-2.24
4 years ago
Frederic Branczyk 19b0ec3baf
Merge pull request #8273 from fcddk/fcddk-k8s-enpoints-label
4 years ago
Matt Berther 31e86ed4bc prevent adding empty target when CNAME is encountered
4 years ago
Frederic Branczyk 611fa967cd
Merge pull request #8285 from ashumkin/label-selector
4 years ago
Alfred Krohmer 4efca5ab70
EC2 service discovery: reuse EC2 client instead of recreating it every time (#8311)
4 years ago
fcddk b270a1d6bf import strutil package
4 years ago
fcddk 617c56f55a add endponits labels metadata
4 years ago
Alexey Shumkin 73ddf603af
discovery/kubernetes: Fix valid label selector causing config error
4 years ago
Matt Berther acee998df6
CNAME responses can occur with "Type: A" dns_sd_config requests (#8216)
4 years ago
Muhammad Falak R Wani 587fd740be
discovery: ec2: expose IPv6 as label (#7086)
4 years ago
Julien Pivotto f8ba0ed906
Rebase docker swarm test (#8163)
4 years ago
Julien Pivotto 3509647462
Docker swarm: add filtering of services (#8074)
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Viren Negi 8dbfa14607
Add UserAgent to Hetzner Robot SD (#8008)
4 years ago
Viren Negi d253251266
Add UserAgent header to Eureka client (#8006)
4 years ago
Julien Pivotto 184a871638
Eureka: Fix service discovery when compiled in 32-bit (#7961)
4 years ago
Lukas Kämmerling c49d8680ce
Fix Hetzner Robot SD decoding with non HTTP 2xx (#7872)
4 years ago
kangwoo 7c0d5ae4e7
Add Eureka Service Discovery (#3369)
4 years ago
johncming a5beb627ff
some fixies for consul sd. (#7799)
4 years ago
Lukas Kämmerling b6955bf1ca
Add hetzner service discovery (#7822)
4 years ago
Andy Bursavich 4e6a94a27d
Invert service discovery dependencies (#7701)
4 years ago
Frederic Branczyk 06e2c2f804
Merge pull request #6838 from brancz/endpointslice
4 years ago
Julien Pivotto 9da53391d1
Merge pull request #7739 from prometheus/release-2.20
4 years ago
johncming 01d096567b
discovery: simplify code. (#7725)
4 years ago
Julien Pivotto 3a7120bc07 Consul: Reduce WatchTimeout to 2m and set it as timeout for requests
4 years ago
johncming 3c5ff27959
Update http header `User-Agent` in k8s and swarm discovery. (#7614)
4 years ago
Julien Pivotto 3e0ec3f8e1 Minor change
4 years ago
Julien Pivotto 924e7239b7
Docker Swarm SD: Support tasks and service without published ports (#7686)
4 years ago
Julien Pivotto 88bdb13c55
DNS SD: add srv record target and port meta labels (#7678)
4 years ago
Julien Pivotto e76c436e9c
Goleak in discoveries, scrape, rules (#7662)
4 years ago
Julien Pivotto e07415227a
discovery: check for nil triton_sd_config (#7671)
4 years ago
Julien Pivotto 93e9c010f3
Add more Go leak tests (#7652)
4 years ago
Julien Pivotto 89d2f5ec1d
Merge pull request #7635 from roidelapluie/sdtests2
4 years ago
Julien Pivotto 52cdcc2a3b
Add a check-list for new SD's (#7634)
4 years ago
Julien Pivotto a197508d09 Add docker swarm test
4 years ago
Björn Rabenstein 79620c78db
Merge pull request #7604 from roidelapluie/swarmsocket
4 years ago
johncming 6da680c7e4 discovery/config: add swarmsd config validation.
4 years ago
Julien Pivotto 49f48d8f65 Fix comment
4 years ago
Julien Pivotto 968c86d642 Fix comment
4 years ago
Julien Pivotto 45644c82f6 Docker swarm: enable unix socket
4 years ago
Julien Pivotto 93ecf0e14c
Refactor dockerswarm refresh for testing (#7541)
4 years ago
Julien Pivotto 27867412a7
openstack tests: use new test.Cleanup function (#7514)
4 years ago
John Bampton 98a69b77d1
Fix spelling (#7512)
4 years ago
Julien Pivotto e1f9816a33
Openstack: Reduce timeouts (#7507)
4 years ago
Steffen Neubauer 9c9b872087
OpenStack SD: Add availability config option, to choose endpoint type (#7494)
4 years ago
Julien Pivotto aa452d8ab4
digitalocean: use a safer pagination method (#7498)
4 years ago
Hu Shuai a94b570dc6
Add a unit test for newAzureResourceFromID in discovery/azure/azure.go. (#7484)
4 years ago
Julien Pivotto 59de58d380
Docker Swarm service discovery (#7420)
4 years ago
Pierre Souchay 1508678001
Use 10m timeouts for watches (#7423)
4 years ago
Julien Pivotto fb9a1a872e
DigitalOcean: limit refresh timeout (#7425)
5 years ago
Julien Pivotto c61141ce51
Add DigitalOcean service discovery (#7407)
5 years ago
Frederic Branczyk f6c5a75661 discovery/kubernetes: Add Kubernetes EndpointSlice discovery
5 years ago
Martin Lee b5d61fb66c
Add AMI to labels scraped during service discovery. (#7386)
5 years ago
Frederic Branczyk 7b1c0d6b66
discovery/kubernetes: Fix incorrect premature break of reading results
5 years ago
Tariq Ibrahim 06a6621b6c
update kubernetes to v1.18.x and update ingress apiVersion
5 years ago
Jop Zinkweg 1f69c38ba4
Add discovery support for triton compute nodes (#7250)
5 years ago
Guangming Wang 5b4006ac86
cleanup: remove unnacessary nil check before range (#7194)
5 years ago
ZouYu 2b7437d60e
Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109)
5 years ago
Marek Slabicki 8224ddec23
Capitalizing first letter of all log lines (#7043)
5 years ago
ZouYu f494426f73
fix warning redundant type from array, slice, or map composite literal (#7106)
5 years ago
Tariq Ibrahim 0730d6eb74
remove deprecated methods from the MetricProvider interface
5 years ago
Deepjyoti Mondal c38ca2ca95
Fix #6999 : Add architecture meta label for EC2 (#7000)
5 years ago
coding3min 4dfbf328f2
[OpenStack SD] Add HypervisorID meta labels about id (#6962)
5 years ago
Alex Gaganov df92a00838
Expose EC2 instance lifecycle as label (#6914)
5 years ago
Julien Pivotto c67f81937c
discovery: updateGroup should not create targets[poolKey] in the loop (#6903)
5 years ago
Mathilde Gilles 9b9c58aea8
[Consul] Add health label to metrics (#5313)
5 years ago
Frederic Branczyk d06f1034db discovery/kubernetes: Fix race in test setup
5 years ago
李国忠 029b45aa30
add service type metadata to kubernetes_sd_config service role #6496 (#6684)
5 years ago
Simon Pasquier 06c1a07d5a discovery/kubernetes: remove extraneous parameters from send()
5 years ago
Aleksandra Gacek 8e53c19f9c discovery/kubernetes: expose label_selector and field_selector
5 years ago
Grebennikov Roman b4445ff03f discovery/kubernetes: expose label_selector and field_selector
5 years ago
Simon Pasquier fe76ccbfe3
discovery/consul: fix logging of tags (#6783)
5 years ago
Ben Ye 1a18594176
keep kubernetes metrics in global vars (#6765)
5 years ago
Ben Ye 60527de355
keep consul service metrics in global variables (#6764)
5 years ago
Julien Pivotto cf42888e4d Fix order of testutil.Equals (#6695)
5 years ago
johncming 17683d074c discovery: fix bug that use rlock for read. (#5928)
5 years ago
Julien Pivotto 2b2eb79e8b Add windows tests for query logger (#6653)
5 years ago
Josh Soref 91d76c8023 Spelling (#6517)
5 years ago
Simon Pasquier 75470f86b4 discovery/kubernetes: fix client metrics
5 years ago
Callum Styan 7bf17b654c As per dev summit, SD moratorium has been lifted. (#6324)
5 years ago
Jean-Baptiste Le Duigou 5973227434 adding additional unit tests for getDataCenter() in consul (#6192)
5 years ago