Skip to content

Commit 9f7f479

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
remove cost from event data source (#466)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 4249e96 commit 9f7f479

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-01-15 09:47:00.356255",
8-
"spec_repo_commit": "21b02fc5"
7+
"regenerated": "2025-01-15 18:03:10.176525",
8+
"spec_repo_commit": "e54847a1"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-15 09:47:00.371502",
13-
"spec_repo_commit": "21b02fc5"
12+
"regenerated": "2025-01-15 18:03:10.191590",
13+
"spec_repo_commit": "e54847a1"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -6918,7 +6918,6 @@ components:
69186918
- spans
69196919
- database_queries
69206920
- network
6921-
- cost
69226921
example: rum
69236922
type: string
69246923
x-enum-varnames:
@@ -6931,7 +6930,6 @@ components:
69316930
- SPANS
69326931
- DATABASE_QUERIES
69336932
- NETWORK
6934-
- COST
69356933
MonitorFormulaAndFunctionQueryDefinition:
69366934
description: A formula and function query.
69376935
oneOf:

src/datadogV1/model/model_monitor_formula_and_function_events_data_source.rs

-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ pub enum MonitorFormulaAndFunctionEventsDataSource {
1616
SPANS,
1717
DATABASE_QUERIES,
1818
NETWORK,
19-
COST,
2019
UnparsedObject(crate::datadog::UnparsedObject),
2120
}
2221

@@ -32,7 +31,6 @@ impl ToString for MonitorFormulaAndFunctionEventsDataSource {
3231
Self::SPANS => String::from("spans"),
3332
Self::DATABASE_QUERIES => String::from("database_queries"),
3433
Self::NETWORK => String::from("network"),
35-
Self::COST => String::from("cost"),
3634
Self::UnparsedObject(v) => v.value.to_string(),
3735
}
3836
}
@@ -66,7 +64,6 @@ impl<'de> Deserialize<'de> for MonitorFormulaAndFunctionEventsDataSource {
6664
"spans" => Self::SPANS,
6765
"database_queries" => Self::DATABASE_QUERIES,
6866
"network" => Self::NETWORK,
69-
"cost" => Self::COST,
7067
_ => Self::UnparsedObject(crate::datadog::UnparsedObject {
7168
value: serde_json::Value::String(s.into()),
7269
}),

0 commit comments

Comments
 (0)