Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32587,6 +32587,80 @@ components:
- bucket_name
- bucket_region
type: object
DataObservabilityMonitorGroupByValues:
additionalProperties:
type: string
description: The values of the monitor's group-by columns for this group. `N/A` means the column had no value.
example:
region: us
type: object
DataObservabilityMonitorGroupStatus:
description: The state of a monitor group, from the alerting engine.
enum:
- ok
- warn
- alert
- no_data
- unknown
example: alert
type: string
x-enum-varnames:
- OK
- WARN
- ALERT
- NO_DATA
- UNKNOWN
DataObservabilityMonitorRunGroup:
description: A monitor group that is not ok after a run.
properties:
account:
description: The account of the entity, when the platform has one.
example: acme
type: string
column:
description: The column of the entity, when it is a column.
example: AMOUNT
type: string
database:
description: The database of the entity.
example: ANALYTICS
type: string
entity_id:
description: The ID of the table or column the group checks.
example: "84a88e0d362ce9fc"
type: string
entity_type:
description: The type of the entity, such as table or column.
example: table
type: string
group:
description: The group's name in Datadog monitors, as the monitor API and UI show it. Pass it as `filter[group]` to list the group's evaluations.
example: "database:analytics,entity_id:84a88e0d362ce9fc,schema:public,table:orders"
type: string
group_by_values:
$ref: "#/components/schemas/DataObservabilityMonitorGroupByValues"
platform:
description: The data platform of the entity.
example: snowflake
type: string
schema:
description: The schema of the entity, when it has one.
example: PUBLIC
type: string
status:
$ref: "#/components/schemas/DataObservabilityMonitorGroupStatus"
table:
description: The table of the entity, when it is a table or column.
example: ORDERS
type: string
required:
- group
- entity_id
- entity_type
- platform
- database
- status
type: object
DataObservabilityMonitorRunStatus:
description: The status of a data observability monitor run.
enum:
Expand Down Expand Up @@ -55909,6 +55983,21 @@ components:
description: Error message describing why the monitor run failed. Only present when status is error.
example: "run completed but produced no metric data"
type: string
group_counts:
additionalProperties:
format: int64
type: integer
description: The number of the monitor's groups in each state, once the run has finished.
example:
alert: 1
ok: 12
type: object
groups:
description: The first 1,000 of the monitor's groups that are not ok, once the run has finished. List the monitor's groups for all of them.
items:
$ref: "#/components/schemas/DataObservabilityMonitorRunGroup"
maxItems: 1000
type: array
status:
$ref: "#/components/schemas/DataObservabilityMonitorRunStatus"
required:
Expand Down
2 changes: 2 additions & 0 deletions lib/datadog_api_client/inflector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2979,6 +2979,8 @@ def overrides
"v2.datadog_integration_type" => "DatadogIntegrationType",
"v2.datadog_integration_update" => "DatadogIntegrationUpdate",
"v2.data_export_config" => "DataExportConfig",
"v2.data_observability_monitor_group_status" => "DataObservabilityMonitorGroupStatus",
"v2.data_observability_monitor_run_group" => "DataObservabilityMonitorRunGroup",
"v2.data_observability_monitor_run_status" => "DataObservabilityMonitorRunStatus",
"v2.data_observability_monitor_run_type" => "DataObservabilityMonitorRunType",
"v2.data_relationships_teams" => "DataRelationshipsTeams",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
=begin
#Datadog API V2 Collection

#Collection of all Datadog Public endpoints.

The version of the OpenAPI document: 1.0
Contact: support@datadoghq.com
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator

Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
This product includes software developed at Datadog (https://www.datadoghq.com/).
Copyright 2020-Present Datadog, Inc.

=end

require 'date'
require 'time'

module DatadogAPIClient::V2
# The state of a monitor group, from the alerting engine.
class DataObservabilityMonitorGroupStatus
include BaseEnumModel

OK = "ok".freeze
WARN = "warn".freeze
ALERT = "alert".freeze
NO_DATA = "no_data".freeze
UNKNOWN = "unknown".freeze
end
end
Loading
Loading