Commit Graph

121 Commits (8a5d8c15e39e2f6af9392694c391578e052ca148)

Author SHA1 Message Date
Simon Pasquier 45506841e6
*: enable all default linters (#5504)
6 years ago
Frederic Branczyk 3cffd81035
Merge pull request #5520 from YaoZengzeng/service
6 years ago
YaoZengzeng 658b33808c The workqueue of service should be `service` other than `ingress`
6 years ago
Tariq Ibrahim 00036cd1e5
update client-go,api,api-machinery and klog dependencies
6 years ago
Simon Pasquier 559237cc4f discovery/kubernetes: fix missing label sanitization (#5462)
6 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 e72c875e63
config: fix Kubernetes config with empty API server (#5256)
6 years ago
Simon Pasquier c8a1a5a93c
discovery/kubernetes: fix support for password_file and bearer_token_file (#5211)
6 years ago
Tariq Ibrahim bfcdba211f remove the prepended watch reactor from the fake k8s client (#5140)
6 years ago
Frederic Branczyk e9ae0b5a1b
Merge pull request #4927 from tariq1890/update_k8s
6 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057)
6 years ago
tariqibrahim aa94efe4b5 Merge branch 'master' of https://github.com/prometheus/prometheus into update_k8s
6 years ago
Lv Jiawei ad22389218 Add ingress in UnmarshalYAML and init (#5035)
6 years ago
tariqibrahim 122b47caa0 address review comment in client_metrics
6 years ago
tariqibrahim 1e4e4c46ba Merge branch 'master' of https://github.com/prometheus/prometheus into update_k8s
6 years ago
tariqibrahim 0d4b6e4e66 address review comments
6 years ago
Tariq Ibrahim de6f3b6af7 expose kubernetes service cluster ip (#4940)
6 years ago
JoeWrightss e8be31eed9 Fixs typo: 'possibliy' to 'possibly' (#4974)
6 years ago
tariqibrahim 1fd438ed2b rebase and resolve merge conflicts
6 years ago
tariqibrahim 412ca33226 update kubernetes deps to v1.13.0
6 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921)
6 years ago
Daniele Sluijters f25a6baedb remote: Set User-Agent header in requests (#4891)
6 years ago
Bryan Boreham cf37e1feb4 Add __meta_kubernetes_pod_phase label in discovery (#4824)
6 years ago
Simon Pasquier c4a6acfb1e
*: move to go 1.11 (#4626)
6 years ago
Martin Chodur f2d037133e
feat: added more k8s SD metrics
6 years ago
Camille Janicki b035ea0ea9 Change discovery subpackages to not use testify in tests (#4612)
6 years ago
Krasi Georgiev ba7eb733e8 tidy up the discovery logs,updating loops and selects (#4556)
6 years ago
Yecheng Fu d4eae8cc0c Wait for all internal discoveries are done before exiting. (#4508)
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
Julius Volz 05d6d6a2e5
k8s SD: Fix "schema" -> "scheme" typo (#4371)
6 years ago
Dmitry Bashkatov 72327d98fb discovery/kubernetes/ingress: remove unnecessary check
6 years ago
Dmitry Bashkatov e2baf89eac discovery/kubernetes/ingress: fix scheme discovery (Closes #4327)
6 years ago
Dmitry Bashkatov 9cdca50bdd discovery/kubernetes/ingress: add more tests
6 years ago
Julius Volz 5cf0113762
Add "omitempty" to some SD config YAML field tags (#4338)
6 years ago
Simon Pasquier 6eab4bbca1 kubernetes_sd: fix namespace filtering (#4273)
7 years ago
Damien Lespiau e64037053d Expose controller kind and name to labelling rules
7 years ago
beorn7 a4e4bec3fe Merge branch 'release-2.2'
7 years ago
Yecheng Fu 2be543e65a Simplify some code and comments.
7 years ago
Yecheng Fu 46683dd67d Simplify code.
7 years ago
Yecheng Fu 3a253f796c Fix grammar in comments and add missing `expectedMaxItems` to let it
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
Manos Fokas 25f929b772 Yaml UnmarshalStrict implementation. (#4033)
7 years ago
Yecheng Fu 56ed29fbf7 Map target infos of endpoints to prometheus meta labels. (#3770)
7 years ago
ferhat elmas ffa673f7d8 General simplifications (#3887)
7 years ago
Simon Pasquier 2072bbc824 Send update when pod's IP address is empty
7 years ago
pasquier-s bde64cf5a6 Fix Kubernetes endpoints SD for empty subsets (#3660)
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
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
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
Goutham Veeramachaneni f5aed810f9 logging: Port to common/promlog
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
Johannes 'fish' Ziemke 70f3d1e9f9 k8s: Support discovery of ingresses (#3111)
7 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
Brian Akins 27d66628a1 Allow limiting Kubernetes service discover to certain namespaces
8 years ago
Tobias Schmidt 58cd39aacd Follow golang naming conventions in discovery packages
8 years ago
Alex Somesan b22eb65d0f Cleaner separation between ServiceAccount and custom authentication in K8S SD (#2348)
8 years ago
Fabian Reinartz d19d1bcad3 discovery: move into top-level package
8 years ago