You are viewing an outdated version of provider-datadog.Go to Latest
upbound/provider-datadog@v0.1.0
Monitor
datadog.upbound.io
Monitor
upbound/provider-datadog@v0.1.0datadog.upbound.io

Monitor is the Schema for the Monitors API. Provides a Datadog monitor resource. This can be used to create and manage Datadog monitors.

Type

CRD

Group

datadog.upbound.io

Version

v1alpha1

apiVersion: datadog.upbound.io/v1alpha1

kind: Monitor

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

MonitorSpec defines the desired state of Monitor

forProvider
requiredobject
requiredobject

No description provided.

locked
boolean
message
string
array

(Block List, Max: 1) A mapping containing recovery_window and trigger_window values, e.g. last_15m . Can only be used for, and are required for, anomaly monitors. (see below for nested schema) A mapping containing recovery_window and trigger_window values, e.g. last_15m . Can only be used for, and are required for, anomaly monitors.

array

(Block List, Max: 1) Alert thresholds of the monitor. (see below for nested schema) Alert thresholds of the monitor.

name
string
array

alert. Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor grouped by cluster, namespace, and pod can be configured to only notify on each new cluster violating the alert conditions by setting notify_by to ['cluster']. Tags mentioned in notify_by must be a subset of the grouping tags in the query. For example, a query grouped by cluster and namespace cannot notify on region. Setting notify_by to [*] configures the monitor to notify as a simple-alert.

priority
number
query
string
array

notification messages should be sent. Valid values are alert, warn, no data. The types of statuses for which re-notification messages should be sent. Valid values are alert, warn, no data.

array

(Set of String) A list of unique role identifiers to define which roles are allowed to edit the monitor. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. Roles unique identifiers can be pulled from the Roles API in the data.id field. A list of unique role identifiers to define which roles are allowed to edit the monitor. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. Roles unique identifiers can be pulled from the Roles API in the data.id field.

array

(Block List) Configuration options for scheduling. (see below for nested schema) Configuration options for scheduling.

array

(Block List) Configuration options for the custom schedules. If start is omitted, the monitor creation time will be used. (see below for nested schema) Configuration options for the custom schedules. If start is omitted, the monitor creation time will be used.

array

(Block List, Min: 1, Max: 1) A list of recurrence definitions. Length must be 1. (see below for nested schema) A list of recurrence definitions. Length must be 1.

rrule
string
start
string
timezone
string
array

(Block List) Configuration options for the evaluation window. If hour_starts is set, no other fields may be set. Otherwise, day_starts and month_starts must be set together. (see below for nested schema) Configuration options for the evaluation window. If hour_starts is set, no other fields may be set. Otherwise, day_starts and month_starts must be set together.

tags
array
array

(Set of String) A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors 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 monitor. This can help you categorize and filter monitors in the manage monitors page of the UI. Note: it's not currently possible to filter by these tags when querying via the API

timeoutH
number
type
string
validate
boolean
array

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

array

(Block List) A timeseries formula and functions events query. (see below for nested schema) A timeseries formula and functions events query.

compute
array
array

(Block List, Min: 1) The compute options. (see below for nested schema) The compute options.

interval
number
metric
string
groupBy
array
array

(Block List) Group by options. (see below for nested schema) Group by options.

facet
string
limit
number
sort
array
array

(Block List, Max: 1) The options for sorting group by results. (see below for nested schema) The options for sorting group by results.

metric
string
order
string
indexes
array
array

(List of String) An array of index names to query in the stream. An array of index names to query in the stream.

name
string
search
array
array

(Block List, Min: 1, Max: 1) The search options. (see below for nested schema) The search options.

query
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.

locked
boolean
message
string
array

(Block List, Max: 1) A mapping containing recovery_window and trigger_window values, e.g. last_15m . Can only be used for, and are required for, anomaly monitors. (see below for nested schema) A mapping containing recovery_window and trigger_window values, e.g. last_15m . Can only be used for, and are required for, anomaly monitors.

array

(Block List, Max: 1) Alert thresholds of the monitor. (see below for nested schema) Alert thresholds of the monitor.

name
string
array

alert. Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor grouped by cluster, namespace, and pod can be configured to only notify on each new cluster violating the alert conditions by setting notify_by to ['cluster']. Tags mentioned in notify_by must be a subset of the grouping tags in the query. For example, a query grouped by cluster and namespace cannot notify on region. Setting notify_by to [*] configures the monitor to notify as a simple-alert.

priority
number
query
string
array

notification messages should be sent. Valid values are alert, warn, no data. The types of statuses for which re-notification messages should be sent. Valid values are alert, warn, no data.

array

(Set of String) A list of unique role identifiers to define which roles are allowed to edit the monitor. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. Roles unique identifiers can be pulled from the Roles API in the data.id field. A list of unique role identifiers to define which roles are allowed to edit the monitor. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. Roles unique identifiers can be pulled from the Roles API in the data.id field.

array

(Block List) Configuration options for scheduling. (see below for nested schema) Configuration options for scheduling.

