Documentation ¶
Index ¶
- Constants
- func CVORelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
- func CatalogOperatorRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
- func ControlPlaneOperatorRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
- func EtcdRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
- func HostedClusterConfigOperatorRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
- func KASRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
- func KCMRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
- func MetricsSetToEnv(set MetricsSet) corev1.EnvVar
- func NTORelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
- func OLMRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
- func OpenShiftAPIServerRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
- func OpenShiftControllerManagerRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
- func OpenShiftRouteControllerManagerRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
- func RegistryOperatorRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
- type MetricsSet
- type PlatformMonitoring
Constants ¶
View Source
const (
DefaultMetricsSet = MetricsSetTelemetry
)
Variables ¶
This section is empty.
Functions ¶
func CVORelabelConfigs ¶
func CVORelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
func CatalogOperatorRelabelConfigs ¶
func CatalogOperatorRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
func ControlPlaneOperatorRelabelConfigs ¶
func ControlPlaneOperatorRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
func EtcdRelabelConfigs ¶
func EtcdRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
func HostedClusterConfigOperatorRelabelConfigs ¶
func HostedClusterConfigOperatorRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
func KASRelabelConfigs ¶
func KASRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
func KCMRelabelConfigs ¶
func KCMRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
func MetricsSetToEnv ¶
func MetricsSetToEnv(set MetricsSet) corev1.EnvVar
func NTORelabelConfigs ¶
func NTORelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
func OLMRelabelConfigs ¶
func OLMRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
func OpenShiftAPIServerRelabelConfigs ¶
func OpenShiftAPIServerRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
func OpenShiftControllerManagerRelabelConfigs ¶
func OpenShiftControllerManagerRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
func OpenShiftRouteControllerManagerRelabelConfigs ¶
func OpenShiftRouteControllerManagerRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
func RegistryOperatorRelabelConfigs ¶
func RegistryOperatorRelabelConfigs(set MetricsSet) []*prometheusoperatorv1.RelabelConfig
Types ¶
type MetricsSet ¶
type MetricsSet string
const ( MetricsSetTelemetry MetricsSet = "Telemetry" MetricsSetSRE MetricsSet = "SRE" MetricsSetAll MetricsSet = "All" )
func MetricsSetFromEnv ¶
func MetricsSetFromEnv() (MetricsSet, error)
func MetricsSetFromString ¶
func MetricsSetFromString(str string) (MetricsSet, error)
func (*MetricsSet) Set ¶
func (s *MetricsSet) Set(value string) error
func (*MetricsSet) String ¶
func (s *MetricsSet) String() string
func (*MetricsSet) Type ¶
func (s *MetricsSet) Type() string
type PlatformMonitoring ¶
type PlatformMonitoring string
PlatformMonitoring is used to indicate which metrics will be scraped by the management cluster's platform monitoring stack: - OperatorOnly indicates that only the hypershift operator will be scraped - All indicates that the hypershift operator and any control planes created by it will be scraped - None indicates that neither operator nor control planes will be scraped
var ( PlatformMonitoringOperatorOnly PlatformMonitoring = "OperatorOnly" PlatformMonitoringAll PlatformMonitoring = "All" PlatformMonitoringNone PlatformMonitoring = "None" )
func (*PlatformMonitoring) IsEnabled ¶
func (o *PlatformMonitoring) IsEnabled() bool
func (*PlatformMonitoring) Set ¶
func (o *PlatformMonitoring) Set(value string) error
func (*PlatformMonitoring) String ¶
func (o *PlatformMonitoring) String() string
func (*PlatformMonitoring) Type ¶
func (o *PlatformMonitoring) Type() string
Click to show internal directories.
Click to hide internal directories.