Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricEmitterExternalConfiguration ¶ added in v0.3.0
type MetricEmitterExternalConfiguration struct{}
type MetricEmitterNodeConfiguration ¶ added in v0.3.0
type MetricEmitterPluginConfiguration ¶
type MetricEmitterPluginConfiguration struct { *MetricEmitterPodConfiguration *MetricEmitterNodeConfiguration *MetricEmitterExternalConfiguration // 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.
type MetricEmitterPodConfiguration ¶ added in v0.3.0
type MetricEmitterPodConfiguration 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 // MetricMapping will override the default to-collected metrics in pod-level MetricMapping map[string]string }
Click to show internal directories.
Click to hide internal directories.