Probe defines monitoring for a set of static targets or ingresses.
Last changed in Prometheus Operator v0.49.0
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Specification of desired Ingress selection for target discovery by Prometheus.
BasicAuth allow an endpoint to authenticate over basic authentication. More info: https://prometheus.io/docs/operating/configuration/#endpoint
The secret in the service monitor namespace that contains the password for authentication.
The key of the secret to select from. Must be a valid secret key.
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
Specify whether the Secret or its key must be defined
The secret in the service monitor namespace that contains the username for authentication.
The key of the secret to select from. Must be a valid secret key.
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
Specify whether the Secret or its key must be defined
Secret to mount to read bearer token for scraping targets. The secret needs to be in the same namespace as the probe and accessible by the Prometheus Operator.
The key of the secret to select from. Must be a valid secret key.
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
Specify whether the Secret or its key must be defined
Interval at which targets are probed using the configured prober. If not specified Prometheus' global scrape interval is used.
The job name assigned to scraped metrics by default.
The module to use for probing specifying how to probe the target. Example module configuring in the blackbox exporter: https://github.com/prometheus/blackbox_exporter/blob/master/example.yml
Specification for the prober to use for probing targets. The prober.URL parameter is required. Targets cannot be probed if left empty.
Path to collect metrics from. Defaults to `/probe`.
Optional ProxyURL.
HTTP scheme to use for scraping. Defaults to `http`.
Mandatory URL of the prober.
Timeout for scraping metrics from the Prometheus exporter.
Targets defines a set of static and/or dynamically discovered targets to be probed using the prober.
Ingress defines the set of dynamically discovered ingress objects which hosts are considered for probing.
Select Ingress objects by namespace.
Boolean describing whether all namespaces are selected in contrast to a list restricting them.
List of namespace names.
RelabelConfigs to apply to samples before ingestion. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
Action to perform based on regex matching. Default is 'replace'
Modulus to take of the hash of the source label values.
Regular expression against which the extracted value is matched. Default is '(.*)'
Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. Default is '$1'
Separator placed between concatenated source label values. default is ';'.
The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions.
Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available.
Select Ingress objects by labels.
matchExpressions is a list of label selector requirements. The requirements are ANDed.
key is the label key that the selector applies to.
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
StaticConfig defines static targets which are considers for probing. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#static_config.
Labels assigned to all metrics scraped from the targets.
RelabelConfigs to apply to samples before ingestion. More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
Action to perform based on regex matching. Default is 'replace'
Modulus to take of the hash of the source label values.
Regular expression against which the extracted value is matched. Default is '(.*)'
Replacement value against which a regex replace is performed if the regular expression matches. Regex capture groups are available. Default is '$1'
Separator placed between concatenated source label values. default is ';'.
The source labels select values from existing labels. Their content is concatenated using the configured separator and matched against the configured regular expression for the replace, keep, and drop actions.
Label to which the resulting value is written in a replace action. It is mandatory for replace actions. Regex capture groups are available.
Targets is a list of URLs to probe using the configured prober.
TLS configuration to use when scraping the endpoint.
Struct containing the CA cert to use for the targets.
ConfigMap containing data to use for the targets.
The key to select.
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
Specify whether the ConfigMap or its key must be defined
Secret containing data to use for the targets.
The key of the secret to select from. Must be a valid secret key.
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
Specify whether the Secret or its key must be defined
Struct containing the client cert file for the targets.
ConfigMap containing data to use for the targets.
The key to select.
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
Specify whether the ConfigMap or its key must be defined
Secret containing data to use for the targets.
The key of the secret to select from. Must be a valid secret key.
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
Specify whether the Secret or its key must be defined
Disable target certificate validation.
Secret containing the client key file for the targets.
The key of the secret to select from. Must be a valid secret key.
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?
Specify whether the Secret or its key must be defined
Used to verify the hostname for the targets.
Source: bundle.yaml
Changes to Probe (monitoring.coreos.com/v1) in each Prometheus Operator version, compared to the version before it.
1 property has been added
Released · View Probe in v0.49.0
3 properties have been added
Released · View Probe in v0.47.0
1 property has been added
Released · View Probe in v0.46.0
Probe was first seen on this version of Prometheus Operator
Released · View Probe in v0.41.0
No examples of Probe yet. Contribute one on GitHub.