k3s/pkg/kubelet/network
Kubernetes Submit Queue eaaa93c70c Merge pull request #53446 from sjenning/network-plugin-metrics
Automatic merge from submit-queue (batch tested with PRs 53454, 53446, 52935, 53443, 52917). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

kubelet: add latency metrics to network plugin manager

This PR adds latency metrics to the network plugin operations, namely `GetPodNetworkStatus()`, `SetUpPod()`, and `TearDownPod()`.

I recently had to debug and issue where a PLEG relist hang was occurring due to a hang in a CNI plugin and it would have been really nice to have these.  Between the these new metrics and `docker_operations_latency_microseconds`, we will be able to account for nearly all the time consuming routines in the PLEG relist.

@derekwaynecarr @smarterclayton @eparis @vishh 

```release-note
Metrics were added to network plugin to report latency of CNI operations
```
/sig node
2017-10-05 05:06:25 -07:00
..
cni cni: print better error when a CNI .configlist is put into a .config 2017-08-17 11:01:05 -05:00
hairpin Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
hostport fix comment 2017-09-30 01:00:24 +08:00
kubenet move KubeletConfiguration out of componentconfig API group 2017-08-15 08:12:42 -07:00
metrics kubelet: add metrics to network plugin manager 2017-10-04 12:13:35 -05:00
testing move KubeletConfiguration out of componentconfig API group 2017-08-15 08:12:42 -07:00
BUILD kubelet: add metrics to network plugin manager 2017-10-04 12:13:35 -05:00
OWNERS add OWNER file to kubelet/network 2017-02-24 11:41:13 -08:00
network.go
plugins.go kubelet: add metrics to network plugin manager 2017-10-04 12:13:35 -05:00