|
| 1 | +{ |
| 2 | + "log": { |
| 3 | + "_recordingName": "Dashboards/Create a new dashboard with apm metrics widget", |
| 4 | + "creator": { |
| 5 | + "comment": "persister:fs", |
| 6 | + "name": "Polly.JS", |
| 7 | + "version": "6.0.5" |
| 8 | + }, |
| 9 | + "entries": [ |
| 10 | + { |
| 11 | + "_id": "1cfcf5ccd2e7dff3d4f3b05c53d79057", |
| 12 | + "_order": 0, |
| 13 | + "cache": {}, |
| 14 | + "request": { |
| 15 | + "bodySize": 433, |
| 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": 560, |
| 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_apm_metrics_widget-1740045600\",\"widgets\":[{\"definition\":{\"requests\":[{\"queries\":[{\"data_source\":\"apm_metrics\",\"group_by\":[\"resource_name\"],\"name\":\"query1\",\"query_filter\":\"env:prod\",\"service\":\"web-store\",\"stat\":\"hits\"}],\"response_format\":\"scalar\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"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": 819, |
| 42 | + "content": { |
| 43 | + "mimeType": "application/json", |
| 44 | + "size": 819, |
| 45 | + "text": "{\"id\":\"apm-met-ric\",\"title\":\"Test-Create_a_new_dashboard_with_apm_metrics_widget-1740045600\",\"description\":null,\"author_handle\":\"test@datadoghq.com\",\"author_name\":null,\"layout_type\":\"ordered\",\"url\":\"/dashboard/apm-met-ric/testcreateanewdashboardwithapmmetricswidget1740045600\",\"is_read_only\":false,\"template_variables\":null,\"widgets\":[{\"definition\":{\"requests\":[{\"queries\":[{\"data_source\":\"apm_metrics\",\"group_by\":[\"resource_name\"],\"name\":\"query1\",\"query_filter\":\"env:prod\",\"service\":\"web-store\",\"stat\":\"hits\"}],\"response_format\":\"scalar\"}],\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"query_table\"},\"layout\":{\"height\":4,\"width\":4,\"x\":0,\"y\":0},\"id\":1234567890123456}],\"notify_list\":null,\"created_at\":\"2025-02-20T10:00:01.000000+00:00\",\"modified_at\":\"2025-02-20T10:00:01.000000+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-02-20T10:00:00.015Z", |
| 61 | + "time": 430 |
| 62 | + }, |
| 63 | + { |
| 64 | + "_id": "71162de52581d0f391d949ff27e2aac0", |
| 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/apm-met-ric" |
| 82 | + }, |
| 83 | + "response": { |
| 84 | + "bodySize": 38, |
| 85 | + "content": { |
| 86 | + "mimeType": "application/json", |
| 87 | + "size": 38, |
| 88 | + "text": "{\"deleted_dashboard_id\":\"apm-met-ric\"}" |
| 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-02-20T10:00:00.460Z", |
| 104 | + "time": 380 |
| 105 | + } |
| 106 | + ], |
| 107 | + "pages": [], |
| 108 | + "version": "1.2" |
| 109 | + } |
| 110 | +} |
0 commit comments