|
| 1 | +--- |
| 2 | +version: 1 |
| 3 | +interactions: |
| 4 | +- request: |
| 5 | + body: | |
| 6 | + {"layout_type":"ordered","title":"Test-Create_a_new_dashboard_with_apm_dependency_stats_widget-1631306118","widgets":[{"definition":{"requests":[{"queries":[{"data_source":"apm_dependency_stats","env":"ci","name":"query1","operation_name":"cassandra.query","primary_tag_name":"datacenter","primary_tag_value":"edge-eu1.prod.dog","resource_name":"DELETE FROM monitor_history.monitor_state_change_history WHERE org_id = ? AND monitor_id IN ? AND group = ?","service":"cassandra","stat":"avg_duration"}],"response_format":"scalar"}],"title":"","title_align":"left","title_size":"16","type":"query_table"},"layout":{"height":4,"width":4,"x":0,"y":0}}]} |
| 7 | + form: {} |
| 8 | + headers: |
| 9 | + Accept: |
| 10 | + - application/json |
| 11 | + Content-Type: |
| 12 | + - application/json |
| 13 | + Dd-Operation-Id: |
| 14 | + - CreateDashboard |
| 15 | + User-Agent: |
| 16 | + - datadog-api-client-go/1.3.1+dev (go go1.16.4; os darwin; arch amd64) |
| 17 | + X-Datadog-Parent-Id: |
| 18 | + - "7510032060277235025" |
| 19 | + X-Datadog-Sampling-Priority: |
| 20 | + - "1" |
| 21 | + X-Datadog-Trace-Id: |
| 22 | + - "5997031288759748640" |
| 23 | + url: https://api.datadoghq.com/api/v1/dashboard |
| 24 | + method: POST |
| 25 | + response: |
| 26 | + body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"6zc-9ii-fxa","title":"Test-Create_a_new_dashboard_with_apm_dependency_stats_widget-1631306118","url":"/dashboard/6zc-9ii-fxa/test-createanewdashboardwithapmdependencystatswidget-1631306118","created_at":"2021-09-10T20:35:18.535266+00:00","modified_at":"2021-09-10T20:35:18.535266+00:00","author_handle":"[email protected]","widgets":[{"definition":{"type":"query_table","requests":[{"response_format":"scalar","queries":[{"primary_tag_value":"edge-eu1.prod.dog","stat":"avg_duration","data_source":"apm_dependency_stats","name":"query1","service":"cassandra","resource_name":"DELETE |
| 27 | + FROM monitor_history.monitor_state_change_history WHERE org_id = ? AND monitor_id |
| 28 | + IN ? AND group = ?","env":"ci","primary_tag_name":"datacenter","operation_name":"cassandra.query"}]}],"title_align":"left","title_size":"16","title":""},"layout":{"y":0,"width":4,"x":0,"height":4},"id":4996017221195797}],"layout_type":"ordered"}' |
| 29 | + headers: |
| 30 | + Cache-Control: |
| 31 | + - no-cache |
| 32 | + Connection: |
| 33 | + - keep-alive |
| 34 | + Content-Type: |
| 35 | + - application/json |
| 36 | + Date: |
| 37 | + - Fri, 10 Sep 2021 20:35:18 GMT |
| 38 | + Pragma: |
| 39 | + - no-cache |
| 40 | + Vary: |
| 41 | + - Accept-Encoding |
| 42 | + X-Content-Type-Options: |
| 43 | + - nosniff |
| 44 | + X-Frame-Options: |
| 45 | + - SAMEORIGIN |
| 46 | + status: 200 OK |
| 47 | + code: 200 |
| 48 | + duration: "" |
| 49 | +- request: |
| 50 | + body: "" |
| 51 | + form: {} |
| 52 | + headers: |
| 53 | + Accept: |
| 54 | + - application/json |
| 55 | + Dd-Operation-Id: |
| 56 | + - DeleteDashboard |
| 57 | + User-Agent: |
| 58 | + - datadog-api-client-go/1.3.1+dev (go go1.16.4; os darwin; arch amd64) |
| 59 | + X-Datadog-Parent-Id: |
| 60 | + - "1235593417963552713" |
| 61 | + X-Datadog-Sampling-Priority: |
| 62 | + - "1" |
| 63 | + X-Datadog-Trace-Id: |
| 64 | + - "5997031288759748640" |
| 65 | + url: https://api.datadoghq.com/api/v1/dashboard/6zc-9ii-fxa |
| 66 | + method: DELETE |
| 67 | + response: |
| 68 | + body: '{"deleted_dashboard_id":"6zc-9ii-fxa"}' |
| 69 | + headers: |
| 70 | + Cache-Control: |
| 71 | + - no-cache |
| 72 | + Connection: |
| 73 | + - keep-alive |
| 74 | + Content-Type: |
| 75 | + - application/json |
| 76 | + Date: |
| 77 | + - Fri, 10 Sep 2021 20:35:18 GMT |
| 78 | + Pragma: |
| 79 | + - no-cache |
| 80 | + Vary: |
| 81 | + - Accept-Encoding |
| 82 | + X-Content-Type-Options: |
| 83 | + - nosniff |
| 84 | + X-Frame-Options: |
| 85 | + - SAMEORIGIN |
| 86 | + status: 200 OK |
| 87 | + code: 200 |
| 88 | + duration: "" |
0 commit comments