|
| 1 | +{ |
| 2 | + "log": { |
| 3 | + "_recordingName": "APM Retention Filters/Create a retention filter returns \"OK\" response", |
| 4 | + "creator": { |
| 5 | + "comment": "persister:fs", |
| 6 | + "name": "Polly.JS", |
| 7 | + "version": "6.0.5" |
| 8 | + }, |
| 9 | + "entries": [ |
| 10 | + { |
| 11 | + "_id": "7a697c95a508933d64da7d94bc8da12e", |
| 12 | + "_order": 0, |
| 13 | + "cache": {}, |
| 14 | + "request": { |
| 15 | + "bodySize": 211, |
| 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": 587, |
| 30 | + "httpVersion": "HTTP/1.1", |
| 31 | + "method": "POST", |
| 32 | + "postData": { |
| 33 | + "mimeType": "application/json", |
| 34 | + "params": [], |
| 35 | + "text": "{\"data\":{\"attributes\":{\"enabled\":true,\"filter\":{\"query\":\"@http.status_code:200 service:my-service\"},\"filter_type\":\"spans-sampling-processor\",\"name\":\"my retention filter\",\"rate\":1},\"type\":\"apm_retention_filter\"}}" |
| 36 | + }, |
| 37 | + "queryString": [], |
| 38 | + "url": "https://api.datadoghq.com/api/v2/apm/config/retention-filters" |
| 39 | + }, |
| 40 | + "response": { |
| 41 | + "bodySize": 414, |
| 42 | + "content": { |
| 43 | + "mimeType": "application/json", |
| 44 | + "size": 414, |
| 45 | + "text": "{\"data\":{\"id\":\"kkZkTzFaR_Oy4OWzOJQbcw\",\"attributes\":{\"name\":\"my retention filter\",\"rate\":1.0,\"enabled\":true,\"filter_type\":\"spans-sampling-processor\",\"filter\":{\"query\":\"@http.status_code:200 service:my-service\"},\"editable\":true,\"modified_by\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"modified_at\":1697718481,\"created_by\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"created_at\":1697718481},\"type\":\"apm_retention_filter\"}}\n" |
| 46 | + }, |
| 47 | + "cookies": [], |
| 48 | + "headers": [ |
| 49 | + { |
| 50 | + "name": "content-type", |
| 51 | + "value": "application/json" |
| 52 | + } |
| 53 | + ], |
| 54 | + "headersSize": 517, |
| 55 | + "httpVersion": "HTTP/1.1", |
| 56 | + "redirectURL": "", |
| 57 | + "status": 200, |
| 58 | + "statusText": "OK" |
| 59 | + }, |
| 60 | + "startedDateTime": "2023-10-19T12:28:01.335Z", |
| 61 | + "time": 153 |
| 62 | + }, |
| 63 | + { |
| 64 | + "_id": "08b88a2ab9800d90f3fc626041e1e05d", |
| 65 | + "_order": 0, |
| 66 | + "cache": {}, |
| 67 | + "request": { |
| 68 | + "bodySize": 0, |
| 69 | + "cookies": [], |
| 70 | + "headers": [ |
| 71 | + { |
| 72 | + "_fromType": "array", |
| 73 | + "name": "accept", |
| 74 | + "value": "*/*" |
| 75 | + } |
| 76 | + ], |
| 77 | + "headersSize": 546, |
| 78 | + "httpVersion": "HTTP/1.1", |
| 79 | + "method": "DELETE", |
| 80 | + "queryString": [], |
| 81 | + "url": "https://api.datadoghq.com/api/v2/apm/config/retention-filters/kkZkTzFaR_Oy4OWzOJQbcw" |
| 82 | + }, |
| 83 | + "response": { |
| 84 | + "bodySize": 3, |
| 85 | + "content": { |
| 86 | + "mimeType": "application/json", |
| 87 | + "size": 3, |
| 88 | + "text": "{}\n" |
| 89 | + }, |
| 90 | + "cookies": [], |
| 91 | + "headers": [ |
| 92 | + { |
| 93 | + "name": "content-type", |
| 94 | + "value": "application/json" |
| 95 | + } |
| 96 | + ], |
| 97 | + "headersSize": 492, |
| 98 | + "httpVersion": "HTTP/1.1", |
| 99 | + "redirectURL": "", |
| 100 | + "status": 200, |
| 101 | + "statusText": "OK" |
| 102 | + }, |
| 103 | + "startedDateTime": "2023-10-19T12:28:01.496Z", |
| 104 | + "time": 148 |
| 105 | + } |
| 106 | + ], |
| 107 | + "pages": [], |
| 108 | + "version": "1.2" |
| 109 | + } |
| 110 | +} |
0 commit comments