-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathCreate-a-new-dashboard-with-scatterplot-widget.yml
More file actions
49 lines (49 loc) · 4.08 KB
/
Create-a-new-dashboard-with-scatterplot-widget.yml
File metadata and controls
49 lines (49 loc) · 4.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
http_interactions:
- recorded_at: Tue, 14 Apr 2026 13:48:27 GMT
request:
body:
encoding: UTF-8
string: '{"description":"","layout_type":"free","notify_list":[],"template_variables":[],"title":"Test-Create_a_new_dashboard_with_scatterplot_widget-1776174507","widgets":[{"definition":{"color_by_groups":[],"requests":{"table":{"formulas":[{"alias":"","dimension":"x","formula":"query1"},{"alias":"","dimension":"y","formula":"query2"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}
by {service}"},{"aggregator":"avg","data_source":"metrics","name":"query2","query":"avg:system.mem.used{*}
by {service}"}],"response_format":"scalar"}},"time":{},"title":"","title_align":"left","title_size":"16","type":"scatterplot","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":15,"width":47,"x":0,"y":0}},{"definition":{"requests":{"table":{"limit":200,"projection":{"dimensions":[{"column":"duration","dimension":"x"},{"column":"@resource_name","dimension":"y"}],"type":"scatterplot"},"query":{"data_source":"spans","query_string":"@service:web-store"},"request_type":"data_projection"}},"title":"Data
Projection Scatterplot","title_align":"left","title_size":"16","type":"scatterplot","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":15,"width":47,"x":48,"y":0}}]}'
headers:
Accept:
- application/json
Content-Type:
- application/json
method: POST
uri: https://api.datadoghq.com/api/v1/dashboard
response:
body:
encoding: UTF-8
string: '{"id":"zdc-f9y-htv","title":"Test-Create_a_new_dashboard_with_scatterplot_widget-1776174507","description":"","author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","author_name":"CI
Account","layout_type":"free","url":"/dashboard/zdc-f9y-htv/test-createanewdashboardwithscatterplotwidget-1776174507","template_variables":[],"widgets":[{"definition":{"color_by_groups":[],"requests":{"table":{"formulas":[{"alias":"","dimension":"x","formula":"query1"},{"alias":"","dimension":"y","formula":"query2"}],"queries":[{"aggregator":"avg","data_source":"metrics","name":"query1","query":"avg:system.cpu.user{*}
by {service}"},{"aggregator":"avg","data_source":"metrics","name":"query2","query":"avg:system.mem.used{*}
by {service}"}],"response_format":"scalar"}},"time":{},"title":"","title_align":"left","title_size":"16","type":"scatterplot","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":15,"width":47,"x":0,"y":0},"id":6156355834526034},{"definition":{"requests":{"table":{"limit":200,"projection":{"dimensions":[{"column":"duration","dimension":"x"},{"column":"@resource_name","dimension":"y"}],"type":"scatterplot"},"query":{"data_source":"spans","query_string":"@service:web-store"},"request_type":"data_projection"}},"title":"Data
Projection Scatterplot","title_align":"left","title_size":"16","type":"scatterplot","xaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"},"yaxis":{"include_zero":true,"max":"auto","min":"auto","scale":"linear"}},"layout":{"height":15,"width":47,"x":48,"y":0},"id":1138848396119898}],"notify_list":[],"created_at":"2026-04-14T13:48:27.576450+00:00","modified_at":"2026-04-14T13:48:27.576450+00:00","restricted_roles":[]}'
headers:
Content-Type:
- application/json
status:
code: 200
message: OK
- recorded_at: Tue, 14 Apr 2026 13:48:27 GMT
request:
body: null
headers:
Accept:
- application/json
method: DELETE
uri: https://api.datadoghq.com/api/v1/dashboard/zdc-f9y-htv
response:
body:
encoding: UTF-8
string: '{"deleted_dashboard_id":"zdc-f9y-htv"}'
headers:
Content-Type:
- application/json
status:
code: 200
message: OK
recorded_with: VCR 6.0.0