array

(Block List) Configuration options for the custom schedules. If start is omitted, the monitor creation time will be used. (see below for nested schema) Configuration options for the custom schedules. If start is omitted, the monitor creation time will be used.

array

(Block List, Min: 1, Max: 1) A list of recurrence definitions. Length must be 1. (see below for nested schema) A list of recurrence definitions. Length must be 1.

rrule
string
start
string
timezone
string
array

(Block List) Configuration options for the evaluation window. If hour_starts is set, no other fields may be set. Otherwise, day_starts and month_starts must be set together. (see below for nested schema) Configuration options for the evaluation window. If hour_starts is set, no other fields may be set. Otherwise, day_starts and month_starts must be set together.

tags
array
array

(Set of String) A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors 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 monitor. This can help you categorize and filter monitors in the manage monitors page of the UI. Note: it's not currently possible to filter by these tags when querying via the API

timeoutH
number
type
string
validate
boolean
array

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

array

(Block List) A timeseries formula and functions events query. (see below for nested schema) A timeseries formula and functions events query.

compute
array
array

(Block List, Min: 1) The compute options. (see below for nested schema) The compute options.

interval
number
metric
string
groupBy
array
array

(Block List) Group by options. (see below for nested schema) Group by options.

facet
string
limit
number
sort
array
array

(Block List, Max: 1) The options for sorting group by results. (see below for nested schema) The options for sorting group by results.

metric
string
order
string
indexes
array
array

(List of String) An array of index names to query in the stream. An array of index names to query in the stream.

name
string
search
array
array

(Block List, Min: 1, Max: 1) The search options. (see below for nested schema) The search options.

query
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

MonitorStatus defines the observed state of Monitor.

object

No description provided.

id
string
locked
boolean
message
string
array

(Block List, Max: 1) A mapping containing recovery_window and trigger_window values, e.g. last_15m . Can only be used for, and are required for, anomaly monitors. (see below for nested schema) A mapping containing recovery_window and trigger_window values, e.g. last_15m . Can only be used for, and are required for, anomaly monitors.

array

(Block List, Max: 1) Alert thresholds of the monitor. (see below for nested schema) Alert thresholds of the monitor.

name
string
array

alert. Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor grouped by cluster, namespace, and pod can be configured to only notify on each new cluster violating the alert conditions by setting notify_by to ['cluster']. Tags mentioned in notify_by must be a subset of the grouping tags in the query. For example, a query grouped by cluster and namespace cannot notify on region. Setting notify_by to [*] configures the monitor to notify as a simple-alert.

priority
number
query
string
array

notification messages should be sent. Valid values are alert, warn, no data. The types of statuses for which re-notification messages should be sent. Valid values are alert, warn, no data.

array

(Set of String) A list of unique role identifiers to define which roles are allowed to edit the monitor. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. Roles unique identifiers can be pulled from the Roles API in the data.id field. A list of unique role identifiers to define which roles are allowed to edit the monitor. Editing a monitor includes any updates to the monitor configuration, monitor deletion, and muting of the monitor for any amount of time. Roles unique identifiers can be pulled from the Roles API in the data.id field.

array

(Block List) Configuration options for scheduling. (see below for nested schema) Configuration options for scheduling.

array

(Block List) Configuration options for the custom schedules. If start is omitted, the monitor creation time will be used. (see below for nested schema) Configuration options for the custom schedules. If start is omitted, the monitor creation time will be used.

array

(Block List, Min: 1, Max: 1) A list of recurrence definitions. Length must be 1. (see below for nested schema) A list of recurrence definitions. Length must be 1.

rrule
string
start
string
timezone
string
array

(Block List) Configuration options for the evaluation window. If hour_starts is set, no other fields may be set. Otherwise, day_starts and month_starts must be set together. (see below for nested schema) Configuration options for the evaluation window. If hour_starts is set, no other fields may be set. Otherwise, day_starts and month_starts must be set together.

tags
array
array

(Set of String) A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors 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 monitor. This can help you categorize and filter monitors in the manage monitors page of the UI. Note: it's not currently possible to filter by these tags when querying via the API

timeoutH
number
type
string
validate
boolean
array

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

array

(Block List) A timeseries formula and functions events query. (see below for nested schema) A timeseries formula and functions events query.

compute
array
array

(Block List, Min: 1) The compute options. (see below for nested schema) The compute options.

interval
number
metric
string
groupBy
array
array

(Block List) Group by options. (see below for nested schema) Group by options.

facet
string
limit
number
sort
array
array

(Block List, Max: 1) The options for sorting group by results. (see below for nested schema) The options for sorting group by results.

metric
string
order
string
indexes
array
array

(List of String) An array of index names to query in the stream. An array of index names to query in the stream.

name
string
search
array
array

(Block List, Min: 1, Max: 1) The search options. (see below for nested schema) The search options.

query
string
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Discover the building blocks for your internal cloud platform.
© 2024 Upbound, Inc.
Solutions