38 Commits (9a628bb1c8511fc166ac102f25209b1931e1a1b6)

Author SHA1 Message Date
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch` 2 years ago
Julien Pivotto 96d5a32659
Update go to 1.19, set min version to 1.18 (#11279) 2 years ago
David Leadbeater d677ec489e
Support using MX records for DNS discovery (#10099) 2 years ago
Matthieu MOREL f43749e82f
refactor (discovery): move from github.com/pkg/errors to 'errors' and 'fmt' (#10807) 3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log 4 years ago
songjiayang b781b5cac5
Refactor file discovery init function (#8891) 4 years ago
Matt Berther 31e86ed4bc prevent adding empty target when CNAME is encountered 4 years ago
Matt Berther acee998df6
CNAME responses can occur with "Type: A" dns_sd_config requests (#8216) 4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 4 years ago
Andy Bursavich 4e6a94a27d
Invert service discovery dependencies (#7701) 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
Simon Pasquier 19ce6b7f5f
discovery: fix more error logs on context cancelation (#6133) 5 years ago
陈谭军 c6928b5c6e fix-up typo unkown->unknown (#6055) 5 years ago
johncming 31a8ac3219 discovery/dns: add test case for SDConfig.UnmarshalYAML. (#6035) 5 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus 5 years ago
Chris Marchbanks 529ccff07b
Remove all usages of stretchr/testify 5 years ago
Simon Pasquier 4f47806a7d
discovery/dns: fix slice with wrong length (#5432) 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
Erik Hollensbe be3c082539 discovery/dns/dns.go: fix handling of truncated dns records 6 years ago
tariqibrahim b173de0c26 fix ineffectual assignment in dns.go 6 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921) 6 years ago
Goutham Veeramachaneni f988af7235 Revert #4586 (#4766) 6 years ago
Bryan Boreham 968f657eaa Stop removing the final dot from rooted DNS names (#4586) 6 years ago
Manos Fokas 25f929b772 Yaml UnmarshalStrict implementation. (#4033) 7 years ago
Matt Palmer 042090a6d3 [dns_sd] Send an EDNS0 query by default (#3586) 7 years ago
Callum Styan 97464236c7 comments with TargetProvider should read Discoverer instead (#3667) 7 years ago
Shubheksha Jalan ec94df49d4 Refactor SD configuration to remove `config` dependency (#3629) 7 years ago
Julius Volz 099df0c5f0 Migrate "golang.org/x/net/context" -> "context" (#3333) 7 years ago
Matt Palmer 3369422327 Improve DNS response handling to prevent "stuck" records [Fixes #2799] (#3138) 7 years ago
Fabian Reinartz d21f149745 *: migrate to go-kit/log 7 years ago
Chris Goller 42de0ae013 Use log.Logger interface for all discovery services 8 years ago
Tobias Schmidt 58cd39aacd Follow golang naming conventions in discovery packages 8 years ago
James Hartig 865f28bb15 discovery: Instead of looping over conf.Search, use NameList() 8 years ago
Fabian Reinartz d19d1bcad3 discovery: move into top-level package 8 years ago