k3s/pkg/cloudprovider
Kubernetes Submit Queue 09747e6bee Merge pull request #44510 from bowei/gce-metrics
Automatic merge from submit-queue (batch tested with PRs 44124, 44510)

Add metrics to all major gce operations (latency, errors)

```release-note
Add metrics to all major gce operations {latency, errors}

The new metrics are:

  cloudprovider_gce_api_request_duration_seconds{request, region, zone}
  cloudprovider_gce_api_request_errors{request, region, zone}
 
`request` is the specific function that is used.
`region` is the target region (Will be "<n/a>" if not applicable)
`zone` is the target zone (Will be "<n/a>" if not applicable)

Note: this fixes some issues with the previous implementation of
metrics for disks:
- Time duration tracked was of the initial API call, not the entire
  operation.
- Metrics label tuple would have resulted in many independent
  histograms stored, one for each disk. (Did not aggregate well).
```
2017-04-27 16:14:58 -07:00
..
providers Merge pull request #44510 from bowei/gce-metrics 2017-04-27 16:14:58 -07:00
BUILD autogenerated 2017-04-14 10:40:57 -07:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00
cloud.go Use ProviderID to address nodes in the cloudprovider 2017-03-27 23:13:13 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
plugins.go add external cloudprovider to clerly denote the offloading off cloudprovider tasks 2017-03-06 10:45:13 -08:00