apiserver

package
v0.0.0-...-be347a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

README

Kube apiserver Stats

Version history

  • Initial version, v1.8.8

    There might be a (non reported yet) issue with this version due to the label code missing. Beats 7.4 should solve the issue.

  • June 2019, v1.14.3

    apiserver_request_total will be used in spite of apiserver_request_count. An ugly trick has been put in place that will read both values, using apiserver_request_total if exists. The deprecated value is being configured under the bogus name request.beforev14.count and renamed to request.count if the newer does not exists.

Resources

apiserver_request_latencies - component - group - resource - scope - subresource - verb - version

apiserver_request_duration_seconds_bucket - component - dry_run - group - resource - scope - subresource - verb - version

apiserver_request_total - client - code. Note: this one was not being added at previous. - component - contentType - dry_run - resource - scope - subresource - verb - version

apiserver_longrunning_gauge - component - group - resource - scope - subresource - verb - version

etcd_object_counts - resource

apiserver_current_inflight_requests - requestKind

apiserver_audit_event_total

apiserver_audit_requests_rejected_total

Setup environment for manual tests

Probably the easiest way of testing apiserver is creating a cluster (kind, minikube?), configuring kubeconfig and then

kubectl proxy --port 8000

Metrics for apiserver will be available at http://localhost:8000/metrics

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL