Skip to content

Commit

Permalink
Regenerate client from commit 9a427bf0 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 21, 2024
1 parent 0707019 commit 0d302a8
Show file tree
Hide file tree
Showing 29 changed files with 1,616 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-02-21 12:50:36.140864",
"spec_repo_commit": "1ec2d96a"
"regenerated": "2024-02-21 14:30:03.227095",
"spec_repo_commit": "9a427bf0"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-02-21 12:50:36.176011",
"spec_repo_commit": "1ec2d96a"
"regenerated": "2024-02-21 14:30:03.312589",
"spec_repo_commit": "9a427bf0"
}
}
}
301 changes: 293 additions & 8 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11083,6 +11083,134 @@ components:
$ref: '#/components/schemas/MetricAllTags'
readOnly: true
type: object
MetricAssetAttributesWithTitle:
description: Assets where only included attribute is its title
properties:
title:
description: Title of the asset.
type: string
type: object
MetricAssetDashboardRelationship:
description: An object of type `dashboard` that can be referenced in the `included`
data.
properties:
id:
$ref: '#/components/schemas/MetricDashboardID'
type:
$ref: '#/components/schemas/MetricDashboardType'
type: object
MetricAssetDashboardRelationships:
description: An object containing the list of dashboards that can be referenced
in the `included` data.
properties:
data:
description: A list of dashboards that can be referenced in the `included`
data.
items:
$ref: '#/components/schemas/MetricAssetDashboardRelationship'
type: array
type: object
MetricAssetMonitorRelationship:
description: An object of type `monitor` that can be referenced in the `included`
data.
properties:
id:
$ref: '#/components/schemas/MetricMonitorID'
type:
$ref: '#/components/schemas/MetricMonitorType'
type: object
MetricAssetMonitorRelationships:
description: A object containing the list of monitors that can be referenced
in the `included` data.
properties:
data:
description: A list of monitors that can be referenced in the `included`
data.
items:
$ref: '#/components/schemas/MetricAssetMonitorRelationship'
type: array
type: object
MetricAssetNotebookRelationship:
description: An object of type `notebook` that can be referenced in the `included`
data.
properties:
id:
$ref: '#/components/schemas/MetricNotebookID'
type:
$ref: '#/components/schemas/MetricNotebookType'
type: object
MetricAssetNotebookRelationships:
description: An object containing the list of notebooks that can be referenced
in the `included` data.
properties:
data:
description: A list of notebooks that can be referenced in the `included`
data.
items:
$ref: '#/components/schemas/MetricAssetNotebookRelationship'
type: array
type: object
MetricAssetResponseData:
description: Metric assets response data.
properties:
id:
$ref: '#/components/schemas/MetricName'
relationships:
$ref: '#/components/schemas/MetricAssetResponseRelationships'
type:
$ref: '#/components/schemas/MetricType'
required:
- id
- type
type: object
MetricAssetResponseRelationships:
description: Relationships to assets related to the metric.
properties:
dashboards:
$ref: '#/components/schemas/MetricAssetDashboardRelationships'
monitors:
$ref: '#/components/schemas/MetricAssetMonitorRelationships'
notebooks:
$ref: '#/components/schemas/MetricAssetNotebookRelationships'
slos:
$ref: '#/components/schemas/MetricAssetSLORelationships'
type: object
MetricAssetSLORelationship:
description: An object of type `slos` that can be referenced in the `included`
data.
properties:
id:
$ref: '#/components/schemas/MetricSLOID'
type:
$ref: '#/components/schemas/MetricSLOType'
type: object
MetricAssetSLORelationships:
description: An object containing a list of SLOs that can be referenced in the
`included` data.
properties:
data:
description: A list of SLOs that can be referenced in the `included` data.
items:
$ref: '#/components/schemas/MetricAssetSLORelationship'
type: array
type: object
MetricAssetsResponse:
description: Response object that includes related dashboards, monitors, notebooks,
and SLOs.
properties:
data:
$ref: '#/components/schemas/MetricAssetResponseData'
included:
description: List of included assets with full set of attributes.
items:
oneOf:
- $ref: '#/components/schemas/MetricDashboardAsset'
- $ref: '#/components/schemas/MetricMonitorAsset'
- $ref: '#/components/schemas/MetricNotebookAsset'
- $ref: '#/components/schemas/MetricSLOAsset'
readOnly: true
type: array
type: object
MetricBulkConfigureTagsType:
default: metric_bulk_configure_tags
description: The metric bulk configure tags resource.
Expand Down Expand Up @@ -11324,6 +11452,40 @@ components:
- MAX
- MIN
- SUM
MetricDashboardAsset:
description: A dashboard object with title and popularity.
properties:
attributes:
$ref: '#/components/schemas/MetricDashboardAttributes'
id:
$ref: '#/components/schemas/MetricDashboardID'
type:
$ref: '#/components/schemas/MetricDashboardType'
type: object
MetricDashboardAttributes:
description: Attributes related to the dashboard, including title and popularity.
properties:
popularity:
description: Value from 0 to 5 that ranks popularity of the dashboard.
format: double
maximum: 5
minimum: 0
type: number
title:
description: Title of the asset.
type: string
type: object
MetricDashboardID:
description: The related dashboard's id.
example: xxx-yyy-zzz
type: string
MetricDashboardType:
description: Dashboard resource type.
enum:
- dashboards
type: string
x-enum-varnames:
- DASHBOARDS
MetricDistinctVolume:
description: Object for a single metric's distinct volume.
properties:
Expand Down Expand Up @@ -11464,10 +11626,52 @@ components:
origin:
$ref: '#/components/schemas/MetricOrigin'
type: object
MetricMonitorAsset:
description: A monitor object with title.
properties:
attributes:
$ref: '#/components/schemas/MetricAssetAttributesWithTitle'
id:
$ref: '#/components/schemas/MetricMonitorID'
type:
$ref: '#/components/schemas/MetricMonitorType'
type: object
MetricMonitorID:
description: The related monitor's id.
example: '1775073'
type: string
MetricMonitorType:
description: Monitor resource type.
enum:
- monitors
type: string
x-enum-varnames:
- MONITORS
MetricName:
description: The metric name for this resource.
example: test.metric.latency
type: string
MetricNotebookAsset:
description: A notebook object with title.
properties:
attributes:
$ref: '#/components/schemas/MetricAssetAttributesWithTitle'
id:
$ref: '#/components/schemas/MetricNotebookID'
type:
$ref: '#/components/schemas/MetricNotebookType'
type: object
MetricNotebookID:
description: The related notebook's id.
example: '12345'
type: string
MetricNotebookType:
description: Notebook resource type.
enum:
- notebooks
type: string
x-enum-varnames:
- NOTEBOOKS
MetricOrigin:
description: Metric origin information.
properties:
Expand Down Expand Up @@ -11541,6 +11745,27 @@ components:
description: The type of the resource.
type: string
type: object
MetricSLOAsset:
description: A SLO object with title.
properties:
attributes:
$ref: '#/components/schemas/MetricAssetAttributesWithTitle'
id:
$ref: '#/components/schemas/MetricSLOID'
type:
$ref: '#/components/schemas/MetricSLOType'
type: object
MetricSLOID:
description: The SLO id.
example: 9ffef113b389520db54391d67d652dfb
type: string
MetricSLOType:
description: SLO resource type.
enum:
- slos
type: string
x-enum-varnames:
- SLOS
MetricSeries:
description: 'A metric to submit to Datadog.

