WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 4ce1e41

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ec57a65 of spec repo
1 parent 48ecc08 commit 4ce1e41

File tree

17 files changed

+705
-8
lines changed

17 files changed

+705
-8
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 84 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1741,6 +1741,9 @@ components:
17411741
type: string
17421742
markers:
17431743
description: List of markers.
1744+
example:
1745+
- display_type: percentile
1746+
value: '90'
17441747
items:
17451748
$ref: '#/components/schemas/WidgetMarker'
17461749
type: array
@@ -1816,6 +1819,11 @@ components:
18161819
$ref: '#/components/schemas/ApmStatsQueryDefinition'
18171820
event_query:
18181821
$ref: '#/components/schemas/LogQueryDefinition'
1822+
formulas:
1823+
description: List of formulas that operate on queries.
1824+
items:
1825+
$ref: '#/components/schemas/WidgetFormula'
1826+
type: array
18191827
log_query:
18201828
$ref: '#/components/schemas/LogQueryDefinition'
18211829
network_query:
@@ -1827,10 +1835,17 @@ components:
18271835
q:
18281836
description: Widget query.
18291837
type: string
1838+
queries:
1839+
description: List of queries that can be returned directly or used in formulas.
1840+
items:
1841+
$ref: '#/components/schemas/FormulaAndFunctionQueryDefinition'
1842+
type: array
18301843
query:
18311844
$ref: '#/components/schemas/DistributionWidgetHistogramRequestQuery'
18321845
request_type:
18331846
$ref: '#/components/schemas/DistributionWidgetHistogramRequestType'
1847+
response_format:
1848+
$ref: '#/components/schemas/FormulaAndFunctionResponseFormat'
18341849
rum_query:
18351850
$ref: '#/components/schemas/LogQueryDefinition'
18361851
security_query:
@@ -1854,6 +1869,12 @@ components:
18541869
description: Specifies minimum value to show on the x-axis. It takes a number,
18551870
percentile (p90 === 90th percentile), or auto for default behavior.
18561871
type: string
1872+
num_buckets:
1873+
description: Number of value buckets to target, aka the resolution of the
1874+
value bins.
1875+
example: 100
1876+
format: int64
1877+
type: integer
18571878
scale:
18581879
default: linear
18591880
description: Specifies the scale type. Possible values are `linear`.
@@ -3714,6 +3735,14 @@ components:
37143735
type: array
37153736
legend_size:
37163737
$ref: '#/components/schemas/WidgetLegendSize'
3738+
markers:
3739+
description: List of markers.
3740+
example:
3741+
- display_type: percentile
3742+
value: '90'
3743+
items:
3744+
$ref: '#/components/schemas/WidgetMarker'
3745+
type: array
37173746
requests:
37183747
description: List of widget types.
37193748
example:
@@ -3738,8 +3767,10 @@ components:
37383767
type: string
37393768
type:
37403769
$ref: '#/components/schemas/HeatMapWidgetDefinitionType'
3770+
xaxis:
3771+
$ref: '#/components/schemas/HeatMapWidgetXAxis'
37413772
yaxis:
3742-
$ref: '#/components/schemas/WidgetAxis'
3773+
$ref: '#/components/schemas/HeatMapWidgetYAxis'
37433774
required:
37443775
- type
37453776
- requests
@@ -3781,6 +3812,10 @@ components:
37813812
items:
37823813
$ref: '#/components/schemas/FormulaAndFunctionQueryDefinition'
37833814
type: array
3815+
query:
3816+
$ref: '#/components/schemas/DistributionWidgetHistogramRequestQuery'
3817+
request_type:
3818+
$ref: '#/components/schemas/DistributionWidgetHistogramRequestType'
37843819
response_format:
37853820
$ref: '#/components/schemas/FormulaAndFunctionResponseFormat'
37863821
rum_query:
@@ -3790,6 +3825,49 @@ components:
37903825
style:
37913826
$ref: '#/components/schemas/WidgetStyle'
37923827
type: object
3828+
HeatMapWidgetXAxis:
3829+
description: X Axis controls for the heat map widget.
3830+
properties:
3831+
num_buckets:
3832+
description: Number of time buckets to target, aka the resolution of the
3833+
time bins. This is only applicable for distribution of points (group distributions
3834+
use the roll-up modifier).
3835+
example: 50
3836+
format: int64
3837+
type: integer
3838+
type: object
3839+
HeatMapWidgetYAxis:
3840+
description: Y Axis controls for the heat map widget.
3841+
properties:
3842+
include_zero:
3843+
description: Set to `true` to include zero.
3844+
type: boolean
3845+
label:
3846+
description: The label of the axis to display on the graph. Only usable
3847+
on Scatterplot Widgets.
3848+
type: string
3849+
max:
3850+
default: auto
3851+
description: Specifies maximum numeric value to show on the axis. Defaults
3852+
to `auto`.
3853+
type: string
3854+
min:
3855+
default: auto
3856+
description: Specifies minimum numeric value to show on the axis. Defaults
3857+
to `auto`.
3858+
type: string
3859+
num_buckets:
3860+
description: Number of value buckets to target, aka the resolution of the
3861+
value bins.
3862+
example: 50
3863+
format: int64
3864+
type: integer
3865+
scale:
3866+
default: linear
3867+
description: Specifies the scale type. Possible values are `linear`, `log`,
3868+
`sqrt`, and `pow##` (for example `pow2` or `pow0.5`).
3869+
type: string
3870+
type: object
37933871
Host:
37943872
description: Object representing a host.
37953873
properties:
@@ -25147,7 +25225,7 @@ components:
2514725225
display_type:
2514825226
description: "Combination of:\n - A severity error, warning, ok, or info\n
2514925227
\ - A line type: dashed, solid, or bold\nIn this case of a Distribution
25150-
widget, this can be set to be `x_axis_percentile`."
25228+
widget, this can be set to be `percentile`."
2515125229
example: error dashed
2515225230
type: string
2515325231
label:
@@ -25158,8 +25236,11 @@ components:
2515825236
description: Timestamp for the widget.
2515925237
type: string
2516025238
value:
25161-
description: Value to apply. Can be a single value y = 15 or a range of
25239+
description: 'Value to apply. Can be a single value y = 15 or a range of
2516225240
values 0 < y < 10.
25241+
25242+
For Distribution widgets with `display_type` set to `percentile`, this
25243+
should be a numeric percentile value (e.g., "90" for P90).'
2516325244
example: y = 15
2516425245
type: string
2516525246
required:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-12-04T23:08:04.708Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
{
2+
"log": {
3+
"_recordingName": "Dashboards/Create a new dashboard with distribution widget with markers and num_buckets",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "1965461eb336d2a7fcff22eeba84a215",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 738,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "content-type",
26+
"value": "application/json"
27+
}
28+
],
29+
"headersSize": 559,
30+
"httpVersion": "HTTP/1.1",
31+
"method": "POST",
32+
"postData": {
33+
"mimeType": "application/json",
34+
"params": [],
35+
"text": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_distribution_widget_with_markers_and_num_buckets-1764889684\",\"widgets\":[{\"definition\":{\"markers\":[{\"display_type\":\"percentile\",\"value\":\"50\"},{\"display_type\":\"percentile\",\"value\":\"99\"},{\"display_type\":\"percentile\",\"value\":\"90\"}],\"requests\":[{\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\",\"xaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"num_buckets\":55,\"scale\":\"linear\"},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v1/dashboard"
39+
},
40+
"response": {
41+
"bodySize": 1143,
42+
"content": {
43+
"mimeType": "application/json",
44+
"size": 1143,
45+
"text": "{\"id\":\"ved-atm-2g5\",\"title\":\"Test-Create_a_new_dashboard_with_distribution_widget_with_markers_and_num_buckets-1764889684\",\"description\":null,\"author_handle\":\"[email protected]\",\"author_name\":\"Shishi Liu\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/ved-atm-2g5/test-createanewdashboardwithdistributionwidgetwithmarkersandnumbuckets-176488968\",\"template_variables\":null,\"widgets\":[{\"definition\":{\"markers\":[{\"display_type\":\"percentile\",\"value\":\"50\"},{\"display_type\":\"percentile\",\"value\":\"99\"},{\"display_type\":\"percentile\",\"value\":\"90\"}],\"requests\":[{\"queries\":[{\"aggregator\":\"avg\",\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*} by {service}\"}],\"response_format\":\"scalar\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"distribution\",\"xaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"num_buckets\":55,\"scale\":\"linear\"},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"scale\":\"linear\"}},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0},\"id\":984443192078703}],\"notify_list\":null,\"created_at\":\"2025-12-04T23:08:05.111437+00:00\",\"modified_at\":\"2025-12-04T23:08:05.111437+00:00\",\"restricted_roles\":[]}"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/json"
52+
}
53+
],
54+
"headersSize": 381,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 200,
58+
"statusText": "OK"
59+
},
60+
"startedDateTime": "2025-12-04T23:08:04.722Z",
61+
"time": 504
62+
},
63+
{
64+
"_id": "05322de5f1c06078f3806223fd28da2c",
65+
"_order": 0,
66+
"cache": {},
67+
"request": {
68+
"bodySize": 0,
69+
"cookies": [],
70+
"headers": [
71+
{
72+
"_fromType": "array",
73+
"name": "accept",
74+
"value": "application/json"
75+
}
76+
],
77+
"headersSize": 520,
78+
"httpVersion": "HTTP/1.1",
79+
"method": "DELETE",
80+
"queryString": [],
81+
"url": "https://api.datadoghq.com/api/v1/dashboard/ved-atm-2g5"
82+
},
83+
"response": {
84+
"bodySize": 38,
85+
"content": {
86+
"mimeType": "application/json",
87+
"size": 38,
88+
"text": "{\"deleted_dashboard_id\":\"ved-atm-2g5\"}"
89+
},
90+
"cookies": [],
91+
"headers": [
92+
{
93+
"name": "content-type",
94+
"value": "application/json"
95+
}
96+
],
97+
"headersSize": 379,
98+
"httpVersion": "HTTP/1.1",
99+
"redirectURL": "",
100+
"status": 200,
101+
"statusText": "OK"
102+
},
103+
"startedDateTime": "2025-12-04T23:08:05.249Z",
104+
"time": 675
105+
}
106+
],
107+
"pages": [],
108+
"version": "1.2"
109+
}
110+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-12-08T13:44:04.899Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
{
2+
"log": {
3+
"_recordingName": "Dashboards/Create a new dashboard with heatmap widget with markers and num_buckets",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "d67a5ba79ba5030cac002d594e6ad0ec",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 615,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
},
23+
{
24+
"_fromType": "array",
25+
"name": "content-type",
26+
"value": "application/json"
27+
}
28+
],
29+
"headersSize": 559,
30+
"httpVersion": "HTTP/1.1",
31+
"method": "POST",
32+
"postData": {
33+
"mimeType": "application/json",
34+
"params": [],
35+
"text": "{\"layout_type\":\"ordered\",\"title\":\"Test-Create_a_new_dashboard_with_heatmap_widget_with_markers_and_num_buckets-1765201444\",\"widgets\":[{\"definition\":{\"markers\":[{\"display_type\":\"percentile\",\"value\":\"50\"},{\"display_type\":\"percentile\",\"value\":\"99\"}],\"requests\":[{\"query\":{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"histogram:trace.servlet.request{*}\"},\"request_type\":\"histogram\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"heatmap\",\"xaxis\":{\"num_buckets\":75},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"num_buckets\":55,\"scale\":\"linear\"}},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0}}]}"
36+
},
37+
"queryString": [],
38+
"url": "https://api.datadoghq.com/api/v1/dashboard"
39+
},
40+
"response": {
41+
"bodySize": 1017,
42+
"content": {
43+
"mimeType": "application/json",
44+
"size": 1017,
45+
"text": "{\"id\":\"47i-rsj-bdw\",\"title\":\"Test-Create_a_new_dashboard_with_heatmap_widget_with_markers_and_num_buckets-1765201444\",\"description\":null,\"author_handle\":\"[email protected]\",\"author_name\":\"Shishi Liu\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/47i-rsj-bdw/test-createanewdashboardwithheatmapwidgetwithmarkersandnumbuckets-1765201444\",\"template_variables\":null,\"widgets\":[{\"definition\":{\"markers\":[{\"display_type\":\"percentile\",\"value\":\"50\"},{\"display_type\":\"percentile\",\"value\":\"99\"}],\"requests\":[{\"query\":{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"histogram:trace.servlet.request{*}\"},\"request_type\":\"histogram\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"heatmap\",\"xaxis\":{\"num_buckets\":75},\"yaxis\":{\"include_zero\":true,\"max\":\"auto\",\"min\":\"auto\",\"num_buckets\":55,\"scale\":\"linear\"}},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0},\"id\":5710247626201242}],\"notify_list\":null,\"created_at\":\"2025-12-08T13:44:05.403199+00:00\",\"modified_at\":\"2025-12-08T13:44:05.403199+00:00\",\"restricted_roles\":[]}"
46+
},
47+
"cookies": [],
48+
"headers": [
49+
{
50+
"name": "content-type",
51+
"value": "application/json"
52+
}
53+
],
54+
"headersSize": 381,
55+
"httpVersion": "HTTP/1.1",
56+
"redirectURL": "",
57+
"status": 200,
58+
"statusText": "OK"
59+
},
60+
"startedDateTime": "2025-12-08T13:44:04.910Z",
61+
"time": 536
62+
},
63+
{
64+
"_id": "fbfa6a425b9f14ca0c94a1f3f06d3ae0",
65+
"_order": 0,
66+
"cache": {},
67+
"request": {
68+
"bodySize": 0,
69+
"cookies": [],
70+
"headers": [
71+
{
72+
"_fromType": "array",
73+
"name": "accept",
74+
"value": "application/json"
75+
}
76+
],
77+
"headersSize": 520,
78+
"httpVersion": "HTTP/1.1",
79+
"method": "DELETE",
80+
"queryString": [],
81+
"url": "https://api.datadoghq.com/api/v1/dashboard/47i-rsj-bdw"
82+
},
83+
"response": {
84+
"bodySize": 38,
85+
"content": {
86+
"mimeType": "application/json",
87+
"size": 38,
88+
"text": "{\"deleted_dashboard_id\":\"47i-rsj-bdw\"}"
89+
},
90+
"cookies": [],
91+
"headers": [
92+
{
93+
"name": "content-type",
94+
"value": "application/json"
95+
}
96+
],
97+
"headersSize": 379,
98+
"httpVersion": "HTTP/1.1",
99+
"redirectURL": "",
100+
"status": 200,
101+
"statusText": "OK"
102+
},
103+
"startedDateTime": "2025-12-08T13:44:05.476Z",
104+
"time": 752
105+
}
106+
],
107+
"pages": [],
108+
"version": "1.2"
109+
}
110+
}

0 commit comments

Comments
 (0)