Commit Graph

51 Commits (0f760f63dd5137ad406e0bc9f08676898e04ac97)

Author SHA1 Message Date
sellskin ff15b17400 remove code that will not be executed
8 months ago
Bryan Boreham 857138d3ce review feedback
10 months ago
Paweł Szulik 7f24efccdb Refactor discovery tests to use testify.
10 months ago
Paulin Todev 78411d5e8b
SD Managers taking over responsibility for registration of debug metrics (#13375)
10 months ago
machine424 afc05129f1
fix(discovery): allow requireUpdate util to timeout in discovery/file/file_test.go.
11 months ago
Paulin Todev 6de80d7fb0
Allow non-default registry to be used for metrics of SD components
12 months ago
Matt Harbison 02277bbe0d Fix path handling in File-SD watcher to allow directory monitoring on Windows
1 year ago
Michael Fuller 15ba7a0d2d
file sd: create and increment an inotify error counter when file-SD i… (#11066)
2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180)
2 years ago
Renato Costa d521933053
Fix incorrect use of loop variable in parallel test (#11205)
2 years ago
Matthieu MOREL f43749e82f
refactor (discovery): move from github.com/pkg/errors to 'errors' and 'fmt' (#10807)
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
Julien Pivotto 9a2e93228e
Switch to grafana/regexp everywhere (#10268)
3 years ago
Eng Zer Jun 3e67654d37
refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory
3 years ago
Augustin Husson d140df2335
replace gopkg.in/fsnotify/fsnotify.v1 by github.com/fsnotify/fsnotify (#9781)
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Michal Wasilewski 3f686cad8b
fixes yamllint errors
4 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
songjiayang b781b5cac5
Refactor file discovery init function (#8891)
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 e76c436e9c
Goleak in discoveries, scrape, rules (#7662)
4 years ago
ZouYu 2b7437d60e
Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109)
5 years ago
Julien Pivotto 2b2eb79e8b Add windows tests for query logger (#6653)
5 years ago
Simon Pasquier 80bc8553be
discovery/file: fix flaky tests (#5948)
5 years ago
beorn7 dd81912554 Add objectives to Summaries
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Simon Pasquier 0e5e7f75cd discovery/file: fix logging (#4178)
7 years ago
Manos Fokas 25f929b772 Yaml UnmarshalStrict implementation. (#4033)
7 years ago
Aaron Kirkbride c47fbcb626 Fix moved fsnotify dependency (#3995)
7 years ago
Krasi Georgiev b75428ec19 rename package retrieve to scrape
7 years ago
Ganesh Vernekar 66b0aa3b45 Fixed race condition in map iteration and map write in Discovery (#3735) (#3738)
7 years ago
Julius Volz 09e460a647
discovery: Rename file SD mtime metric (#3723)
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
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
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
Krasi Georgiev 1005ef0a70 Fix flaky file discovery tests - sync the channel draining goroutine
7 years ago
Krasi Georgiev c8a735ceb6 Fix flaky file discovery tests (#3438)
7 years ago
Julius Volz 099df0c5f0 Migrate "golang.org/x/net/context" -> "context" (#3333)
7 years ago
Fabian Reinartz d21f149745 *: migrate to go-kit/log
7 years ago
Colstuwjx 2b49df2c61 Fix target group foreach nil bug, directly return err.
7 years ago
Fuente, Pablo Andres 902fafb8e7 Fixing tests for Windows
7 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
Tobias Schmidt 58cd39aacd Follow golang naming conventions in discovery packages
8 years ago