healthmetrics

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const MetricsReadPeriod = 10 * time.Second

MetricsReadPeriod is interval between metrics retrieval

Variables

View Source
var MetricVampClientProvider = vampclientprovider.New()

Functions

func InitK8sClient

func InitK8sClient() error

InitK8sClient initializes k8s client

func Process

func Process(ch chan *models.LogInstance) error

Process reads health data from K8s and send them to adapter's processor

func Setup

func Setup(ch chan *models.LogInstance)

Setup setups periodic read of health metrics

Types

This section is empty.

Jump to

Keyboard shortcuts

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