|
| 1 | +{ |
| 2 | + "log": { |
| 3 | + "_recordingName": "Dashboards/Create a new dashboard with timeseries widget with custom_unit", |
| 4 | + "creator": { |
| 5 | + "comment": "persister:fs", |
| 6 | + "name": "Polly.JS", |
| 7 | + "version": "6.0.5" |
| 8 | + }, |
| 9 | + "entries": [ |
| 10 | + { |
| 11 | + "_id": "38821fcaedaff1a1d6f2dc3c1a613e9e", |
| 12 | + "_order": 0, |
| 13 | + "cache": {}, |
| 14 | + "request": { |
| 15 | + "bodySize": 712, |
| 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": 555, |
| 30 | + "httpVersion": "HTTP/1.1", |
| 31 | + "method": "POST", |
| 32 | + "postData": { |
| 33 | + "mimeType": "application/json", |
| 34 | + "params": [], |
| 35 | + "text": "{\"description\":\"\",\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"fixed\",\"template_variables\":[],\"title\":\"Test-Create_a_new_dashboard_with_timeseries_widget_with_custom_unit-1739811056\",\"widgets\":[{\"definition\":{\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\",\"number_format\":{\"unit\":{\"type\":\"canonical_unit\",\"unit_name\":\"fraction\"},\"unit_scale\":{\"type\":\"canonical_unit\",\"unit_name\":\"apdex\"}}}],\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\"}],\"show_legend\":true,\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"timeseries\"},\"layout\":{\"height\":5,\"width\":12,\"x\":0,\"y\":0}}]}" |
| 36 | + }, |
| 37 | + "queryString": [], |
| 38 | + "url": "https://api.datadoghq.com/api/v1/dashboard" |
| 39 | + }, |
| 40 | + "response": { |
| 41 | + "bodySize": 1053, |
| 42 | + "content": { |
| 43 | + "mimeType": "application/json", |
| 44 | + "size": 1053, |
| 45 | + "text": "{\"id\":\"a8v-698-pen\",\"title\":\"Test-Create_a_new_dashboard_with_timeseries_widget_with_custom_unit-1739811056\",\"description\":\"\",\"author_handle\":\"frog@datadoghq.com\",\"author_name\":\"frog\",\"layout_type\":\"ordered\",\"url\":\"/dashboard/a8v-698-pen/test-createanewdashboardwithtimeserieswidgetwithcustomunit-1739811056\",\"is_read_only\":false,\"template_variables\":[],\"widgets\":[{\"definition\":{\"legend_layout\":\"auto\",\"requests\":[{\"display_type\":\"line\",\"formulas\":[{\"formula\":\"query1\",\"number_format\":{\"unit\":{\"type\":\"canonical_unit\",\"unit_name\":\"fraction\"},\"unit_scale\":{\"type\":\"canonical_unit\",\"unit_name\":\"apdex\"}}}],\"queries\":[{\"data_source\":\"metrics\",\"name\":\"query1\",\"query\":\"avg:system.cpu.user{*}\"}],\"response_format\":\"timeseries\"}],\"show_legend\":true,\"time\":{},\"title\":\"\",\"title_align\":\"left\",\"title_size\":\"16\",\"type\":\"timeseries\"},\"layout\":{\"height\":5,\"width\":12,\"x\":0,\"y\":0},\"id\":6721814968677378}],\"notify_list\":[],\"created_at\":\"2025-02-17T16:50:57.183740+00:00\",\"modified_at\":\"2025-02-17T16:50:57.183740+00:00\",\"reflow_type\":\"fixed\",\"restricted_roles\":[]}\n" |
| 46 | + }, |
| 47 | + "cookies": [], |
| 48 | + "headers": [ |
| 49 | + { |
| 50 | + "name": "content-type", |
| 51 | + "value": "application/json" |
| 52 | + } |
| 53 | + ], |
| 54 | + "headersSize": 657, |
| 55 | + "httpVersion": "HTTP/1.1", |
| 56 | + "redirectURL": "", |
| 57 | + "status": 200, |
| 58 | + "statusText": "OK" |
| 59 | + }, |
| 60 | + "startedDateTime": "2025-02-17T16:50:56.672Z", |
| 61 | + "time": 613 |
| 62 | + }, |
| 63 | + { |
| 64 | + "_id": "5ad97c5eb82dbeca915d3aedcc9af901", |
| 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": 516, |
| 78 | + "httpVersion": "HTTP/1.1", |
| 79 | + "method": "DELETE", |
| 80 | + "queryString": [], |
| 81 | + "url": "https://api.datadoghq.com/api/v1/dashboard/a8v-698-pen" |
| 82 | + }, |
| 83 | + "response": { |
| 84 | + "bodySize": 39, |
| 85 | + "content": { |
| 86 | + "mimeType": "application/json", |
| 87 | + "size": 39, |
| 88 | + "text": "{\"deleted_dashboard_id\":\"a8v-698-pen\"}\n" |
| 89 | + }, |
| 90 | + "cookies": [], |
| 91 | + "headers": [ |
| 92 | + { |
| 93 | + "name": "content-type", |
| 94 | + "value": "application/json" |
| 95 | + } |
| 96 | + ], |
| 97 | + "headersSize": 655, |
| 98 | + "httpVersion": "HTTP/1.1", |
| 99 | + "redirectURL": "", |
| 100 | + "status": 200, |
| 101 | + "statusText": "OK" |
| 102 | + }, |
| 103 | + "startedDateTime": "2025-02-17T16:50:57.291Z", |
| 104 | + "time": 561 |
| 105 | + } |
| 106 | + ], |
| 107 | + "pages": [], |
| 108 | + "version": "1.2" |
| 109 | + } |
| 110 | +} |
0 commit comments