Skip to content

Commit fbda3de

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Dashboards - Add on_call_events datasources (#1001)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent e45ad25 commit fbda3de

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2884,6 +2884,7 @@ components:
28842884
- ci_pipelines
28852885
- incident_analytics
28862886
- product_analytics
2887+
- on_call_events
28872888
example: logs
28882889
type: string
28892890
x-enum-varnames:
@@ -2899,6 +2900,7 @@ components:
28992900
- CI_PIPELINES
29002901
- INCIDENT_ANALYTICS
29012902
- PRODUCT_ANALYTICS
2903+
- ON_CALL_EVENTS
29022904
FormulaAndFunctionMetricAggregation:
29032905
description: The aggregation methods available for metrics queries.
29042906
enum:

src/datadogV1/model/model_formula_and_function_events_data_source.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ pub enum FormulaAndFunctionEventsDataSource {
1919
CI_PIPELINES,
2020
INCIDENT_ANALYTICS,
2121
PRODUCT_ANALYTICS,
22+
ON_CALL_EVENTS,
2223
UnparsedObject(crate::datadog::UnparsedObject),
2324
}
2425

@@ -37,6 +38,7 @@ impl ToString for FormulaAndFunctionEventsDataSource {
3738
Self::CI_PIPELINES => String::from("ci_pipelines"),
3839
Self::INCIDENT_ANALYTICS => String::from("incident_analytics"),
3940
Self::PRODUCT_ANALYTICS => String::from("product_analytics"),
41+
Self::ON_CALL_EVENTS => String::from("on_call_events"),
4042
Self::UnparsedObject(v) => v.value.to_string(),
4143
}
4244
}
@@ -73,6 +75,7 @@ impl<'de> Deserialize<'de> for FormulaAndFunctionEventsDataSource {
7375
"ci_pipelines" => Self::CI_PIPELINES,
7476
"incident_analytics" => Self::INCIDENT_ANALYTICS,
7577
"product_analytics" => Self::PRODUCT_ANALYTICS,
78+
"on_call_events" => Self::ON_CALL_EVENTS,
7679
_ => Self::UnparsedObject(crate::datadog::UnparsedObject {
7780
value: serde_json::Value::String(s.into()),
7881
}),

0 commit comments

Comments
 (0)