Check is the Schema for the Checks API. Synthetic Monitoring checks are tests that run on selected probes at defined intervals and report metrics and logs back to your Grafana Cloud account. The target for checks can be a domain name, a server, or a website, depending on what information you would like to gather about your endpoint. You can define multiple checks for a single endpoint to check different capabilities. Official documentation https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/
Type
CRD
Group
sm.grafana.crossplane.io
Version
v1alpha1
apiVersion: sm.grafana.crossplane.io/v1alpha1
kind: Check
CheckSpec defines the desired state of Check
No description provided.
(Set of Number) List of probe location IDs where this target will be checked from. List of probe location IDs where this target will be checked from.
(Block Set, Min: 1, Max: 1) Check settings. Should contain exactly one nested block. (see below for nested schema) Check settings. Should contain exactly one nested block.
(Block Set, Max: 1) Settings for DNS check. The target must be a valid hostname (or IP address for PTR records). (see below for nested schema)
Settings for DNS check. The target must be a valid hostname (or IP address for PTR
records).
(Set of String) List of valid response codes. Options include NOERROR, BADALG, BADMODE, BADKEY, BADCOOKIE, BADNAME, BADSIG, BADTIME, BADTRUNC, BADVERS, FORMERR, NOTIMP, NOTAUTH, NOTZONE, NXDOMAIN, NXRRSET, REFUSED, SERVFAIL, YXDOMAIN, YXRRSET.
List of valid response codes. Options include NOERROR
, BADALG
, BADMODE
, BADKEY
, BADCOOKIE
, BADNAME
, BADSIG
, BADTIME
, BADTRUNC
, BADVERS
, FORMERR
, NOTIMP
, NOTAUTH
, NOTZONE
, NXDOMAIN
, NXRRSET
, REFUSED
, SERVFAIL
, YXDOMAIN
, YXRRSET
.
(Block Set) Validate additional matches. (see below for nested schema) Validate additional matches.
(Set of String) Fail if value matches regex. Fail if value matches regex.
(Set of String) Fail if value does not match regex. Fail if value does not match regex.
(Block Set, Max: 1) Validate response answer. (see below for nested schema) Validate response answer.
(Set of String) Fail if value matches regex. Fail if value matches regex.
(Set of String) Fail if value does not match regex. Fail if value does not match regex.
(Block Set, Max: 1) Validate response authority. (see below for nested schema) Validate response authority.
(Set of String) Fail if value matches regex. Fail if value matches regex.
(Set of String) Fail if value does not match regex. Fail if value does not match regex.
(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)
Settings for gRPC Health check. The target must be of the form <host>:<port>
, where the host portion must be a valid hostname or IP address.
(Block Set, Max: 1) TLS config. (see below for nested schema) TLS config.
(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema) Settings for HTTP check. The target must be a URL (http or https).
(Set of String) List of regexes. If any match the response body, the check will fail. List of regexes. If any match the response body, the check will fail.
(Set of String) List of regexes. If any do not match the response body, the check will fail. List of regexes. If any do not match the response body, the check will fail.
(Block Set) Check fails if headers match. (see below for nested schema) Check fails if headers match.
(Block Set) Check fails if headers do not match. (see below for nested schema) Check fails if headers do not match.
(Set of String) The HTTP headers set for the probe. The HTTP headers set for the probe.
(Set of String) The HTTP headers sent to the proxy URL The HTTP headers sent to the proxy URL
(Block Set, Max: 1) TLS config. (see below for nested schema) TLS config.
(Set of String) List of valid HTTP versions. Options include HTTP/1.0, HTTP/1.1, HTTP/2.0
List of valid HTTP versions. Options include HTTP/1.0
, HTTP/1.1
, HTTP/2.0
(Set of Number) Accepted status codes. If unset, defaults to 2xx. Accepted status codes. If unset, defaults to 2xx.
(Block Set, Max: 1) Settings for MultiHTTP check. The target must be a URL (http or https) (see below for nested schema) Settings for MultiHTTP check. The target must be a URL (http or https)
(Block List) (see below for nested schema)
(Block List) Assertions to make on the request response (see below for nested schema) Assertions to make on the request response
(Block Set, Max: 1) An individual MultiHTTP request (see below for nested schema) An individual MultiHTTP request
(String) The body of the HTTP request used in probe. The body of the HTTP request used in probe.
(Block List) Variables to extract from the request response (see below for nested schema) Variables to extract from the request response
(Block Set, Max: 1) Settings for ping (ICMP) check. The target must be a valid hostname or IP address. (see below for nested schema) Settings for ping (ICMP) check. The target must be a valid hostname or IP address.
cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema) Settings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.
(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)
Settings for TCP check. The target must be of the form <host>:<port>
, where the host portion must be a valid hostname or IP address.
(Block Set, Max: 1) TLS config. (see below for nested schema) TLS config.
(Block Set, Max: 1) Settings for traceroute check. The target must be a valid hostname or IP address (see below for nested schema) Settings for traceroute check. The target must be a valid hostname or IP address
THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.
(Set of Number) List of probe location IDs where this target will be checked from. List of probe location IDs where this target will be checked from.
(Block Set, Min: 1, Max: 1) Check settings. Should contain exactly one nested block. (see below for nested schema) Check settings. Should contain exactly one nested block.
(Block Set, Max: 1) Settings for DNS check. The target must be a valid hostname (or IP address for PTR records). (see below for nested schema)
Settings for DNS check. The target must be a valid hostname (or IP address for PTR
records).
(Set of String) List of valid response codes. Options include NOERROR, BADALG, BADMODE, BADKEY, BADCOOKIE, BADNAME, BADSIG, BADTIME, BADTRUNC, BADVERS, FORMERR, NOTIMP, NOTAUTH, NOTZONE, NXDOMAIN, NXRRSET, REFUSED, SERVFAIL, YXDOMAIN, YXRRSET.
List of valid response codes. Options include NOERROR
, BADALG
, BADMODE
, BADKEY
, BADCOOKIE
, BADNAME
, BADSIG
, BADTIME
, BADTRUNC
, BADVERS
, FORMERR
, NOTIMP
, NOTAUTH
, NOTZONE
, NXDOMAIN
, NXRRSET
, REFUSED
, SERVFAIL
, YXDOMAIN
, YXRRSET
.
(Block Set) Validate additional matches. (see below for nested schema) Validate additional matches.
(Set of String) Fail if value matches regex. Fail if value matches regex.
(Set of String) Fail if value does not match regex. Fail if value does not match regex.
(Block Set, Max: 1) Validate response answer. (see below for nested schema) Validate response answer.
(Set of String) Fail if value matches regex. Fail if value matches regex.
(Set of String) Fail if value does not match regex. Fail if value does not match regex.
(Block Set, Max: 1) Validate response authority. (see below for nested schema) Validate response authority.
(Set of String) Fail if value matches regex. Fail if value matches regex.
(Set of String) Fail if value does not match regex. Fail if value does not match regex.
(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)
Settings for gRPC Health check. The target must be of the form <host>:<port>
, where the host portion must be a valid hostname or IP address.
(Block Set, Max: 1) TLS config. (see below for nested schema) TLS config.
(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema) Settings for HTTP check. The target must be a URL (http or https).
(Set of String) List of regexes. If any match the response body, the check will fail. List of regexes. If any match the response body, the check will fail.
(Set of String) List of regexes. If any do not match the response body, the check will fail. List of regexes. If any do not match the response body, the check will fail.
(Block Set) Check fails if headers match. (see below for nested schema) Check fails if headers match.
(Block Set) Check fails if headers do not match. (see below for nested schema) Check fails if headers do not match.
(Set of String) The HTTP headers set for the probe. The HTTP headers set for the probe.
(Set of String) The HTTP headers sent to the proxy URL The HTTP headers sent to the proxy URL
(Block Set, Max: 1) TLS config. (see below for nested schema) TLS config.
(Set of String) List of valid HTTP versions. Options include HTTP/1.0, HTTP/1.1, HTTP/2.0
List of valid HTTP versions. Options include HTTP/1.0
, HTTP/1.1
, HTTP/2.0
(Set of Number) Accepted status codes. If unset, defaults to 2xx. Accepted status codes. If unset, defaults to 2xx.
(Block Set, Max: 1) Settings for MultiHTTP check. The target must be a URL (http or https) (see below for nested schema) Settings for MultiHTTP check. The target must be a URL (http or https)
(Block List) (see below for nested schema)
(Block List) Assertions to make on the request response (see below for nested schema) Assertions to make on the request response
(Block Set, Max: 1) An individual MultiHTTP request (see below for nested schema) An individual MultiHTTP request
(String) The body of the HTTP request used in probe. The body of the HTTP request used in probe.
(Block List) Variables to extract from the request response (see below for nested schema) Variables to extract from the request response
(Block Set, Max: 1) Settings for ping (ICMP) check. The target must be a valid hostname or IP address. (see below for nested schema) Settings for ping (ICMP) check. The target must be a valid hostname or IP address.
cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema) Settings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.
(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)
Settings for TCP check. The target must be of the form <host>:<port>
, where the host portion must be a valid hostname or IP address.
(Block Set, Max: 1) TLS config. (see below for nested schema) TLS config.
(Block Set, Max: 1) Settings for traceroute check. The target must be a valid hostname or IP address (see below for nested schema) Settings for traceroute check. The target must be a valid hostname or IP address
THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
CheckStatus defines the observed state of Check.
No description provided.
(Set of Number) List of probe location IDs where this target will be checked from. List of probe location IDs where this target will be checked from.
(Block Set, Min: 1, Max: 1) Check settings. Should contain exactly one nested block. (see below for nested schema) Check settings. Should contain exactly one nested block.
(Block Set, Max: 1) Settings for DNS check. The target must be a valid hostname (or IP address for PTR records). (see below for nested schema)
Settings for DNS check. The target must be a valid hostname (or IP address for PTR
records).
(Set of String) List of valid response codes. Options include NOERROR, BADALG, BADMODE, BADKEY, BADCOOKIE, BADNAME, BADSIG, BADTIME, BADTRUNC, BADVERS, FORMERR, NOTIMP, NOTAUTH, NOTZONE, NXDOMAIN, NXRRSET, REFUSED, SERVFAIL, YXDOMAIN, YXRRSET.
List of valid response codes. Options include NOERROR
, BADALG
, BADMODE
, BADKEY
, BADCOOKIE
, BADNAME
, BADSIG
, BADTIME
, BADTRUNC
, BADVERS
, FORMERR
, NOTIMP
, NOTAUTH
, NOTZONE
, NXDOMAIN
, NXRRSET
, REFUSED
, SERVFAIL
, YXDOMAIN
, YXRRSET
.
(Block Set) Validate additional matches. (see below for nested schema) Validate additional matches.
(Set of String) Fail if value matches regex. Fail if value matches regex.
(Set of String) Fail if value does not match regex. Fail if value does not match regex.
(Block Set, Max: 1) Validate response answer. (see below for nested schema) Validate response answer.
(Set of String) Fail if value matches regex. Fail if value matches regex.
(Set of String) Fail if value does not match regex. Fail if value does not match regex.
(Block Set, Max: 1) Validate response authority. (see below for nested schema) Validate response authority.
(Set of String) Fail if value matches regex. Fail if value matches regex.
(Set of String) Fail if value does not match regex. Fail if value does not match regex.
(Block Set, Max: 1) Settings for gRPC Health check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)
Settings for gRPC Health check. The target must be of the form <host>:<port>
, where the host portion must be a valid hostname or IP address.
(Block Set, Max: 1) Settings for HTTP check. The target must be a URL (http or https). (see below for nested schema) Settings for HTTP check. The target must be a URL (http or https).
(Set of String) List of regexes. If any match the response body, the check will fail. List of regexes. If any match the response body, the check will fail.
(Set of String) List of regexes. If any do not match the response body, the check will fail. List of regexes. If any do not match the response body, the check will fail.
(Block Set) Check fails if headers match. (see below for nested schema) Check fails if headers match.
(Block Set) Check fails if headers do not match. (see below for nested schema) Check fails if headers do not match.
(Set of String) The HTTP headers set for the probe. The HTTP headers set for the probe.
(Set of String) The HTTP headers sent to the proxy URL The HTTP headers sent to the proxy URL
(Block Set, Max: 1) TLS config. (see below for nested schema) TLS config.
(Set of String) List of valid HTTP versions. Options include HTTP/1.0, HTTP/1.1, HTTP/2.0
List of valid HTTP versions. Options include HTTP/1.0
, HTTP/1.1
, HTTP/2.0
(Set of Number) Accepted status codes. If unset, defaults to 2xx. Accepted status codes. If unset, defaults to 2xx.
(Block Set, Max: 1) Settings for MultiHTTP check. The target must be a URL (http or https) (see below for nested schema) Settings for MultiHTTP check. The target must be a URL (http or https)
(Block List) (see below for nested schema)
(Block List) Assertions to make on the request response (see below for nested schema) Assertions to make on the request response
(Block Set, Max: 1) An individual MultiHTTP request (see below for nested schema) An individual MultiHTTP request
(String) The body of the HTTP request used in probe. The body of the HTTP request used in probe.
(Block List) Variables to extract from the request response (see below for nested schema) Variables to extract from the request response
(Block Set, Max: 1) Settings for ping (ICMP) check. The target must be a valid hostname or IP address. (see below for nested schema) Settings for ping (ICMP) check. The target must be a valid hostname or IP address.
cloud/testing/synthetic-monitoring/create-checks/checks/k6/. (see below for nested schema) Settings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.
(Block Set, Max: 1) Settings for TCP check. The target must be of the form :, where the host portion must be a valid hostname or IP address. (see below for nested schema)
Settings for TCP check. The target must be of the form <host>:<port>
, where the host portion must be a valid hostname or IP address.
(Block Set, Max: 1) TLS config. (see below for nested schema) TLS config.
(Block Set, Max: 1) Settings for traceroute check. The target must be a valid hostname or IP address (see below for nested schema) Settings for traceroute check. The target must be a valid hostname or IP address
Conditions of the resource.
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.