Commit Graph

51 Commits (5e3914a27cfbd32f4d54177ae896ccb65fe9cc4e)

Author SHA1 Message Date
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
Paulin Todev 6de80d7fb0
Allow non-default registry to be used for metrics of SD components
12 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
12 months ago
Oleksandr Redko 2a75604f8e
Enable default revive rules (#13068)
1 year ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Taavi Väänänen 0f4c27e2bf
discovery/openstack: Include instance image ID in labels
1 year ago
Cosrider bef6556ca5
delete redundant alias (#11180)
2 years ago
Matthieu MOREL f43749e82f
refactor (discovery): move from github.com/pkg/errors to 'errors' and 'fmt' (#10807)
3 years ago
Łukasz Mierzwa a4317bf0ec
Run gofumpt on all files (#10392)
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Frederic Branczyk a266d4d2c5
Update Go dependencies
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
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 27867412a7
openstack tests: use new test.Cleanup function (#7514)
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
coding3min 4dfbf328f2
[OpenStack SD] Add HypervisorID meta labels about id (#6962)
5 years ago
Julien Pivotto cf42888e4d Fix order of testutil.Equals (#6695)
5 years ago
Bartek Plotka f0863a604e Removed extra tsdb/testutil after merge.
5 years ago
Bjoern Rabenstein a92ef68dd8 Fix staticcheck errors
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
Simon Pasquier 67385f356f
discovery/openstack: pass context to the OpenStack client (#5231)
6 years ago
Matt Layher 302148fd69 *: apply gofmt -s
6 years ago
Kevin Bulebush 718344434c openstack_sd: Supporting application credential for authentication. (#4968)
6 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057)
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 a2a78d0a09 discovery/openstack: discover all interfaces (#4649)
6 years ago
Simon Pasquier ff08c40091 discovery/openstack: support tls_config
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
Simon Pasquier f32acc0b7b discovery/openstack: remove unneeded assignment
6 years ago
Manos Fokas 25f929b772 Yaml UnmarshalStrict implementation. (#4033)
7 years ago
Marek Siarkowicz 86011047ca Validate required fields in sd configuration (#3911)
7 years ago
Shubheksha Jalan 0471e64ad1 Use shared types from the `common` repo (#3674)
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
pasquier-s 88e4815bb7 Get OpenStack variables from env as fallback (#3293)
7 years ago
Goutham Veeramachaneni f5aed810f9 logging: Port to common/promlog
7 years ago
Fabian Reinartz d21f149745 *: migrate to go-kit/log
7 years ago
CuiHaozhi b1c18bf29b discovery openstack: support discovery hosts, add rule option.
7 years ago
CuiHaozhi 31b6f8b04c discovery openstack: handle instances without ip
7 years ago