Expand Down Expand Up @@ -28079,6 +28304,65 @@ paths:
summary: List tags by metric name
tags:
- Metrics
/api/v2/metrics/{metric_name}/assets:
get:
description: Returns dashboards, monitors, notebooks, and SLOs that a metric
is stored in, if any. Updated every 24 hours.
operationId: ListMetricAssets
parameters:
- $ref: '#/components/parameters/MetricName'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/MetricAssetsResponse'
description: Success
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: API error response.
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: API error response.
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: API error response.
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Too Many Requests
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ: []
summary: Related Assets to a Metric
tags:
- Metrics
x-dd-ownership:
notification_configuration:
manual_escalation_policy: Metrics Experience [primary]
prod_high_urgency: '@pagerduty-productionmetrics-experiencehigh-urgency
@slack-metrics-experience-ops'
prod_low_urgency: '@slack-metrics-experience-ops'
slack_support_channel: '#metrics-experience'
staging_high_urgency: '@slack-metrics-experience-staging-ops'
staging_low_urgency: slack-points-aggr
team: metrics-experience
team_escalation: '[Metrics Experience] Primary'
x-permission:
operator: OPEN
permissions: []
/api/v2/metrics/{metric_name}/estimate:
get:
description: Returns the estimated cardinality for a metric with a given tag,
Expand Down Expand Up @@ -28174,14 +28458,15 @@ paths:
- Metrics
x-dd-ownership:
notification_configuration:
manual_escalation_policy: '[Points Aggregation] Primary'
prod_high_urgency: '@pagerduty-Points-Aggregation @slack-points-aggr-ops'
prod_low_urgency: '@slack-points-aggr-ops'
slack_support_channel: '#points-aggregation'
staging_high_urgency: '@slack-points-aggr-stg-ops'
staging_low_urgency: '@slack-points-aggr-stg-ops'
team: points-aggregation
team_escalation: '[Points Aggregation] Primary'
manual_escalation_policy: Metrics Experience [primary]
prod_high_urgency: '@pagerduty-productionmetrics-experiencehigh-urgency
@slack-metrics-experience-ops'
prod_low_urgency: '@slack-metrics-experience-ops'
slack_support_channel: '#metrics-experience'
staging_high_urgency: '@slack-metrics-experience-staging-ops'
staging_low_urgency: slack-points-aggr
team: metrics-experience
team_escalation: '[Metrics Experience] Primary'
x-permission:
operator: OPEN
permissions: []
Expand Down
Loading

0 comments on commit 0d302a8

Please sign in to comment.