k8s_kubelet

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: GPL-3.0 Imports: 8 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

kubelet

This module will monitor one or more kubelet instances.

It produces the following charts (if all data is available):

  1. API Server Audit Requests in requests/s
  • rejected
  1. API Server Failed Data Encryption Key(DEK) Generation Operations in events/s
  • failures
  1. API Server Latencies Of Data Encryption Key(DEK) Generation Operations in observes/s
  • per bucket (5 µs, 10 µs, ..., 40960 µs, +Inf)
  1. API Server Latencies Of Data Encryption Key(DEK) Generation Operations Percentage in %
  • per bucket (5 µs, 10 µs, ..., 40960 µs, +Inf)
  1. API Server Storage Envelope Transformation Cache Misses in events/s
  • cache misses
  1. Number Of Containers Currently Running in running containers
  • total
  1. Number Of Pods Currently Running in running pods
  • total
  1. Bytes Used By The Pod Logs On The Filesystem in bytes
  • usage per pod
  1. Runtime Operations By Type in operations/s
  • per operation type
  1. Docker Operations By Type in operations/s
  • per operation type
  1. Docker Operations Errors By Type in operations/s
  • per operation error type
  1. Node Configuration-Related Error in bool
  • experiencing error
  1. PLEG Relisting Interval Summary in microseconds
  • per quantile (0.5, 0.9, 0.99)
  1. PLEG Relisting Latency Summary in microseconds
  • per quantile (0.5, 0.9, 0.99)
  1. Token() Requests To The Alternate Token Source in token requests/s
  • total
  • failed
  1. REST Client HTTP Requests By Status Code in requests/s
  • per status code (200, 201, etc.)
  1. REST Client HTTP Requests By Method in requests/s
  • per http method (GET, POST, etc.)
  1. Volume Manager State Of The World per every plugin in state of the world
  • actual
  • desired
configuration

Needs only url to kubelet metric-address.

Here is an example:

jobs:
  - name: local
    url : http://127.0.0.1:10255/metrics
      
  - name: remote
    url : http://100.64.0.1:10255/metrics

For all available options please see module configuration file.

Without configuration, module attempts to connect to http://127.0.0.1:10255/metrics


Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chart

type Chart = module.Chart

Chart is an alias for module.Chart

type Charts

type Charts = module.Charts

Charts is an alias for module.Charts

type Config

type Config struct {
	web.HTTP  `yaml:",inline"`
	TokenPath string `yaml:"token_path"`
}

type Dim

type Dim = module.Dim

Dim is an alias for module.Dim

type Dims

type Dims = module.Dims

Dims is an alias for module.Dims

type Kubelet

type Kubelet struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

func New

func New() *Kubelet

New creates Kubelet with default values.

func (Kubelet) Charts

func (k Kubelet) Charts() *Charts

Charts creates Charts.

func (*Kubelet) Check

func (k *Kubelet) Check() bool

Check makes check.

func (Kubelet) Cleanup

func (Kubelet) Cleanup()

Cleanup makes cleanup.

func (*Kubelet) Collect

func (k *Kubelet) Collect() map[string]int64

Collect collects mx.

func (*Kubelet) Init

func (k *Kubelet) Init() bool

Init makes initialization.

Jump to

Keyboard shortcuts

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