metric_emitter

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricEmitterPluginConfiguration

type MetricEmitterPluginConfiguration struct {
	PodMetricLabel sets.String
	PodSyncPeriod  time.Duration
	// nominated annotations and labels to skip to avoid too many metrics;
	// if multiple key-value pairs are nominated, skip if any pair matches
	PodSkipAnnotations map[string]string
	PodSkipLabels      map[string]string

	NodeMetricLabel sets.String

	// MetricSyncers defines those syncers that should be enabled
	MetricSyncers []string
}

MetricEmitterPluginConfiguration stores configurations of custom-metric emitter plugin

func NewMetricEmitterPluginConfiguration

func NewMetricEmitterPluginConfiguration() *MetricEmitterPluginConfiguration

NewMetricEmitterPluginConfiguration creates a new custom-metric emitter plugin configuration.

Jump to

Keyboard shortcuts

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