Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
334 changes: 293 additions & 41 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2025-10-08T19:31:23.072Z"
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"log": {
"_recordingName": "Cloud Cost Management/Update arbitrary cost rule returns \"OK\" response",
"_recordingName": "Cloud Cost Management/Create custom allocation rule returns \"OK\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.5"
},
"entries": [
{
"_id": "a8cb74f5a06190da82019079a314b320",
"_id": "9d41f4966e72bfbbfc5e2e7c5f3e870b",
"_order": 0,
"cache": {},
"request": {
"bodySize": 613,
"bodySize": 589,
"cookies": [],
"headers": [
{
Expand All @@ -26,23 +26,23 @@
"value": "application/json"
}
],
"headersSize": 580,
"headersSize": 578,
"httpVersion": "HTTP/1.1",
"method": "PATCH",
"method": "POST",
"postData": {
"mimeType": "application/json",
"params": [],
"text": "{\"data\":{\"attributes\":{\"costs_to_allocate\":[{\"condition\":\"is\",\"tag\":\"account_id\",\"value\":\"123456789\",\"values\":[]},{\"condition\":\"in\",\"tag\":\"environment\",\"value\":\"\",\"values\":[\"production\",\"staging\"]}],\"enabled\":true,\"order_id\":1,\"provider\":[\"aws\",\"gcp\"],\"rule_name\":\"example-arbitrary-cost-rule\",\"strategy\":{\"allocated_by_tag_keys\":[\"team\",\"environment\"],\"based_on_costs\":[{\"condition\":\"is\",\"tag\":\"service\",\"value\":\"web-api\",\"values\":[]},{\"condition\":\"not in\",\"tag\":\"team\",\"value\":\"\",\"values\":[\"legacy\",\"deprecated\"]}],\"granularity\":\"daily\",\"method\":\"proportional\"},\"type\":\"shared\"},\"type\":\"upsert_arbitrary_rule\"}}"
"text": "{\"data\":{\"attributes\":{\"costs_to_allocate\":[{\"condition\":\"is\",\"tag\":\"account_id\",\"value\":\"123456789\"},{\"condition\":\"in\",\"tag\":\"environment\",\"value\":\"\",\"values\":[\"production\",\"staging\"]}],\"enabled\":true,\"order_id\":1,\"provider\":[\"aws\",\"gcp\"],\"rule_name\":\"example-arbitrary-cost-rule\",\"strategy\":{\"allocated_by_tag_keys\":[\"team\",\"environment\"],\"based_on_costs\":[{\"condition\":\"is\",\"tag\":\"service\",\"value\":\"web-api\"},{\"condition\":\"not in\",\"tag\":\"team\",\"value\":\"\",\"values\":[\"legacy\",\"deprecated\"]}],\"granularity\":\"daily\",\"method\":\"proportional\"},\"type\":\"shared\"},\"type\":\"upsert_arbitrary_rule\"}}"
},
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/cost/arbitrary_rule/123456"
"url": "https://api.datadoghq.com/api/v2/cost/arbitrary_rule"
},
"response": {
"bodySize": 778,
"bodySize": 784,
"content": {
"mimeType": "application/vnd.api+json",
"size": 778,
"text": "{\"data\":{\"id\":\"123456\",\"type\":\"arbitrary_rule\",\"attributes\":{\"costs_to_allocate\":[{\"tag\":\"account_id\",\"condition\":\"is\",\"value\":\"123456789\",\"values\":null},{\"tag\":\"environment\",\"condition\":\"in\",\"value\":\"\",\"values\":[\"production\",\"staging\"]}],\"created\":\"2025-09-11T20:59:19.952563Z\",\"enabled\":true,\"last_modified_user_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"order_id\":1,\"provider\":[\"aws\",\"gcp\"],\"rule_name\":\"example-arbitrary-cost-rule\",\"strategy\":{\"method\":\"proportional\",\"granularity\":\"daily\",\"based_on_costs\":[{\"tag\":\"service\",\"condition\":\"is\",\"value\":\"web-api\",\"values\":null},{\"tag\":\"team\",\"condition\":\"not in\",\"value\":\"\",\"values\":[\"legacy\",\"deprecated\"]}],\"allocated_by_tag_keys\":[\"team\",\"environment\"]},\"type\":\"shared\",\"updated\":\"2025-09-11T21:00:21.353162Z\",\"version\":1}}}"
"size": 784,
"text": "{\"data\":{\"id\":\"683\",\"type\":\"arbitrary_rule\",\"attributes\":{\"costs_to_allocate\":[{\"tag\":\"account_id\",\"condition\":\"is\",\"value\":\"123456789\",\"values\":null},{\"tag\":\"environment\",\"condition\":\"in\",\"value\":\"\",\"values\":[\"production\",\"staging\"]}],\"created\":\"2025-10-08T19:31:23.246204745Z\",\"enabled\":true,\"last_modified_user_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"order_id\":1,\"provider\":[\"aws\",\"gcp\"],\"rule_name\":\"example-arbitrary-cost-rule\",\"strategy\":{\"method\":\"proportional\",\"granularity\":\"daily\",\"based_on_costs\":[{\"tag\":\"service\",\"condition\":\"is\",\"value\":\"web-api\",\"values\":null},{\"tag\":\"team\",\"condition\":\"not in\",\"value\":\"\",\"values\":[\"legacy\",\"deprecated\"]}],\"allocated_by_tag_keys\":[\"team\",\"environment\"]},\"type\":\"shared\",\"updated\":\"2025-10-08T19:31:23.246204745Z\",\"version\":1}}}"
},
"cookies": [],
"headers": [
Expand All @@ -57,8 +57,8 @@
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2025-09-11T21:00:21.181Z",
"time": 197
"startedDateTime": "2025-10-08T19:31:23.076Z",
"time": 184
}
],
"pages": [],
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2025-10-08T18:26:06.563Z"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"log": {
"_recordingName": "Cloud Cost Management/Create ruleset returns \"OK\" response",
"_recordingName": "Cloud Cost Management/Create tag pipeline ruleset returns \"OK\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
Expand All @@ -26,7 +26,7 @@
"value": "application/json"
}
],
"headersSize": 563,
"headersSize": 575,
"httpVersion": "HTTP/1.1",
"method": "POST",
"postData": {
Expand All @@ -42,7 +42,7 @@
"content": {
"mimeType": "application/vnd.api+json",
"size": 603,
"text": "{\"data\":{\"id\":\"1b680ec0-8e29-4b79-bb01-45f0c645a789\",\"type\":\"ruleset\",\"attributes\":{\"created\":{\"seconds\":1758041403,\"nanos\":117388000},\"enabled\":true,\"last_modified_user_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"modified\":{\"seconds\":1758041403,\"nanos\":117388000},\"name\":\"New Ruleset\",\"position\":1,\"rules\":[{\"name\":\"Add Cost Center Tag\",\"enabled\":true,\"query\":{\"query\":\"account_id:\\\"123456789\\\" AND service:\\\"web-api\\\"\",\"addition\":{\"key\":\"cost_center\",\"value\":\"engineering\"},\"if_not_exists\":true,\"case_insensitivity\":false},\"mapping\":null,\"reference_table\":null,\"metadata\":null}],\"version\":3603412}}}"
"text": "{\"data\":{\"id\":\"ee10c3ff-312f-464c-b4f6-46adaa6d00a1\",\"type\":\"ruleset\",\"attributes\":{\"created\":{\"seconds\":1759947966,\"nanos\":679638000},\"enabled\":true,\"last_modified_user_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"modified\":{\"seconds\":1759947966,\"nanos\":679638000},\"name\":\"New Ruleset\",\"position\":1,\"rules\":[{\"name\":\"Add Cost Center Tag\",\"enabled\":true,\"query\":{\"query\":\"account_id:\\\"123456789\\\" AND service:\\\"web-api\\\"\",\"addition\":{\"key\":\"cost_center\",\"value\":\"engineering\"},\"if_not_exists\":true,\"case_insensitivity\":false},\"mapping\":null,\"reference_table\":null,\"metadata\":null}],\"version\":3611102}}}"
},
"cookies": [],
"headers": [
Expand All @@ -57,8 +57,8 @@
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2025-09-16T16:51:02.189Z",
"time": 170
"startedDateTime": "2025-10-08T18:26:06.567Z",
"time": 149
}
],
"pages": [],
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2025-10-08T19:35:19.003Z"
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"log": {
"_recordingName": "Cloud Cost Management/Delete arbitrary cost rule returns \"No Content\" response",
"_recordingName": "Cloud Cost Management/Delete custom allocation rule returns \"No Content\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.5"
},
"entries": [
{
"_id": "fe56610784550285b6372c39e2b6b8f5",
"_id": "e708aa988ed30e2a1632c4f0fad22620",
"_order": 0,
"cache": {},
"request": {
Expand All @@ -21,11 +21,11 @@
"value": "*/*"
}
],
"headersSize": 515,
"headersSize": 520,
"httpVersion": "HTTP/1.1",
"method": "DELETE",
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/cost/arbitrary_rule/123456"
"url": "https://api.datadoghq.com/api/v2/cost/arbitrary_rule/683"
},
"response": {
"bodySize": 0,
Expand All @@ -41,8 +41,8 @@
"status": 204,
"statusText": "No Content"
},
"startedDateTime": "2025-09-11T21:01:36.424Z",
"time": 189
"startedDateTime": "2025-10-08T19:35:19.008Z",
"time": 233
}
],
"pages": [],
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2025-10-08T19:17:11.635Z"
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"log": {
"_recordingName": "Cloud Cost Management/Delete ruleset returns \"No Content\" response",
"_recordingName": "Cloud Cost Management/Delete tag pipeline ruleset returns \"No Content\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.5"
},
"entries": [
{
"_id": "761b458d79fec4fab29956d33c5a4353",
"_id": "a72a7ba3bce3921935458ff85c4a9452",
"_order": 0,
"cache": {},
"request": {
Expand All @@ -21,11 +21,11 @@
"value": "*/*"
}
],
"headersSize": 536,
"headersSize": 548,
"httpVersion": "HTTP/1.1",
"method": "DELETE",
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/tags/enrichment/1c5dae14-237d-4b9a-a515-aa55b3939142"
"url": "https://api.datadoghq.com/api/v2/tags/enrichment/ee10c3ff-312f-464c-b4f6-46adaa6d00a1"
},
"response": {
"bodySize": 0,
Expand All @@ -41,8 +41,8 @@
"status": 204,
"statusText": "No Content"
},
"startedDateTime": "2025-09-11T20:43:38.902Z",
"time": 180
"startedDateTime": "2025-10-08T19:17:11.639Z",
"time": 134
}
],
"pages": [],
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2025-10-08T19:33:08.375Z"
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"log": {
"_recordingName": "Cloud Cost Management/Get custom allocation rule returns \"OK\" response",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.5"
},
"entries": [
{
"_id": "c0a2afdff2d7f3f06a1d0460b37e86e3",
"_order": 0,
"cache": {},
"request": {
"bodySize": 0,
"cookies": [],
"headers": [
{
"_fromType": "array",
"name": "accept",
"value": "application/json"
}
],
"headersSize": 527,
"httpVersion": "HTTP/1.1",
"method": "GET",
"queryString": [],
"url": "https://api.datadoghq.com/api/v2/cost/arbitrary_rule/683"
},
"response": {
"bodySize": 806,
"content": {
"mimeType": "application/vnd.api+json",
"size": 806,
"text": "{\"data\":{\"id\":\"683\",\"type\":\"arbitrary_rule\",\"attributes\":{\"costs_to_allocate\":[{\"tag\":\"account_id\",\"condition\":\"is\",\"value\":\"123456789\",\"values\":null},{\"tag\":\"environment\",\"condition\":\"in\",\"value\":\"\",\"values\":[\"production\",\"staging\"]}],\"created\":\"2025-10-08T19:31:23.246204Z\",\"enabled\":true,\"last_modified_user_uuid\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"order_id\":1,\"processing_status\":\"error\",\"provider\":[\"aws\",\"gcp\"],\"rule_name\":\"example-arbitrary-cost-rule\",\"strategy\":{\"method\":\"proportional\",\"granularity\":\"daily\",\"based_on_costs\":[{\"tag\":\"service\",\"condition\":\"is\",\"value\":\"web-api\",\"values\":null},{\"tag\":\"team\",\"condition\":\"not in\",\"value\":\"\",\"values\":[\"legacy\",\"deprecated\"]}],\"allocated_by_tag_keys\":[\"team\",\"environment\"]},\"type\":\"shared\",\"updated\":\"2025-10-08T19:31:23.246204Z\",\"version\":1}}}"
},
"cookies": [],
"headers": [
{
"name": "content-type",
"value": "application/vnd.api+json"
}
],
"headersSize": 669,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2025-10-08T19:33:08.379Z",
"time": 204
}
],
"pages": [],
"version": "1.2"
}
}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"2025-10-08T18:38:56.657Z"
Loading