Commit Graph

37 Commits (1f02c2177b0ef86301ceb534ae4388fef63809b5)

Author SHA1 Message Date
Paulin Todev 27bb57a37b
Define metric label values in one place
12 months ago
Paulin Todev 108a749a45
Set up labels for counters in advance
12 months ago
Paulin Todev 6de80d7fb0
Allow non-default registry to be used for metrics of SD components
12 months ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926)
1 year ago
renzheng.wang 866fa25b20 add label and labelpresent for endpointslice role in k8s discovery
2 years ago
cui fliter 276ca6a883 fix some comments
2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
Julien Pivotto 3677d61a4b Update kubernetes dependencies
2 years ago
Matthieu MOREL f43749e82f
refactor (discovery): move from github.com/pkg/errors to 'errors' and 'fmt' (#10807)
3 years ago
Ed Schouten a3e9628e0c
Kubernetes service discovery: add provider ID label (#9603)
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Simon Pasquier 06c1a07d5a discovery/kubernetes: remove extraneous parameters from send()
5 years ago
Ben Ye 1a18594176
keep kubernetes metrics in global vars (#6765)
5 years ago
Yao Zengzeng 1afa476b8a minor fix for making map (#6076)
5 years ago
Simon Pasquier 8ec6f02854 discovery: don't log errors on context cancelation
5 years ago
Tariq Ibrahim f0a5f88b95 [prometheus_sd/kubernetes]add new node address types for discover (#5902)
5 years ago
Simon Pasquier dafd1632a2 discovery/kubernetes: add present labels for labels/annotations (#5443)
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057)
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
Julius Volz 219e477272 Fix some (valid) lint errors (#4287)
6 years ago
Yecheng Fu 2be543e65a Simplify some code and comments.
7 years ago
Yecheng Fu 46683dd67d Simplify code.
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
pasquier-s bde64cf5a6 Fix Kubernetes endpoints SD for empty subsets (#3660)
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
Goutham Veeramachaneni 3f0267c548 Merge branch 'dev-2.0' into go-kit/log
7 years ago
Fabian Reinartz d21f149745 *: migrate to go-kit/log
7 years ago
Johannes 'fish' Ziemke 70f3d1e9f9 k8s: Support discovery of ingresses (#3111)
7 years ago
Fabian Reinartz 2ff8855ae6 discovery/k8s: update client library
8 years ago
Fabian Reinartz d19d1bcad3 discovery: move into top-level package
8 years ago