ServiceLevelObjective is the Schema for the ServiceLevelObjectives API. Provides a Datadog service level objective resource. This can be used to create and manage Datadog service level objectives.
Type
CRD
Group
datadog.upbound.io
Version
v1alpha1
apiVersion: datadog.upbound.io/v1alpha1
kind: ServiceLevelObjective
ServiceLevelObjectiveSpec defines the desired state of ServiceLevelObjective
No description provided.
based SLOs A static set of groups to filter monitor-based SLOs
(Set of Number) A static set of monitor IDs to use as part of the SLO A static set of monitor IDs to use as part of the SLO
(Block List, Max: 1) The metric query of good / total events (see below for nested schema) The metric query of good / total events
(Block List, Max: 1) A map of SLI specifications to use as part of the SLO. (see below for nested schema) A map of SLI specifications to use as part of the SLO.
(Block List, Min: 1, Max: 1) The time slice condition, composed of 3 parts: 1. The timeseries query, 2. The comparator, and 3. The threshold. (see below for nested schema) The time slice condition, composed of 3 parts: 1. The timeseries query, 2. The comparator, and 3. The threshold.
(Block List, Max: 1) The metric query of good / total events (see below for nested schema) A timeseries query, containing named data-source-specific queries and a formula involving the named queries.
slice SLO. (see below for nested schema) A list that contains exactly one formula, as only a single formula may be used to define a timeseries query for a time-slice SLO.
(Block List, Max: 1) The metric query of good / total events (see below for nested schema) A list of data-source-specific queries that are in the formula.
(Block List, Max: 1) A timeseries formula and functions metrics query. (see below for nested schema) A timeseries formula and functions metrics query.
(Set of String) A list of tags to associate with your service level objective. This can help you categorize and filter service level objectives in the service level objectives page of the UI. Note: it's not currently possible to filter by these tags when querying via the API A list of tags to associate with your service level objective. This can help you categorize and filter service level objectives in the service level objectives page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
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.
based SLOs A static set of groups to filter monitor-based SLOs
(Set of Number) A static set of monitor IDs to use as part of the SLO A static set of monitor IDs to use as part of the SLO
(Block List, Max: 1) The metric query of good / total events (see below for nested schema) The metric query of good / total events
(Block List, Max: 1) A map of SLI specifications to use as part of the SLO. (see below for nested schema) A map of SLI specifications to use as part of the SLO.
(Block List, Min: 1, Max: 1) The time slice condition, composed of 3 parts: 1. The timeseries query, 2. The comparator, and 3. The threshold. (see below for nested schema) The time slice condition, composed of 3 parts: 1. The timeseries query, 2. The comparator, and 3. The threshold.
(Block List, Max: 1) The metric query of good / total events (see below for nested schema) A timeseries query, containing named data-source-specific queries and a formula involving the named queries.
slice SLO. (see below for nested schema) A list that contains exactly one formula, as only a single formula may be used to define a timeseries query for a time-slice SLO.
(Block List, Max: 1) The metric query of good / total events (see below for nested schema) A list of data-source-specific queries that are in the formula.
(Block List, Max: 1) A timeseries formula and functions metrics query. (see below for nested schema) A timeseries formula and functions metrics query.
(Set of String) A list of tags to associate with your service level objective. This can help you categorize and filter service level objectives in the service level objectives page of the UI. Note: it's not currently possible to filter by these tags when querying via the API A list of tags to associate with your service level objective. This can help you categorize and filter service level objectives in the service level objectives page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
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.
ServiceLevelObjectiveStatus defines the observed state of ServiceLevelObjective.
No description provided.
based SLOs A static set of groups to filter monitor-based SLOs
(Set of Number) A static set of monitor IDs to use as part of the SLO A static set of monitor IDs to use as part of the SLO
(Block List, Max: 1) The metric query of good / total events (see below for nested schema) The metric query of good / total events
(Block List, Max: 1) A map of SLI specifications to use as part of the SLO. (see below for nested schema) A map of SLI specifications to use as part of the SLO.
(Block List, Min: 1, Max: 1) The time slice condition, composed of 3 parts: 1. The timeseries query, 2. The comparator, and 3. The threshold. (see below for nested schema) The time slice condition, composed of 3 parts: 1. The timeseries query, 2. The comparator, and 3. The threshold.
(Block List, Max: 1) The metric query of good / total events (see below for nested schema) A timeseries query, containing named data-source-specific queries and a formula involving the named queries.
slice SLO. (see below for nested schema) A list that contains exactly one formula, as only a single formula may be used to define a timeseries query for a time-slice SLO.
(Block List, Max: 1) The metric query of good / total events (see below for nested schema) A list of data-source-specific queries that are in the formula.
(Block List, Max: 1) A timeseries formula and functions metrics query. (see below for nested schema) A timeseries formula and functions metrics query.
(Set of String) A list of tags to associate with your service level objective. This can help you categorize and filter service level objectives in the service level objectives page of the UI. Note: it's not currently possible to filter by these tags when querying via the API A list of tags to associate with your service level objective. This can help you categorize and filter service level objectives in the service level objectives page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
(Block List, Min: 1) A list of thresholds and targets that define the service level objectives from the provided SLIs. (see below for nested schema) A list of thresholds and targets that define the service level objectives from the provided SLIs.
Conditions of the resource.
slo-foo
apiVersion: datadog.upbound.io/v1alpha1
kind: ServiceLevelObjective
metadata:
annotations:
meta.upbound.io/example-id: datadog/v1alpha1/servicelevelobjective
labels:
testing.upbound.io/example-name: slo-foo
name: slo-foo
spec:
forProvider:
description: UXP created custom metric SLO
name: slo-foo
query:
- denominator: sum:my.custom.count.metric{*}.as_count()
numerator: sum:my.custom.count.metric{type:good_events}.as_count()
tags:
- foo:bar
- baz
targetThreshold: 99.9
thresholds:
- target: 99.9
timeframe: 7d
warning: 99.99
- target: 99.9
timeframe: 30d
warning: 99.99
timeframe: 30d
type: metric
warningThreshold: 99.99
slo-foo
apiVersion: datadog.upbound.io/v1alpha1
kind: ServiceLevelObjective
metadata:
annotations:
meta.upbound.io/example-id: datadog/v1alpha1/slocorrection
labels:
testing.upbound.io/example-name: slo_foo
name: slo-foo
spec:
forProvider:
description: UXP updated description about example_slo SLO
name: slo-foo
query:
- denominator: sum:my.metric{type:good}.as_count() +
sum:my.metric{type:bad}.as_count()
numerator: sum:my.metric{type:good}.as_count()
tags:
- foo:bar
thresholds:
- target: 99.5
timeframe: 7d
warning: 99.8
type: metric
© 2024 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.