Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-grafana.Go to Latest
grafana/provider-grafana@v0.13.2
SLO
slo.grafana.crossplane.io
SLO
grafana/provider-grafana@v0.13.2slo.grafana.crossplane.io

SLO is the Schema for the SLOs API. Resource manages Grafana SLOs. Official documentation https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/API documentation https://grafana.com/docs/grafana-cloud/alerting-and-irm/slo/api/Additional Information On Alerting Rule Annotations and Labels https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/#templating/

Type

CRD

Group

slo.grafana.crossplane.io

Version

v1alpha1

apiVersion: slo.grafana.crossplane.io/v1alpha1

kind: SLO

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

SLOSpec defines the desired state of SLO

forProvider
requiredobject
requiredobject

No description provided.

array

term error budget burn is very high, the long-term error budget burn rate is high, or when the remaining error budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema) Configures the alerting rules that will be generated for each time window associated with the SLO. Grafana SLOs can generate alerts when the short-term error budget burn is very high, the long-term error budget burn rate is high, or when the remaining error budget is below a certain threshold. Annotations and Labels support templating.

array

(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema) Annotations will be attached to all alerts generated by any of these rules.

key
string
value
string
array

(Block List, Max: 1) Alerting Rules generated for Fast Burn alerts (see below for nested schema) Alerting Rules generated for Fast Burn alerts

array

(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema) Annotations to attach only to Fast Burn alerts.

key
string
value
string
label
array
array

"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema) Labels to attach only to Fast Burn alerts.

key
string
value
string
label
array
array

"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema) Labels will be attached to all alerts generated by any of these rules.

key
string
value
string
array

(Block List, Max: 1) Alerting Rules generated for Slow Burn alerts (see below for nested schema) Alerting Rules generated for Slow Burn alerts

array

(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema) Annotations to attach only to Slow Burn alerts.

key
string
value
string
label
array
array

"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema) Labels to attach only to Slow Burn alerts.

key
string
value
string
array

(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) Destination Datasource sets the datasource defined for an SLO

ref
object
object

Reference to a DataSource in oss to populate uid.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
selector
object
object

Selector for a DataSource in oss to populate uid.

policy
object
object

Policies for selection.

resolve
string
uid
string
label
array
array

"^[a-zA-Z_][a-zA-Z0-9_]$" (see below for nested schema) Additional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]$"

key
string
value
string
name
string
array

(Block List, Min: 1) Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget. (see below for nested schema) Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.

value
number
window
string
query
array
array

(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported.

array

(Block List, Max: 1) (see below for nested schema)

query
string
ratio
array
array

(Block List, Max: 1) (see below for nested schema)

array

label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]$" Defines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]$"

type
string
object

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.

array

term error budget burn is very high, the long-term error budget burn rate is high, or when the remaining error budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema) Configures the alerting rules that will be generated for each time window associated with the SLO. Grafana SLOs can generate alerts when the short-term error budget burn is very high, the long-term error budget burn rate is high, or when the remaining error budget is below a certain threshold. Annotations and Labels support templating.

array

(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema) Annotations will be attached to all alerts generated by any of these rules.

key
string
value
string
array

(Block List, Max: 1) Alerting Rules generated for Fast Burn alerts (see below for nested schema) Alerting Rules generated for Fast Burn alerts

array

(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema) Annotations to attach only to Fast Burn alerts.

key
string
value
string
label
array
array

"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema) Labels to attach only to Fast Burn alerts.

key
string
value
string
label
array
array

"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema) Labels will be attached to all alerts generated by any of these rules.

key
string
value
string
array

(Block List, Max: 1) Alerting Rules generated for Slow Burn alerts (see below for nested schema) Alerting Rules generated for Slow Burn alerts

array

(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema) Annotations to attach only to Slow Burn alerts.

key
string
value
string
label
array
array

"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema) Labels to attach only to Slow Burn alerts.

key
string
value
string
array

(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) Destination Datasource sets the datasource defined for an SLO

ref
object
object

Reference to a DataSource in oss to populate uid.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
selector
object
object

Selector for a DataSource in oss to populate uid.

policy
object
object

Policies for selection.

resolve
string
uid
string
label
array
array

"^[a-zA-Z_][a-zA-Z0-9_]$" (see below for nested schema) Additional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]$"

key
string
value
string
name
string
array

(Block List, Min: 1) Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget. (see below for nested schema) Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.

value
number
window
string
query
array
array

(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported.

array

(Block List, Max: 1) (see below for nested schema)

query
string
ratio
array
array

(Block List, Max: 1) (see below for nested schema)

array

label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]$" Defines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]$"

type
string
array

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

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

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.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

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.

name
requiredstring
namespace
requiredstring
status
object
object

SLOStatus defines the observed state of SLO.

object

No description provided.

array

term error budget burn is very high, the long-term error budget burn rate is high, or when the remaining error budget is below a certain threshold. Annotations and Labels support templating. (see below for nested schema) Configures the alerting rules that will be generated for each time window associated with the SLO. Grafana SLOs can generate alerts when the short-term error budget burn is very high, the long-term error budget burn rate is high, or when the remaining error budget is below a certain threshold. Annotations and Labels support templating.

array

(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema) Annotations will be attached to all alerts generated by any of these rules.

key
string
value
string
array

(Block List, Max: 1) Alerting Rules generated for Fast Burn alerts (see below for nested schema) Alerting Rules generated for Fast Burn alerts

array

(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema) Annotations to attach only to Fast Burn alerts.

key
string
value
string
label
array
array

"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema) Labels to attach only to Fast Burn alerts.

key
string
value
string
label
array
array

"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema) Labels will be attached to all alerts generated by any of these rules.

key
string
value
string
array

(Block List, Max: 1) Alerting Rules generated for Slow Burn alerts (see below for nested schema) Alerting Rules generated for Slow Burn alerts

array

(Block List) Annotations will be attached to all alerts generated by any of these rules. (see below for nested schema) Annotations to attach only to Slow Burn alerts.

key
string
value
string
label
array
array

"^[a-zA-Z_][a-zA-Z0-9_]*$" (see below for nested schema) Labels to attach only to Slow Burn alerts.

key
string
value
string
array

(Block List, Max: 1) Destination Datasource sets the datasource defined for an SLO (see below for nested schema) Destination Datasource sets the datasource defined for an SLO

uid
string
id
string
label
array
array

"^[a-zA-Z_][a-zA-Z0-9_]$" (see below for nested schema) Additional labels that will be attached to all metrics generated from the query. These labels are useful for grouping SLOs in dashboard views that you create by hand. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]$"

key
string
value
string
name
string
array

(Block List, Min: 1) Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget. (see below for nested schema) Over each rolling time window, the remaining error budget will be calculated, and separate alerts can be generated for each time window based on the SLO burn rate or remaining error budget.

value
number
window
string
query
array
array

(Block List, Min: 1) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported. (see below for nested schema) Query describes the indicator that will be measured against the objective. Freeform Query types are currently supported.

array

(Block List, Max: 1) (see below for nested schema)

query
string
ratio
array
array

(Block List, Max: 1) (see below for nested schema)

array

label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]$" Defines Group By Labels used for per-label alerting. These appear as variables on SLO dashboards to enable filtering and aggregation. Labels must adhere to Prometheus label name schema - "^[a-zA-Z_][a-zA-Z0-9_]$"

type
string
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.