k8s_kubeproxy

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: GPL-3.0 Imports: 7 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

k8s_kubeproxy

This module will monitor one or more kube-proxy instances.

It produces the following charts:

  1. Sync Proxy Rules in events/s
  • sync proxy rules
  1. Sync Proxy Rules Latency in observes/s
  • per bucket (0.001 sec, 0.002 sec, 0.003 sec, ..., 16.384 sec, +Inf)
  1. Sync Proxy Rules Latency Percentage in %
  • per bucket (0.001 sec, 0.002 sec, 0.003 sec, ..., 16.384 sec, +Inf)
  1. REST Client HTTP Requests By Status Code in requests/s
  • per code (200, 201, 404, ...)
  1. REST Client HTTP Requests By Method in requests/s
  • per code (GET, POST, ...)
  1. HTTP Requests Duration in microseconds
  • per quantile (0.5, 0.9, 0.99)
configuration

Needs only url to kube-proxy metric-address.

Here is an example:

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

For all available options please see module configuration file.

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


Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Charts

type Charts = module.Charts

Charts is an alias for module.Charts

type Config

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

Config is the KubeProxy module configuration.

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 KubeProxy

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

KubeProxy is KubeProxy module.

func New

func New() *KubeProxy

New creates KubeProxy with default values.

func (KubeProxy) Charts

func (kp KubeProxy) Charts() *Charts

Charts creates Charts.

func (*KubeProxy) Check

func (kp *KubeProxy) Check() bool

Check makes check.

func (KubeProxy) Cleanup

func (KubeProxy) Cleanup()

Cleanup makes cleanup.

func (*KubeProxy) Collect

func (kp *KubeProxy) Collect() map[string]int64

Collect collects metrics.

func (*KubeProxy) Init

func (kp *KubeProxy) Init() bool

Init makes initialization.

Jump to

Keyboard shortcuts

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