Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Decoder runtime.Decoder
Decoder is a decoder for resources part of the `monitoring.coreos.com/v1{{beta,alpha}1} APIs.
Functions ¶
func ConfigObjectMeta ¶
func ConfigObjectMeta(name, namespace, prometheusName string) metav1.ObjectMeta
ConfigObjectMeta returns the object meta for a standard Prometheus config object (e.g., ServiceMonitor).
func StandardMetricRelabelConfig ¶
func StandardMetricRelabelConfig(allowedMetrics ...string) []*monitoringv1.RelabelConfig
StandardMetricRelabelConfig returns the standard relabel config for metrics.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.