Commit Graph

445 Commits (4bf7de3b5666551a4ddf274647d50353460828db)

Author SHA1 Message Date
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
Yao Zengzeng 1afa476b8a minor fix for making map (#6076)
5 years ago
Simon Pasquier 3acc3e856c
Adding unit test for target group (#6141)
5 years ago
Simon Pasquier 19ce6b7f5f
discovery: fix more error logs on context cancelation (#6133)
5 years ago
Jean-Baptiste Le Duigou 0939d566f3 Improve test by asserting on whole Target Group object
5 years ago
Jean-Baptiste Le Duigou 3309ffa482 Fix imports
5 years ago
Jean-Baptiste Le Duigou 9372a224b5 Improve unit tests for target group
5 years ago
Jean-Baptiste Le Duigou 1f9eb09e8e Improve unit tests for target group
5 years ago
Jean-Baptiste Le Duigou 5146bb14ef adding unit test for target group (#6138)
5 years ago
Jean-Baptiste Le Duigou 15de05d55e adding unit test for target group
5 years ago
Simon Pasquier 8ec6f02854 discovery: don't log errors on context cancelation
5 years ago
Nevill 7465f27ea5 Refactor on discovery/manager_test.go
5 years ago
陈谭军 c6928b5c6e fix-up typo unkown->unknown (#6055)
5 years ago
Simon Pasquier 80bc8553be
discovery/file: fix flaky tests (#5948)
5 years ago
Björn Rabenstein 52e0504f83
Merge pull request #5254 from nevill/fix-4890
5 years ago
Nevill 55661ab004 Set failedConfigs only once right after registerProviders finished
5 years ago
johncming 31a8ac3219 discovery/dns: add test case for SDConfig.UnmarshalYAML. (#6035)
5 years ago
Nevill 048f81218d Change prometheus_sd_configs_failed_total to Gauge
5 years ago
Harkishen Singh d98d4a9bf0 remove resetting of manager properties and init manager props under locking (#5979)
5 years ago
Tariq Ibrahim f0a5f88b95 [prometheus_sd/kubernetes]add new node address types for discover (#5902)
5 years ago
Bartek Płotka 5cb32d67f9
Merge pull request #5893 from prometheus/unify-tsdbutil
5 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge.
5 years ago
Julius Volz b5c833ca21
Update go.mod dependencies before release (#5883)
5 years ago
Björn Rabenstein 70ce3df23c
Merge pull request #5860 from tariq1890/variadic
5 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus
5 years ago
tariqibrahim df99d943ba pass multiple args to Registers.MustRegister method
5 years ago
Chris Marchbanks 529ccff07b
Remove all usages of stretchr/testify
5 years ago
AllenZMC 41151ca8dc fix mis-spelling in consul_test.go (#5836)
5 years ago
dzzg 938ca06057
fix wrong spells in ingress.go
5 years ago
Ye Ji 9229811c94 give each tree cache its unique channel to avoid multiple close on the same channel
5 years ago
beorn7 dd81912554 Add objectives to Summaries
6 years ago
sh0rez 8ba23fb336
fix(style): container_is_init to container_init
6 years ago
sh0rez 88b79bae64
chore(style): Comply with style guide, order list
6 years ago
sh0rez 6618f28fd7
test(discovery/kubernetes): TestPodDiscoveryInitContainer
6 years ago
sh0rez fbd5c6f310
test(discovery/kubernetes): add container_is_init label to tests
6 years ago
sh0rez cfa253ae06
feat(discovery/kubernetes): container_is_init label
6 years ago
sh0rez bea07fe866
feat(discovery/kubernetes): include InitContainers
6 years ago
Bevisy b7cdd3e840 Exhaust request body before closing it (#5596)
6 years ago
Dmitry Shmulevich d81df5609d fix nil pointer dereference in azure discovery (#5587)
6 years ago
Simon Pasquier 3441ecdea1 discovery/kubernetes: add node name and hostname to endpoints
6 years ago
Simon Pasquier 45506841e6
*: enable all default linters (#5504)
6 years ago
Frederic Branczyk 3cffd81035
Merge pull request #5520 from YaoZengzeng/service
6 years ago
YaoZengzeng 658b33808c The workqueue of service should be `service` other than `ingress`
6 years ago