k3s/test/e2e/framework
Kubernetes Submit Queue 93ddb7be5f Merge pull request #52237 from smarterclayton/watch_metric
Automatic merge from submit-queue (batch tested with PRs 51824, 50476, 52451, 52009, 52237)

Improve apiserver metrics reporting

Normalize "WATCHLIST" to "WATCH", add "scope" to the other metrics (listing 50k pods is != listing pods in a namespace), and add a new scope "resource" to cover individual resource calls.

This roughly aligns metrics with our ACL model (technically resource scope is GET, but POST to a subresource and POST to a namespace are not the same thing).

```release-note
WATCHLIST calls are now reported as WATCH verbs in prometheus for the apiserver_request_* series.  A new "scope" label is added to all apiserver_request_* values that is either 'cluster', 'resource', or 'namespace' depending on which level the query is performed at.
```
2017-09-15 01:08:11 -07:00
..
ginkgowrapper Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
metrics Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
BUILD Fix bazel 2017-09-01 05:39:00 +05:30
authorizer_util.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
cleanup.go
deployment_util.go Move paused deployment e2e tests to integration 2017-09-06 18:12:28 -07:00
exec_util.go Prepare to introduce websockets for exec and portforward 2017-07-07 18:22:51 -04:00
federation_util.go Add the ability to customize federation system namespace in e2e turn up scripts. 2017-03-24 14:42:50 -07:00
firewall_util.go Remove some helpers associated with ESIPP. 2017-08-09 14:25:08 +08:00
framework.go Remove the conversion of client config, because client-go is authoratative now 2017-09-12 16:02:17 -07:00
get-kubemark-resource-usage.go add grabbing CA metrics in e2e tests 2017-08-10 11:22:45 +02:00
google_compute.go Tolerate a missing MasterName (for GKE) 2017-07-18 09:55:15 -07:00
ingress_utils.go Switch away from gcloud deprecated flags in compute resource listings 2017-08-30 06:41:09 +01:00
jobs_util.go Job failure policy support in JobController 2017-09-03 12:07:12 +02:00
kubelet_stats.go Make metav1.(Micro)?Time functions take pointers 2017-08-17 11:24:28 +02:00
log_size_monitoring.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
metrics_util.go Report scope in e2e test metrics 2017-09-11 22:13:55 -04:00
networking_utils.go e2e: network tiers should retry on 404 errors 2017-09-06 13:16:28 -07:00
nodes_util.go Pipe in upgrade image target to kube-proxy migration tests 2017-09-07 13:39:27 -07:00
perf_util.go Report scope in e2e test metrics 2017-09-11 22:13:55 -04:00
pods.go Add waitForFailure for e2e test framework 2017-07-28 17:15:43 +08:00
pv_util.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
rc_util.go Migrate api.Registry to testapi.Groups in tests. 2017-07-17 15:05:38 -07:00
resource_usage_gatherer.go Fix usage a make(struct, len()) followed by append() 2017-07-31 14:43:29 -04:00
rs_util.go Fix printer hack to get a versioned client 2017-08-06 15:30:13 +02:00
service_util.go e2e: network tiers should retry on 404 errors 2017-09-06 13:16:28 -07:00
size.go log gcloud command error 2017-09-13 11:56:55 +02:00
statefulset_utils.go StatefulSet: Deflake e2e RunHostCmd. 2017-09-06 17:51:11 -07:00
test_context.go Correct default cluster-ip-range subnet 2017-08-29 23:15:23 +02:00
upgrade_util.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
util.go StatefulSet: Deflake e2e RunHostCmd more. 2017-09-12 10:12:46 -07:00
volume_util.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30