Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { client.Client upsert.CreateOrUpdateProvider record.EventRecorder Namespace string // contains filtered or unexported fields }
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
type RemoteWriteSpec ¶
type RemoteWriteSpec struct { // The URL of the endpoint to send samples to. URL string `json:"url"` // The name of the remote write queue, must be unique if specified. The // name is used in metrics and logging in order to differentiate queues. // Only valid in Prometheus versions 2.15.0 and newer. Name string `json:"name,omitempty"` // Timeout for requests to the remote write endpoint. RemoteTimeout string `json:"remoteTimeout,omitempty"` // Custom HTTP headers to be sent along with each remote write request. // Be aware that headers that are set by Prometheus itself can't be overwritten. // Only valid in Prometheus versions 2.25.0 and newer. Headers map[string]string `json:"headers,omitempty"` // The list of remote write relabel configurations. WriteRelabelConfigs []monv1.RelabelConfig `json:"writeRelabelConfigs,omitempty"` // BasicAuth for the URL. BasicAuth *monv1.BasicAuth `json:"basicAuth,omitempty"` // Bearer token for remote write. BearerTokenFile string `json:"bearerTokenFile,omitempty"` // Authorization section for remote write Authorization *monv1.SafeAuthorization `json:"authorization,omitempty"` // Sigv4 allows to configures AWS's Signature Verification 4 Sigv4 *monv1.Sigv4 `json:"sigv4,omitempty"` // TLS Config to use for remote write. TLSConfig *monv1.SafeTLSConfig `json:"tlsConfig,omitempty"` // Optional ProxyURL ProxyURL string `json:"proxyUrl,omitempty"` // QueueConfig allows tuning of the remote write queue parameters. QueueConfig *monv1.QueueConfig `json:"queueConfig,omitempty"` // MetadataConfig configures the sending of series metadata to remote storage. MetadataConfig *monv1.MetadataConfig `json:"metadataConfig,omitempty"` // OAuth2 configures OAuth2 authentication for remote write. OAuth2 *monv1.OAuth2 `json:"oauth2,omitempty"` }
RemoteWriteSpec is used for serializing the remote write configuration Copied from: https://github.com/openshift/cluster-monitoring-operator/blob/838a238342b2b1ab5c99a18bd271a7b15a1acbd1/pkg/manifests/config.go#L153-L188
Click to show internal directories.
Click to hide internal directories.