metric_emitter

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricEmitterPluginOptions

type MetricEmitterPluginOptions struct {
	PodMetricLabels    []string
	PodSkipAnnotations string
	PodSkipLabels      string
	PodSyncPeriod      time.Duration
	PodMetricMapping   map[string]string

	NodeMetricLabels  []string
	NodeMetricMapping map[string]string

	MetricSyncers []string
}

MetricEmitterPluginOptions holds the configurations for custom-metric emitter plugin.

func NewMetricEmitterPluginOptions

func NewMetricEmitterPluginOptions() *MetricEmitterPluginOptions

NewMetricEmitterPluginOptions creates a new Options with a default config.

func (*MetricEmitterPluginOptions) AddFlags

AddFlags adds flags to the specified FlagSet.

func (*MetricEmitterPluginOptions) ApplyTo

ApplyTo fills up config with options

Jump to

Keyboard shortcuts

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