Commit Graph

756 Commits (main)

Author SHA1 Message Date
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
Frederic Branczyk f874555a0d
Merge pull request #5486 from tariq1890/update_kubernetes
6 years ago
Björn Rabenstein 0be9388f8d
Merge pull request #5463 from prometheus/beorn7/templating
6 years ago
Tariq Ibrahim 00036cd1e5
update client-go,api,api-machinery and klog dependencies
6 years ago
Romain Baugue 95193fa027 Exhaust every request body before closing it (#5166) (#5479)
6 years ago
EarthmanT 35be8c9e25 Add azure public ip label (#5475)
6 years ago
Bjoern Rabenstein a92ef68dd8 Fix staticcheck errors
6 years ago
Simon Pasquier 559237cc4f discovery/kubernetes: fix missing label sanitization (#5462)
6 years ago
Brian Brazil 8ff6938fa4
Update dependencies. (#5449)
6 years ago
Simon Pasquier dafd1632a2 discovery/kubernetes: add present labels for labels/annotations (#5443)
6 years ago
Simon Pasquier 4f47806a7d
discovery/dns: fix slice with wrong length (#5432)
6 years ago
Kien Nguyen-Tuan 813b58367a [OpenStack SD] Add ProjectID and UserID meta labels (#5431)
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Simon Pasquier 782d00059a
discovery: factorize for SD based on refresh (#5381)
6 years ago
Tariq Ibrahim 0d7104b7eb discovery/azure:optimize iteration logic for VMScalesets, VMScalesetVMs, and VMs (#5363)
6 years ago
Tariq Ibrahim 5f933e99d0 discovery/azure: make local virtualMachine struct more generic by removing the go sdk field reference (#5350)
6 years ago
Mario Trangoni 5354ffff99 Fix some spelling issues (#5361)
6 years ago
Simon Pasquier 67385f356f
discovery/openstack: pass context to the OpenStack client (#5231)
6 years ago
Callum Styan 83c46fd549 update Consul vendor code so that catalog.ServiceMultipleTags can be (#5151)
6 years ago
Tariq Ibrahim 197e5ac597 docs: minor improvements to the service discovery README.md (#5296)
6 years ago
JoeWrightss e4b88704a6 Fix misspell in manager_test.go (#5279)
6 years ago
Simon Pasquier 1d2fc95b1c
discovery/marathon: pass context to the client (#5232)
6 years ago
Simon Pasquier e60d314f43
discovery/consul: pass current context to Consul queries (#5230)
6 years ago
Simon Pasquier 8f578d9c6b
discovery/ec2: pass context to the client (#5234)
6 years ago
Simon Pasquier 4997dcb4a1
discovery/gce: pass context to the client (#5233)
6 years ago
Simon Pasquier 9040dddd0c
discovery/azure: pass context to the client (#5255)
6 years ago
Simon Pasquier fe7a1bcfc6
discovery/triton: pass context to the client (#5235)
6 years ago
Björn Rabenstein ad29221a7b
Merge pull request #5020 from erikh/upgrade-miekg-dns
6 years ago
Simon Pasquier e72c875e63
config: fix Kubernetes config with empty API server (#5256)
6 years ago
Nguyen Hai Truong aed9ea144a Remove duplicated words in comments
6 years ago
Simon Pasquier c8a1a5a93c
discovery/kubernetes: fix support for password_file and bearer_token_file (#5211)
6 years ago
Erik Hollensbe be3c082539 discovery/dns/dns.go: fix handling of truncated dns records
6 years ago
Simon Pasquier f9462d5d44 discovery/consul: pass current context to Consul queries
6 years ago
JoeWrightss 4cb6c202ff Fix fmt.Errorf error message (#5199)
6 years ago
tariqibrahim b173de0c26 fix ineffectual assignment in dns.go
6 years ago
Jannick Fahlbusch ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ 63f375e80a [FIX] Azure DS: Return error when request failed (#4719)
6 years ago
Tariq Ibrahim f4275d2352 Use the latest versions of azure go sdk and go-autorest (#5015)
6 years ago
Tariq Ibrahim bfcdba211f remove the prepended watch reactor from the fake k8s client (#5140)
6 years ago
Simon Pasquier 68e4c211f2
discovery/azure: more robust handling of go routines (#5106)
6 years ago
Matt Layher 302148fd69 *: apply gofmt -s
6 years ago
Simon Pasquier 22a1def98d
Merge pull request #5099 from prometheus/release-2.6
6 years ago
tommarute 9922c35a23 marathon-sd - use Tasks.Ports instead of PortDefinitions.Ports if RequirePorts is false (#5022) (#5026)
6 years ago
Sylvain Rabot d9f4a8c95f sd: Fix stuck Azure service discovery (#5088)
6 years ago
Kevin Bulebush 718344434c openstack_sd: Supporting application credential for authentication. (#4968)
6 years ago
Frederic Branczyk e9ae0b5a1b
Merge pull request #4927 from tariq1890/update_k8s
6 years ago
Fabian Reinartz ca93c8e19b
Merge pull request #4969 from prometheus/azuresubid
6 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057)
6 years ago
tariqibrahim aa94efe4b5 Merge branch 'master' of https://github.com/prometheus/prometheus into update_k8s
6 years ago
Fabian Reinartz 7a41038695 Add Azure tenant and subscription ID labels
6 years ago
Lv Jiawei ad22389218 Add ingress in UnmarshalYAML and init (#5035)
6 years ago
tariqibrahim 122b47caa0 address review comment in client_metrics
6 years ago
tariqibrahim 1e4e4c46ba Merge branch 'master' of https://github.com/prometheus/prometheus into update_k8s
6 years ago
Ilya Gladyshev 922c17e119 added name label to all discovery metrics (#5002)
6 years ago
Erik Hollensbe b94eea482c discovery/gce: oauth2.NoContext is deprecated, replace with context.Background() (#5024)
6 years ago
Marcel D. Juhnke c7d83b2b6a discovery: add support for Managed Identity authentication in Azure SD (#4590)
6 years ago
tariqibrahim 0d4b6e4e66 address review comments
6 years ago
Tariq Ibrahim de6f3b6af7 expose kubernetes service cluster ip (#4940)
6 years ago
JoeWrightss e8be31eed9 Fixs typo: 'possibliy' to 'possibly' (#4974)
6 years ago
Samuel Alfageme 240321acee Add taggedAddress to the labels in ConsulSD (#5001)
6 years ago
Tariq Ibrahim e3bdc463fa Revert "add logic to check if an azure VM is deallocated or not (#4908)" (#4980)
6 years ago
tariqibrahim 1fd438ed2b rebase and resolve merge conflicts
6 years ago
tariqibrahim 412ca33226 update kubernetes deps to v1.13.0
6 years ago
Julius Volz d28246e337
Fix config loading panics on nil pointer slice elements (#4942)
6 years ago
Simon Pasquier 8b91d39c43
discovery: send empty group on empty SD config (#4819)
6 years ago
Tariq Ibrahim 61cf4365d6 add logic to check if an azure VM is deallocated or not (#4908)
6 years ago
Serghei Anicheev 8e659a5109 Adding private_dns_name to the list of ec2 labels which can be used i… (#4693)
6 years ago
mengnan a5d39361ab discovery/azure: Fail hard when Azure authentication parameters are missing (#4907)
6 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921)
6 years ago
Simon Pasquier 0bb810d126
discovery/marathon: fix leaked connections (#4915)
6 years ago
Timo Beckers bea302e061 marathon-sd - use 'hostPort' member of portMapping to construct target endpoints (#4887)
6 years ago
Daniele Sluijters f25a6baedb remote: Set User-Agent header in requests (#4891)
6 years ago
Sylvain Rabot 1fd3b33dcd Prevent Azure SD panic (fix #4779) (#4867)
6 years ago
Bryan Boreham cf37e1feb4 Add __meta_kubernetes_pod_phase label in discovery (#4824)
6 years ago
Silvio Gissi 6100f160ad EC2 Platform meta label (#4663)
6 years ago
Goutham Veeramachaneni f988af7235 Revert #4586 (#4766)
6 years ago
Simon Pasquier a30348f1a4 discovery: add config label to discovered targets metric (#4753)
6 years ago
Simon Pasquier 5824d6902d
openstack: fix client when using env variables (#4734)
6 years ago
Kien Nguyen-Tuan 9c5370fdfe Support discover instances from all projects (#4682)
6 years ago
Simon Pasquier c4a6acfb1e
*: move to go 1.11 (#4626)
6 years ago
Goutham Veeramachaneni ffb7f829ec
Merge pull request #4730 from prometheus/release-2.4
6 years ago
Simon Pasquier 3e6b9d43c3
Merge pull request #4720 from teresy/redundant-nil-check-slice
6 years ago
Rijnard van Tonder 9d102e3bff The nil check before the range loop is redundant
6 years ago
Richard Kiene b537f6047a Add ability to filter triton_sd targets by pre-defined groups (#4701)
6 years ago
Simon Pasquier a2a78d0a09 discovery/openstack: discover all interfaces (#4649)
6 years ago
Simon Pasquier e1e2821cca
Merge pull request #4654 from simonpasquier/openstack-tls
6 years ago
Jannick Fahlbusch ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ f78e59577b [FIX] EC2 DS: Check for existence of OwnerID (#4672)
6 years ago
Simon Pasquier 657199af22 Address Krasi comments
6 years ago
Simon Pasquier 5df757fdd4 zookeeper: fix panic
6 years ago
Simon Pasquier 365931ea83 discovery: add metrics + send updates from one goroutine only
6 years ago
Simon Pasquier f2d43af820
Merge pull request #4582 from simonpasquier/add-discovery-tests
6 years ago
Simon Pasquier ff08c40091 discovery/openstack: support tls_config
6 years ago
Frederic Branczyk b75ec7e6ef
Merge pull request #4458 from FUSAKLA/k8s-sd-add-metrics
6 years ago
Timo Beckers 1c9fbd65c4 marathon-sd - change port gathering strategy, support for container networking (#4499)
6 years ago
Martin Chodur f2d037133e
feat: added more k8s SD metrics
6 years ago
Camille Janicki b035ea0ea9 Change discovery subpackages to not use testify in tests (#4612)
6 years ago
Simon Pasquier 128ff546b8 config: add test for OpenStack SD (#4594)
6 years ago
Tom Wilkie e3d36f4802 Don't import testing from non-test code. (#4595)
6 years ago
Bryan Boreham 968f657eaa Stop removing the final dot from rooted DNS names (#4586)
6 years ago
Simon Pasquier e7cee1b5ba Remove tests redundant with TestTargetUpdatesOrder
6 years ago
Simon Pasquier 7dc3f11306 WIP discovery: refactor TestTargetUpdatesOrder
6 years ago
Simon Pasquier 8fd891bf3f Speed up tests that were still using the 5s timeout
6 years ago
Simon Pasquier 8289501420 Address krasi's comments
6 years ago
Simon Pasquier 1cee5b5b06 Don't multiple the interval value by 1ms in the mock
6 years ago
Simon Pasquier 4900405d2f Refactor TestCoordinationWithReceiver() to work with any Discoverer
6 years ago
Simon Pasquier 0798f14e02 Add TestCoordinationWithEmptyProvider
6 years ago
Simon Pasquier 48989d8996 discovery: add more tests
6 years ago
Krasi Georgiev ba7eb733e8 tidy up the discovery logs,updating loops and selects (#4556)
6 years ago
Tariq Ibrahim f708fd5c99 Adding support for multiple azure environments (#4569)
6 years ago
Simon Pasquier 674c76adb8 discovery: coalesce identical SD configurations (#3912)
6 years ago
Krasi Georgiev 53691ae261 Simplify SD update throttling (#4523)
6 years ago
Fabian Reinartz f571b69010
Merge pull request #4514 from jkohen/ec2-targets
6 years ago
Javier Kohen 1c89984778 Expose EC2 instance owner as a discovery label.
6 years ago
Yecheng Fu d4eae8cc0c Wait for all internal discoveries are done before exiting. (#4508)
6 years ago
Fabian Reinartz b04ab71268
Merge pull request #4488 from jkohen/patch-3
6 years ago
Javier Kohen 403ac08ece Expose __meta_gce_instance_id as an integer (instead of raw bytes).
6 years ago
Javier Kohen 7e9549b398 Added __meta_gce_instance_id discovery label
6 years ago
Simon Pasquier b7054f3a78
Merge pull request #4443 from simonpasquier/fix-consul-connections-leak
6 years ago
Benji Visser 46fb4078a6 handle nil pointer in ec2 discovery (#4469)
6 years ago
Johannes Scheuermann f978f5bba3 Fixes #4202, correctly parse VMs with empty tags (#4450)
6 years ago
jojohappy e060f7755f To keep comment of NodeLegacyHostIP for k8s node address
6 years ago
jojohappy e81785d1a3 To keep depecrate k8s node NodeLegacyHostIP as local constant to keep compatibility for older k8s version
6 years ago
jojohappy 21e50a3f9d Upgrade k8s client to kubernetes-1.11.0
6 years ago
Simon Pasquier 1cd29f782c discovery/consul: close idle connections on stop
6 years ago
Johannes Scheuermann 7608ee87d0 Inital support for Azure VMSS (#4202)
6 years ago
José Martínez 791c13b142 discovery/ec2: Add primary_subnet_id label
6 years ago
José Martínez 5e4a33c890 discovery/ec2: Maintain order of subnet_id label
6 years ago
Jannick Fahlbusch ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎ 0be25f92e2 EC2 Discovery: Allow to set a custom endpoint (#4333)
6 years ago
Ivan Voronchihin 59d214d277 Update autorest vedoring (#4147)
6 years ago
Julius Volz 219e477272 Fix some (valid) lint errors (#4287)
6 years ago
Romain Baugue b41be4ef52 Discovery consul service meta (#4280)
6 years ago
Simon Pasquier f32acc0b7b discovery/openstack: remove unneeded assignment
6 years ago
Julius Volz 05d6d6a2e5
k8s SD: Fix "schema" -> "scheme" typo (#4371)
6 years ago
Krasi Georgiev a155b6d29d fix the zookeper race (#4355)
6 years ago
Dmitry Bashkatov 72327d98fb discovery/kubernetes/ingress: remove unnecessary check
6 years ago
Dmitry Bashkatov e2baf89eac discovery/kubernetes/ingress: fix scheme discovery (Closes #4327)
6 years ago
Dmitry Bashkatov 9cdca50bdd discovery/kubernetes/ingress: add more tests
6 years ago
Julius Volz 5cf0113762
Add "omitempty" to some SD config YAML field tags (#4338)
6 years ago
Simon Pasquier 6eab4bbca1 kubernetes_sd: fix namespace filtering (#4273)
7 years ago
Paul Gier d24d2acd11 config: set target group source index during unmarshalling (#4245)
7 years ago
Simon Pasquier 0e5e7f75cd discovery/file: fix logging (#4178)
7 years ago
Callum Styan 03578d5df8 add example usage of SD adapter for converting unsupported SD type to filesd (#3720)
7 years ago
Adam Shannon a22e1736b9 discovery/marathon: include url in fetchApps error (#4171)
7 years ago
Damien Lespiau e64037053d Expose controller kind and name to labelling rules
7 years ago
Nathan Graves 5b27996cb3 Include GCE labels during service discovery. Updated vendor files for Google API. (#4150)
7 years ago
beorn7 a4e4bec3fe Merge branch 'release-2.2'
7 years ago
Elif T. Kuş 57dcdfb15f Rewrote tests with testutil for several test files (#4086)
7 years ago
Yecheng Fu 2be543e65a Simplify some code and comments.
7 years ago
Yecheng Fu 46683dd67d Simplify code.
7 years ago
Yecheng Fu 3a253f796c Fix grammar in comments and add missing `expectedMaxItems` to let it
7 years ago
Yecheng Fu d73b0d3141 Move hasSynced interface and its implementations to *_test.go files.
7 years ago
Yecheng Fu 8ceb8f2ae8 Refactor Kubernetes Discovery Part 2: Refactoring
7 years ago
Adam Shannon 809881d7f5 support reading basic_auth password_file for HTTP basic auth (#4077)
7 years ago
Rohit Gupta 30c3e02864 Fixes #4090. Marathon service discovery for 5XX http response (#4091)
7 years ago
sev3ryn cc917aee7f fix of endless loop while doing Consul service discovery. (#4044)
7 years ago
Philippe Laflamme 2aba238f31 Use common HTTPClientConfig for marathon_sd configuration (#4009)
7 years ago
Manos Fokas 25f929b772 Yaml UnmarshalStrict implementation. (#4033)
7 years ago
albatross0 0245fd55bf Add a machine type label to GCE SD (#4032)
7 years ago
Kristiyan Nikolov be85ba3842 discovery/ec2: Support filtering instances in discovery (#4011)
7 years ago
Corentin Chary 60dafd425c consul: improve consul service discovery (#3814)
7 years ago
Ben Kochie 0d9fe18f5e Fix nil context staticcheck error.
7 years ago
Aaron Kirkbride c47fbcb626 Fix moved fsnotify dependency (#3995)
7 years ago
Jeeyoung Kim 5b962c5748 Revert "Feature: Allow getting credentials via EC2 role (#3343)" (#3985)
7 years ago
Matt Palmer 042090a6d3 [dns_sd] Send an EDNS0 query by default (#3586)
7 years ago
Yecheng Fu 56ed29fbf7 Map target infos of endpoints to prometheus meta labels. (#3770)
7 years ago
Marek Siarkowicz 86011047ca Validate required fields in sd configuration (#3911)
7 years ago
Krasi Georgiev 6b0e9ef183 Validate json parse for TargetGroup Unmarshal (#3614)
7 years ago
Krasi Georgiev 4fa7e719f4 race in Triton SD Test (#3885)
7 years ago
ferhat elmas ffa673f7d8 General simplifications (#3887)
7 years ago
Pedro Araújo 575f665944 Add OS type meta label to Azure SD (#3863)
7 years ago
Simon Pasquier 2072bbc824 Send update when pod's IP address is empty
7 years ago
Krasi Georgiev b75428ec19 rename package retrieve to scrape
7 years ago
Frederic Branczyk d3ae1ac40e
Merge pull request #3741 from krasi-georgiev/discovery-race
7 years ago
pasquier-s bde64cf5a6 Fix Kubernetes endpoints SD for empty subsets (#3660)
7 years ago
Krasi Georgiev 818dda72db updated the sd tests
7 years ago
Krasi Georgiev acc4197098 remove dicovery race for the context field
7 years ago
Frederic Branczyk 47538cf6ce
Merge pull request #3747 from prometheus/sched-update-throttle
7 years ago
Frederic Branczyk 73e829137b
discovery: Cleanup ticker
7 years ago
Ganesh Vernekar 66b0aa3b45 Fixed race condition in map iteration and map write in Discovery (#3735) (#3738)
7 years ago
Krasi Georgiev fe926e7829 update the discover tests
7 years ago
Callum Styan 7dc05538f7 docs: SD implementations do not have to only send new/changed target groups (#3713)
7 years ago
Frederic Branczyk cfa0253ed8
discovery: Schedule updates to throttle
7 years ago
zemek 8a01a0fbed Set consul server default to localhost:8500 (#3703)
7 years ago
Julius Volz 09e460a647
discovery: Rename file SD mtime metric (#3723)
7 years ago
Krasi Georgiev ec26751fd2 use mutexes for the discovery manager instead of a loop as this was a stupid idea
7 years ago
Krasi Georgiev 767faa44b6 fixed the tests
7 years ago
Krasi Georgiev d12e6f29fc discovery manager ApplyConfig now takes a direct ServiceDiscoveryConfig so that it can be used for the notify manager
7 years ago
Goutham Veeramachaneni b20a1b1b1b
Merge pull request #3654 from krasi-georgiev/discovery-handle-discoverer-updates
7 years ago
Krasi Georgiev 790cf30fcb remove uneeded check
7 years ago
Krasi Georgiev 38938ba493 comment nits
7 years ago
Krasi Georgiev febebcd49a more comments for the future ME, and reverted the Discovery manager execution changes as these were correct in the first place
7 years ago
Krasi Georgiev 78ba5e62a6 few mote usefull comments
7 years ago
Krasi Georgiev cabce21b70 delete empty targets sets to avoid memory leaks
7 years ago
Krasi Georgiev abfd9f1920 nits
7 years ago
Shubheksha Jalan 0471e64ad1 Use shared types from the `common` repo (#3674)
7 years ago
Krasi Georgiev 546c29af5b return early for nil target groups
7 years ago
Callum Styan 97464236c7 comments with TargetProvider should read Discoverer instead (#3667)
7 years ago
Krasi Georgiev 77bf6bece0 discovery-manager comment update
7 years ago
Krasi Georgiev 135ea0f793 discovery manager - doesn't need sorting of the target groups so move it in the discovery manager tests as we only need it there.
7 years ago
Krasi Georgiev 638818a974 some Discoverers send nil targetgroup so need to check for it when updating a group
7 years ago
Krasi Georgiev 7e28397a2c discovery - handle Discoverers that send only target Group updates rather than all Targets on every update.
7 years ago
Shubheksha Jalan ec94df49d4 Refactor SD configuration to remove `config` dependency (#3629)
7 years ago
Callum Styan d76d5de66f refactor to make timestamp collector work for multiple file_sd's
7 years ago
KalivarapuReshma a00fc883c3 Add metric for timestamp of the files file_sd is using.
7 years ago
pasquier-s 78625f85a7 Fix race condition on file SD (#3468)
7 years ago
Krasi Georgiev 587dec9eb9 rebased and resolved conflicts with the new Discovery GUI page
7 years ago
Krasi Georgiev 80182a5d82 use poolKey as the pool map key to avoid multi dimensional maps
7 years ago
Krasi Georgiev 1ec76d1950 rearange the contexts variables and logic
7 years ago
Krasi Georgiev f2df712166 updated README
7 years ago
Krasi Georgiev aca8f85699 fixed the tests
7 years ago
Krasi Georgiev fe6c544532 some renaming and comments fixes.
7 years ago
Krasi Georgiev f5c2c5ff8f brake the start provider func so that can run unit tests against it.
7 years ago
Krasi Georgiev c5cb0d2910 simplify naming and API.
7 years ago
Krasi Georgiev 9c61f0e8a0 scrape pool doesn't rely on context as Stop() needs to be blocking to prevent Scrape loops trying to write to a closed TSDB storage.
7 years ago
Krasi Georgiev e405e2f1ea refactored discovery
7 years ago
Brian Brazil 81db4716c1
Mention SD moratorium in README (#3573)
7 years ago
Will Howard 6a80fc24cf Parse the normalized container.PortMappings presented by the Marathon 1.5.x API
7 years ago
Brian Brazil d7b3df5ae1 Fix staticcheck errors
7 years ago
Krasi Georgiev 29506e0bca one meaningless write to the config file to trigger anothe fsnotify (#3492)
7 years ago
Tom Wilkie 099c50ce93 Avoid empty pod UID in test.
7 years ago
Tom Wilkie 9811e90d65 Fix tests.
7 years ago
Tom Wilkie 06dc1e8797 Include Pod UID in the discovery metadata.
7 years ago
Tobias Schmidt 91be55ebf0
Merge pull request #3458 from grandbora/test-race
7 years ago
Bora Tunca 493fd6bd1f Fix race in test
7 years ago
Krasi Georgiev 1005ef0a70 Fix flaky file discovery tests - sync the channel draining goroutine
7 years ago
Bora Tunca 3cc01a3088 Add more discovery tests for updating target groups (#3426)
7 years ago
Krasi Georgiev c8a735ceb6 Fix flaky file discovery tests (#3438)
7 years ago
Bora Tunca e63219ae6a Add discovery test (#3417)
7 years ago
Bora Tunca 09be10a553 Add test to prove redundant calls to identical target providers (#3404)
7 years ago
beorn7 348ea482ea Merge branch 'beorn7/release'
7 years ago
Dominik Schulz a731a43302 Guard against tags being nil in EC2 discovery
7 years ago
Callum Styan 7776527390 bump consul HTTP client timeout by 5s so it doesn't match up exactly with the consul SD watch timeout
7 years ago
Jason Anderson 808f79f00a Feature: Allow getting credentials via EC2 role (#3343)
7 years ago
Julius Volz 099df0c5f0 Migrate "golang.org/x/net/context" -> "context" (#3333)
7 years ago
Julius Volz c3d6abc8e6 Fix some lint errors (#3334)
7 years ago
Callum Styan 45f9f3c539 use a timeout in the HTTP client used for consul sd (#3303)
7 years ago
Alexander Kazarin 2c163f32a5 fix for issue 2976 (#3313)
7 years ago
pasquier-s 88e4815bb7 Get OpenStack variables from env as fallback (#3293)
7 years ago
Marc Sluiter 6a633eece1 Added go-conntrack for monitoring http connections (#3241)
7 years ago
Fabian Reinartz 2d0b8e8b94 Merge branch 'master' into dev-2.0
7 years ago
Goutham Veeramachaneni 3f0267c548 Merge branch 'dev-2.0' into go-kit/log
7 years ago
beorn7 84211bd2df Foward-merge bug fixes and cherry-picks from 'release-1.7'
7 years ago
Matt Palmer 3369422327 Improve DNS response handling to prevent "stuck" records [Fixes #2799] (#3138)
7 years ago
Goutham Veeramachaneni f5aed810f9 logging: Port to common/promlog
7 years ago
Matt Bostock e758260986 Marathon SD: Set port index label
7 years ago
Fabian Reinartz e746282772 Merge branch 'master' into dev-2.0
7 years ago
Jamie Moore 7a135e0a1b Add the ability to assume a role for ec2 discovery
7 years ago
Fabian Reinartz d21f149745 *: migrate to go-kit/log
7 years ago
Johannes 'fish' Ziemke 75aec7d970 k8s: Use versioned struct for ingress discovery
7 years ago
Fabian Reinartz 87918f3097 Merge branch 'master' into dev-2.0
7 years ago
Johannes 'fish' Ziemke 70f3d1e9f9 k8s: Support discovery of ingresses (#3111)
7 years ago
Tobias Schmidt 29fff1eca4 Merge pull request #2966 from alkalinecoffee/consul-node-metadata
7 years ago
Tobias Schmidt d0a02703a2 Merge pull request #3105 from sak0/dev
7 years ago
CuiHaozhi b1c18bf29b discovery openstack: support discovery hosts, add rule option.
7 years ago
Colstuwjx 2b49df2c61 Fix target group foreach nil bug, directly return err.
7 years ago
CuiHaozhi 31b6f8b04c discovery openstack: handle instances without ip
7 years ago
Fabian Reinartz 25f3e1c424 Merge branch 'master' into mergemaster
7 years ago
Fabian Reinartz ac511ecf30 Merge pull request #2970 from Gouthamve/docs/sd-interface
7 years ago
Goutham Veeramachaneni ab96e79bc8 Add docs about SD interface
7 years ago
Fabian Reinartz 40db026381 Merge pull request #2957 from prometheus/sd-doc
7 years ago
Joe Martin aba41c7d0f add support for consul's node metadata
7 years ago
J. Taylor O'Connor 5a19ffb315 A few spelling corrections. (#2960)
7 years ago
Brian Brazil 84be97bd98 Tweaks to SD README from review
7 years ago
Brian Brazil 2a9ca394dd Document how/when to write service discovery (#2943)
7 years ago
Fabian Reinartz dba7586671 Merge branch 'master' into dev-2.0
7 years ago
Fuente, Pablo Andres 902fafb8e7 Fixing tests for Windows
7 years ago
Matt Bostock ab4d64959f Marathon SD: Set port index label
8 years ago
Goutham Veeramachaneni 507790a357
Rework logging to use explicitly passed logger
8 years ago
Christian Groschupp 8f781e411c Openstack Service Discovery (#2701)
8 years ago
Roman Vynar dbe2eb2afc Hide consul token on UI. (#2797)
8 years ago
Chris Goller 42de0ae013 Use log.Logger interface for all discovery services
8 years ago
Tobias Schmidt 287ec6e6cc Fix outdated target_group naming in error message
8 years ago
Conor Broderick 6766123f93 Replace regex with Secret type and remarshal config to hide secrets (#2775)
8 years ago
Fabian Reinartz 11aa049b05 Merge branch 'release-1.6' into merge16
8 years ago
Fabian Reinartz ddbbd2b712 Merge branch 'release-1.5' into cut162
8 years ago
Fabian Reinartz 2ff8855ae6 discovery/k8s: update client library
8 years ago
Fabian Reinartz aaaec6431e Merge pull request #2642 from bakins/kubernetes-namespaces
8 years ago
Stephan Erb 0b9fca983b Fix reload of ZooKeeper service discovery config (#2669)
8 years ago
Brian Akins 27d66628a1 Allow limiting Kubernetes service discover to certain namespaces
8 years ago
Goutham Veeramachaneni 0f48d07f95 Fix Map Race by Moving Locking closer to the Write (#2476)
8 years ago
Richard Kiene ec692f6161 Add triton zone brand metadata
8 years ago
Julius Volz 525da88c35 Merge pull request #2479 from YKlausz/consul-tls
8 years ago
Robson Roberto Souza Peixoto cc3e859d9e Add support for multiple ports in Marathon (#2506)
8 years ago
yklausz 75880b594f Adding consul capability to connect via tls
8 years ago
Tobias Schmidt 7bde44e98e Remove testing.T usage in goroutines
8 years ago
Tobias Schmidt 58cd39aacd Follow golang naming conventions in discovery packages
8 years ago
Robert Neumayer feb7670929 Add tests for consul service discovery (#2490)
8 years ago
Michael Kraus 690b49e503 Fix marathon tests
8 years ago
Michael Kraus 31252cc1b5 Clarify explicit use of authorization header
8 years ago
Michael Kraus 47bdcf0f67 Allow the use of bearer_token or bearer_token_file for MarathonSD
8 years ago
James Hartig 865f28bb15 discovery: Instead of looping over conf.Search, use NameList()
8 years ago
Alex Somesan b22eb65d0f Cleaner separation between ServiceAccount and custom authentication in K8S SD (#2348)
8 years ago
Richard Kiene f3d9692d09 Add Joyent Triton discovery
8 years ago
Fabian Reinartz 35da23fd82 consul: start service watch as goroutine
8 years ago
Fabian Reinartz 200bbe1bad config: extract SD and HTTPClient configurations
8 years ago
Fabian Reinartz d7f4f8b879 discovery: move TargetSet into discovery package
8 years ago
Fabian Reinartz d19d1bcad3 discovery: move into top-level package
8 years ago