package
0.75.2-rhobs1
Repository: https://github.com/rhobs/obo-prometheus-operator.git
Documentation: pkg.go.dev

# Functions

Resource takes an unqualified resource and returns a Group qualified GroupResource.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
Available indicates whether enough pods are ready to provide the service.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HTTPReloadStrategyType reloads the configuration using the /-/reload HTTP endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ProcessSignalReloadStrategyType reloads the configuration by sending a SIGHUP signal to the process.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Reconciled indicates whether the operator has reconciled the state of the underlying resources with the object's spec.
Automatically add a label selector that will select all pods matching the same Prometheus/PrometheusAgent resource (irrespective of their shards).
The valid options for Role.
The valid options for Role.
The valid options for Role.
The valid options for Role.
The valid options for Role.
The valid options for Role.
No description provided by the author
No description provided by the author
No description provided by the author
Automatically add a label selector that will select all pods matching the same shard.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
SchemeGroupVersion is the group version used to register these objects.

# Structs

AlertingSpec defines parameters for alerting configuration of Prometheus servers.
Alertmanager describes an Alertmanager cluster.
AlertmanagerConfigMatcherStrategy defines the strategy used by AlertmanagerConfig objects to match alerts.
AlertmanagerConfiguration defines the Alertmanager configuration.
AlertmanagerEndpoints defines a selection of a single Endpoints object containing Alertmanager IPs to fire alerts against.
AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts.
AlertmanagerList is a list of Alertmanagers.
AlertmanagerSpec is a specification of the desired behavior of the Alertmanager cluster.
AlertmanagerStatus is the most recent observed status of the Alertmanager cluster.
AlertmanagerWebSpec defines the web command line flags when starting Alertmanager.
APIServerConfig defines how the Prometheus server connects to the Kubernetes API server.
ArbitraryFSAccessThroughSMsConfig enables users to configure, whether a service monitor selected by the Prometheus instance is allowed to use arbitrary files on the file system of the Prometheus container.
Argument as part of the AdditionalArgs list.
No description provided by the author
No description provided by the author
AuthorizationValidationError is returned by Authorization.Validate() on semantically invalid configurations.
AzureAD defines the configuration for remote write's azuread parameters.
AzureOAuth defines the Azure OAuth settings.
AzureSDK is used to store azure SDK config values.
BasicAuth configures HTTP Basic Authentication settings.
CommonPrometheusFields are the options available to both the Prometheus server and agent.
Condition represents the state of the resources associated with the Prometheus, Alertmanager or ThanosRuler resource.
EmbeddedObjectMetadata contains a subset of the fields included in k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta Only fields which are relevant to embedded resources are included.
EmbeddedPersistentVolumeClaim is an embedded version of k8s.io/api/core/v1.PersistentVolumeClaim.
Endpoint defines an endpoint serving Prometheus metrics to be scraped by Prometheus.
No description provided by the author
GlobalSMTPConfig configures global SMTP parameters.
HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
HostPort represents a "host:port" network address.
HTTPConfig defines a client HTTP configuration.
ManagedIdentity defines the Azure User-assigned Managed identity.
MetadataConfig configures the sending of series metadata to the remote storage.
NamespaceSelector is a selector for selecting either all namespaces or a list of namespaces.
OAuth2 configures OAuth2 settings.
No description provided by the author
ObjectReference references a PodMonitor, ServiceMonitor, Probe or PrometheusRule object.
PodMetricsEndpoint defines an endpoint serving Prometheus metrics to be scraped by Prometheus.
PodMonitor defines monitoring for a set of pods.
PodMonitorList is a list of PodMonitors.
PodMonitorSpec contains specification parameters for a PodMonitor.
Probe defines monitoring for a set of static targets or ingresses.
ProbeList is a list of Probes.
ProberSpec contains specification parameters for the Prober used for probing.
ProbeSpec contains specification parameters for a Probe.
ProbeTargetIngress defines the set of Ingress objects considered for probing.
ProbeTargets defines how to discover the probed targets.
ProbeTargetStaticConfig defines the set of static targets considered for probing.
ProbeTargetsValidationError is returned by ProbeTargets.Validate() on semantically invalid configurations.
Prometheus defines a Prometheus deployment.
PrometheusList is a list of Prometheuses.
PrometheusRule defines recording and alerting rules for a Prometheus instance.
PrometheusRuleExcludeConfig enables users to configure excluded PrometheusRule names and their namespaces to be ignored while enforcing namespace label for alerts and metrics.
PrometheusRuleList is a list of PrometheusRules.
PrometheusRuleSpec contains specification parameters for a Rule.
PrometheusSpec is a specification of the desired behavior of the Prometheus cluster.
PrometheusStatus is the most recent observed status of the Prometheus cluster.
No description provided by the author
PrometheusWebSpec defines the configuration of the Prometheus web server.
No description provided by the author
QuerySpec defines the query command line flags when starting Prometheus.
QueueConfig allows the tuning of remote write's queue_config parameters.
RelabelConfig allows dynamic rewriting of the label set for targets, alerts, scraped samples and remote write samples.
RemoteReadSpec defines the configuration for Prometheus to read back samples from a remote endpoint.
RemoteWriteSpec defines the configuration to write samples from Prometheus to a remote endpoint.
Rule describes an alerting or recording rule See Prometheus documentation: [alerting](https://www.prometheus.io/docs/prometheus/latest/configuration/alerting_rules/) or [recording](https://www.prometheus.io/docs/prometheus/latest/configuration/recording_rules/#recording-rules) rule +k8s:openapi-gen=true.
RuleGroup is a list of sequentially evaluated recording and alerting rules.
+k8s:openapi-gen=true.
+k8s:openapi-gen=true.
SafeAuthorization specifies a subset of the Authorization struct, that is safe for use because it doesn't provide access to the Prometheus container's filesystem.
SafeTLSConfig specifies safe TLS configuration parameters.
No description provided by the author
SecretOrConfigMap allows to specify data as a Secret or ConfigMap.
ServiceMonitor defines monitoring for a set of services.
ServiceMonitorList is a list of ServiceMonitors.
ServiceMonitorSpec defines the specification parameters for a ServiceMonitor.
No description provided by the author
Sigv4 optionally configures AWS's Signature Verification 4 signing process to sign requests.
StorageSpec defines the configured storage for a group Prometheus servers.
ThanosRuler defines a ThanosRuler deployment.
ThanosRulerList is a list of ThanosRulers.
ThanosRulerSpec is a specification of the desired behavior of the ThanosRuler.
ThanosRulerStatus is the most recent observed status of the ThanosRuler.
ThanosRulerWebSpec defines the configuration of the ThanosRuler web server.
ThanosSpec defines the configuration of the Thanos sidecar.
TLSConfig extends the safe TLS configuration with file parameters.
No description provided by the author
No description provided by the author
WebConfigFileFields defines the file content for --web.config.file flag.
WebHTTPConfig defines HTTP parameters for web server.
WebHTTPHeaders defines the list of headers that can be added to HTTP responses.
WebTLSConfig defines the TLS parameters for HTTPS.

# Interfaces

PrometheusInterface is used by Prometheus and PrometheusAgent to share common methods, e.g.

# Type aliases

+kubebuilder:validation:Enum=OnResource;OnShard.
ByteSize is a valid memory size type based on powers-of-2, so 1KB is 1024B.
No description provided by the author
No description provided by the author
No description provided by the author
Duration is a valid time duration that can be parsed by Prometheus model.ParseDuration() function.
+kubebuilder:validation:MinLength:=1.
GoDuration is a valid time duration that can be parsed by Go's time.ParseDuration() function.
LabelName is a valid Prometheus label name which may only contain ASCII letters, numbers, as well as underscores.
NonEmptyDuration is a valid time duration that can be parsed by Prometheus model.ParseDuration() function.
+kubebuilder:validation:Enum=HTTP;ProcessSignal.
ScrapeProtocol represents a protocol used by Prometheus for scraping metrics.