Commit Graph

185 Commits (6f0d6038b7f9430f023f3cddd9ea5b5e5e3c03cb)

Author SHA1 Message Date
beorn7 35010daa90 Merge branch 'release-2.33' into beorn7/cleaning-up-cherrypicking-fallout
3 years ago
Julien Pivotto 9d63502204 k8s: improve 'own_namespace'
3 years ago
Georg Gadinger c85efa02d9 Fix k8s target discovery when not running inside k8s
3 years ago
Georg Gadinger 4663f814d6 Fix k8s target discovery when not running inside k8s
3 years ago
fpetkovski de87515b24 Implement target discovery in own k8s namespace
3 years ago
Ed Schouten a3e9628e0c
Kubernetes service discovery: add provider ID label (#9603)
3 years ago
Mateusz Gozdek ea924746b3
discovery/kubernetes: improve test logic for waiting for discoverers (#9584)
3 years ago
Mateusz Gozdek b7bdf6fab2 Fix imports formatting
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
akatsadimas ee77a6212f discovery/kubernetes: issue overcapacity warning for endpoint rather than endpointslice
3 years ago
akatsadimas dd2e666a8d discovery/kubernetes: Warn user in case of endpoint over-capacity
3 years ago
Julien Pivotto 63b3e4e5ec
Enable HTTP2 again (#9398)
3 years ago
Julien Pivotto b1bdde46c3 kubernetes ingress: adjust comment style
3 years ago
Philip Gough 0af7250c52 discovery:kube: Support wildcard matching for ingress rules
3 years ago
Takashi Kusumi 3ab8559d1c Kubernetes SD: Fix golint issue
3 years ago
Takashi Kusumi 40981c422b Kubernetes SD: Introduce ingressAdaptor
3 years ago
Takashi Kusumi 6634a570cf Kubernetes SD: Support networking.k8s.io/v1 Ingress
3 years ago
3Xpl0it3r a0bac4b488
add kubeconfig support in discovery module (#8811)
4 years ago
Frederic Branczyk 039b651450
Merge pull request #8916 from Evesy/main
4 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Mike Eves ae081886fa Fix up tests
4 years ago
Mike Eves 7941b350ba Don't set label if ingressClassName is not set
4 years ago
Mike Eves 7e1111ff14 Update label from `class` to `class_name`
4 years ago
Mike Eves 7e65ad3e43 Add class label to kubernetes ingress discovery
4 years ago
kongxs 632678a461
Fix spelling mistake (#8879)
4 years ago
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
7 years ago
Dmitry Bashkatov e2baf89eac discovery/kubernetes/ingress: fix scheme discovery (Closes #4327)
7 years ago