Michal Fojtik
0cde78477a
client-go: add DNS resolver latency metrics ( #115357 )
...
* client-go: add DNS resolver latency metrics
* client-go: add locking to DNS latency metrics
* client-go: add locking for whole DNSStart and DNSDone
Signed-off-by: Vu Dinh <vudinh@outlook.com >
* Fix a mismatched ctx on the request
Signed-off-by: Vu Dinh <vudinh@outlook.com >
* Clean up request code and fix comments
Signed-off-by: Vu Dinh <vudinh@outlook.com >
---------
Signed-off-by: Vu Dinh <vudinh@outlook.com >
Co-authored-by: Vu Dinh <vudinh@outlook.com >
Kubernetes-commit: 1c7e87cff27aa009488a9d55342220e223d5c146
2023-06-28 22:56:45 +02:00
Antonio Ojea
7cf3125431
add new metrics for the internal client-go transport generator
...
Add two new metrics to monitor the client-go logic that
generate http.Transports for the clients.
- rest_client_transport_cache_entries is a gauge metrics
with the number of existin entries in the internal cache
- rest_client_transport_create_calls_total is a counter
that increments each time a new transport is created, storing
the result of the operation needed to generate it: hit, miss
or uncacheable
Change-Id: I2d8bde25281153d8f8e8faa249385edde3c1cb39
Kubernetes-commit: 3f3e1d507d081528ce8081f0daf4446d8a3b9bc0
2023-05-10 22:40:13 +00:00
Abu Kashem
d2388d199c
client-go: add metric to count retries
...
Kubernetes-commit: b6c369f5c90bbef8058b3d44949f4e815dd6607f
2022-02-28 12:22:09 -05:00
Antonio Ojea
e2c62ff0c0
client-go: add request and response size metrics
...
Get metrics for the request and response size, so we can correlate latency
and size on a request, otherwise we could get confused because we don't know if the
network is slow or just the request size huge.
Kubernetes-commit: 64d9d0585f6dbc9266f31b6d0f795d6c0421495e
2021-12-09 12:11:01 +01:00
Davanum Srinivas
73f2731e23
Cleanup OWNERS files (No Activity in the last year)
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
Kubernetes-commit: 497e9c1971c9e7d0193bc6d11503ec4ad527f1d5
2021-12-10 15:18:50 -05:00
Davanum Srinivas
70f09c4943
Check in OWNERS modified by update-yamlfmt.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
Kubernetes-commit: 9405e9b55ebcd461f161859a698b949ea3bde31d
2021-12-09 21:31:26 -05:00
yoyinzyc
6a42ca30ba
add context to restclient metrics
...
Kubernetes-commit: 69d40a1de7bc765647d8ef392fe406429fded807
2021-02-04 18:23:26 -08:00
Andrew Keesler
8aa3e0f684
exec credential provider: add rest_client_exec_plugin_call_total metric
...
Signed-off-by: Andrew Keesler <akeesler@vmware.com >
Kubernetes-commit: 31eec29b098f790cd96fd6d2441e68938f15363b
2021-02-08 15:20:15 -05:00
Benjamin Elder
1a4844dbb1
eparis to emeritus
...
Kubernetes-commit: 2abc8afececeadad26c6bb90d3b096f2b8008131
2020-06-30 09:50:44 -07:00
jennybuckley
2d3138825e
Improve rate limiter latency logging and metrics
...
Kubernetes-commit: 2bcf99f05fdc47fb4bc3601b9134408483f59773
2020-02-13 13:32:12 -08:00
Samuel Davidson
41735bf478
Changed Kubelet client and serving cert TTL/Expiry certs to use gaugefunc for calculating time remaining.
...
Kubernetes-commit: aba0b315269dab469694af7fca879438a7f87e41
2019-12-03 16:01:56 -08:00
Samuel Davidson
775f4ddf38
Added rest client metrics for client TTL and rot. ( #84382 )
...
* Added rest client metrics for client TTL and rot.
* Fixed foo bar comment, added nil checks
* Moved rotation observation inside of old cert nil check block
* Fixed rotation age logic.
* fixed BUILD for exec plugin package
* fixed null pointer dereference in exec.go
* Updated metric name, bucket, used oldest cert.
Kubernetes-commit: 9dcb3bfcff2024e4690d70262cad14668b1f2507
2019-11-22 17:29:30 -08:00
Bob Killen
dc265f33cf
Prune inactive owners from staging/src/k8s.io/client-go/* OWNERS files.
...
Kubernetes-commit: 3dc01f32eacb4791b248c22f7db9d6dabbec7869
2019-10-12 19:44:19 -04:00
Justin SB
931e6a04ad
Remove executable file permission from OWNERS files
...
Kubernetes-commit: dd19b923b7c26420af39fcf4eedfa213b236c8d3
2019-01-03 12:18:20 -05:00
Roy Lenferink
94093d2527
Updated OWNERS files to include link to docs
...
Kubernetes-commit: b43c04452f3b563473b5c2a765d4ac18cc0ff58f
2019-01-30 20:05:00 +01:00
Kubernetes Publisher
fff8c3d73e
sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel
2018-03-15 09:19:38 +00:00
Jeff Grafton
c92755ea3b
update BUILD files
...
Kubernetes-commit: aee5f457dbfd70c2d15c33e392dce6a3ca710116
2017-10-12 13:52:10 -07:00
Jeff Grafton
5da217e5c4
Use buildozer to delete licenses() rules except under third_party/
...
Kubernetes-commit: a7f49c906df816123e7d4ccbd4cebab411519465
2017-08-29 12:51:55 +00:00
Jeff Grafton
fa2ceb7462
Use buildozer to remove deprecated automanaged tags
...
Kubernetes-commit: 33276f06be5e872bf53ca62a095fcf0a6b6c11a8
2017-08-29 12:51:55 +00:00
Jeff Grafton
f921a73942
Run hack/update-bazel.sh to generate BUILD files
...
Kubernetes-commit: 3579017b865ddbc5449d6bba87346f086e4b93ff
2017-08-29 12:50:17 +00:00
Mike Danese
9a45999fa0
autogenerated
...
Kubernetes-commit: a05c3c0efdc5822049e34b1a5a1ee259c5fb1906
2017-04-15 20:28:18 +00:00
Kubernetes Publisher
204f12b1f3
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is 616038db1b0d1e852b4a3d10c8c512a052f91fba
2017-01-14 15:19:47 +00:00
Chao Xu
a6d206121d
remove the top-level folders for versions
...
remove scripts
2016-10-19 14:34:19 -07:00