Commit Graph

160 Commits (031d22df9e43f1c3014b8344337e133099902ae8)

Author SHA1 Message Date
Marco Pracucci 4da5c25ea4
Upgrade prometheus/common to v0.21.0
4 years ago
Bogdan Drutu d1ced85d7a
Bump k8s.io/* from 0.20.5 to 0.21.0 (#8714)
4 years ago
Julien Pivotto 93c6139bc1 Support follow_redirect
4 years ago
fuling 829b939891 [fix] service discovery : change var "eps" to "pod
4 years ago
Frederic Branczyk 19b0ec3baf
Merge pull request #8273 from fcddk/fcddk-k8s-enpoints-label
4 years ago
fcddk b270a1d6bf import strutil package
4 years ago
fcddk 617c56f55a add endponits labels metadata
4 years ago
Alexey Shumkin 73ddf603af
discovery/kubernetes: Fix valid label selector causing config error
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
Frederic Branczyk 06e2c2f804
Merge pull request #6838 from brancz/endpointslice
4 years ago
johncming 3c5ff27959
Update http header `User-Agent` in k8s and swarm discovery. (#7614)
4 years ago
Julien Pivotto 3e0ec3f8e1 Minor change
4 years ago
Julien Pivotto e76c436e9c
Goleak in discoveries, scrape, rules (#7662)
4 years ago
Frederic Branczyk f6c5a75661 discovery/kubernetes: Add Kubernetes EndpointSlice discovery
5 years ago
Frederic Branczyk 7b1c0d6b66
discovery/kubernetes: Fix incorrect premature break of reading results
5 years ago
Tariq Ibrahim 06a6621b6c
update kubernetes to v1.18.x and update ingress apiVersion
5 years ago
Tariq Ibrahim 0730d6eb74
remove deprecated methods from the MetricProvider interface
5 years ago
Frederic Branczyk d06f1034db discovery/kubernetes: Fix race in test setup
5 years ago
李国忠 029b45aa30
add service type metadata to kubernetes_sd_config service role #6496 (#6684)
5 years ago
Simon Pasquier 06c1a07d5a discovery/kubernetes: remove extraneous parameters from send()
5 years ago
Aleksandra Gacek 8e53c19f9c discovery/kubernetes: expose label_selector and field_selector
5 years ago
Grebennikov Roman b4445ff03f discovery/kubernetes: expose label_selector and field_selector
5 years ago
Ben Ye 1a18594176
keep kubernetes metrics in global vars (#6765)
5 years ago
Simon Pasquier 75470f86b4 discovery/kubernetes: fix client metrics
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
Julius Volz b5c833ca21
Update go.mod dependencies before release (#5883)
5 years ago
tariqibrahim df99d943ba pass multiple args to Registers.MustRegister method
5 years ago
dzzg 938ca06057
fix wrong spells in ingress.go
5 years ago
sh0rez 8ba23fb336
fix(style): container_is_init to container_init
6 years ago
sh0rez 88b79bae64
chore(style): Comply with style guide, order list
6 years ago
sh0rez 6618f28fd7
test(discovery/kubernetes): TestPodDiscoveryInitContainer
6 years ago
sh0rez fbd5c6f310
test(discovery/kubernetes): add container_is_init label to tests
6 years ago
sh0rez cfa253ae06
feat(discovery/kubernetes): container_is_init label
6 years ago
sh0rez bea07fe866
feat(discovery/kubernetes): include InitContainers
6 years ago
Simon Pasquier 3441ecdea1 discovery/kubernetes: add node name and hostname to endpoints
6 years ago
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