Skip to content

Commit 3d5048d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 876849a of spec repo (#37009)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 017c964 commit 3d5048d

3 files changed

Lines changed: 56 additions & 8 deletions

File tree

content/en/api/v1/metrics/examples.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,12 @@
9191
"responses": {
9292
"200": {
9393
"json": {
94-
"from": "string",
95-
"metrics": []
94+
"from": "1571011200",
95+
"metrics": [
96+
"system.cpu.idle",
97+
"system.mem.free",
98+
"aws.ec2.cpuutilization"
99+
]
96100
},
97101
"html": "<div class=\"\"><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row table-row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\">from</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">string</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">Time when the metrics were active, seconds since the Unix epoch.</p></div>\n </div>\n \n </div>\n </div><div class=\"row \">\n <div class=\"col-12 first-column\">\n <div class=\"row table-row first-row \">\n <div class=\"col-4 column\">\n <p class=\"key table-cell\">metrics</p>\n </div>\n <div class=\"col-2 column\"><p class=\"table-cell\">[string]</p></div>\n <div class=\"col-6 column\"><p class=\"table-cell\">List of metric names.</p></div>\n </div>\n \n </div>\n </div></div>"
98102
},

data/api/v1/full_spec.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8230,6 +8230,12 @@ components:
82308230
type: object
82318231
MetricsListResponse:
82328232
description: Object listing all metric names stored by Datadog since a given time.
8233+
example:
8234+
from: "1571011200"
8235+
metrics:
8236+
- system.cpu.idle
8237+
- system.mem.free
8238+
- aws.ec2.cpuutilization
82338239
properties:
82348240
from:
82358241
description: Time when the metrics were active, seconds since the Unix epoch.

data/api/v2/full_spec.yaml

Lines changed: 44 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154908,10 +154908,21 @@ paths:
154908154908
examples:
154909154909
default:
154910154910
value:
154911-
data: []
154911+
data:
154912+
- id: system.cpu.user
154913+
type: metrics
154914+
- attributes:
154915+
created_at: "2020-03-25T09:48:37.463835Z"
154916+
metric_type: gauge
154917+
modified_at: "2020-04-25T09:48:37.463835Z"
154918+
tags:
154919+
- app
154920+
- datacenter
154921+
id: http.endpoint.request
154922+
type: manage_tags
154912154923
meta:
154913154924
pagination:
154914-
next_cursor:
154925+
next_cursor: eyJhZnRlciI6Imh0dHAuZW5kcG9pbnQucmVxdWVzdCJ9
154915154926
with_metric_volumes:
154916154927
value:
154917154928
data:
@@ -155783,12 +155794,30 @@ paths:
155783155794
id: http.endpoint.request
155784155795
relationships:
155785155796
dashboards:
155786-
data: []
155797+
data:
155798+
- id: abc-def-xyz
155799+
type: dashboards
155787155800
monitors:
155788-
data: []
155801+
data:
155802+
- id: "1775073"
155803+
type: monitors
155789155804
notebooks:
155790155805
data: []
155806+
slos:
155807+
data: []
155791155808
type: metrics
155809+
included:
155810+
- attributes:
155811+
popularity: 3.0
155812+
title: My Dashboard
155813+
url: /dashboard/abc-def-xyz
155814+
id: abc-def-xyz
155815+
type: dashboards
155816+
- attributes:
155817+
title: CPU utilization is high
155818+
url: /monitors/1775073
155819+
id: "1775073"
155820+
type: monitors
155792155821
schema:
155793155822
$ref: "#/components/schemas/MetricAssetsResponse"
155794155823
description: Success
@@ -155934,8 +155963,17 @@ paths:
155934155963
examples:
155935155964
default:
155936155965
value:
155937-
data: []
155938-
meta: {}
155966+
data:
155967+
- attributes:
155968+
cardinality_delta: 25
155969+
id: host
155970+
type: tag_cardinality
155971+
- attributes:
155972+
cardinality_delta: 5
155973+
id: env
155974+
type: tag_cardinality
155975+
meta:
155976+
metric_name: system.cpu.user
155939155977
schema:
155940155978
$ref: "#/components/schemas/MetricTagCardinalitiesResponse"
155941155979
description: Success

0 commit comments

Comments
 (0)