Commit Graph

756 Commits (main)

Author SHA1 Message Date
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