Skip to content

Commit 516b901

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Allow errors data source in formula event queries for dashboards (#3819)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 50fbe89 commit 516b901

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3257,6 +3257,7 @@ components:
32573257
- incident_analytics
32583258
- product_analytics
32593259
- on_call_events
3260+
- errors
32603261
example: "logs"
32613262
type: string
32623263
x-enum-varnames:
@@ -3273,6 +3274,7 @@ components:
32733274
- INCIDENT_ANALYTICS
32743275
- PRODUCT_ANALYTICS
32753276
- ON_CALL_EVENTS
3277+
- ERRORS
32763278
FormulaAndFunctionMetricAggregation:
32773279
description: The aggregation methods available for metrics queries.
32783280
enum:

src/main/java/com/datadog/api/client/v1/model/FormulaAndFunctionEventsDataSource.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ public class FormulaAndFunctionEventsDataSource extends ModelEnum<String> {
3838
"ci_pipelines",
3939
"incident_analytics",
4040
"product_analytics",
41-
"on_call_events"));
41+
"on_call_events",
42+
"errors"));
4243

4344
public static final FormulaAndFunctionEventsDataSource LOGS =
4445
new FormulaAndFunctionEventsDataSource("logs");
@@ -66,6 +67,8 @@ public class FormulaAndFunctionEventsDataSource extends ModelEnum<String> {
6667
new FormulaAndFunctionEventsDataSource("product_analytics");
6768
public static final FormulaAndFunctionEventsDataSource ON_CALL_EVENTS =
6869
new FormulaAndFunctionEventsDataSource("on_call_events");
70+
public static final FormulaAndFunctionEventsDataSource ERRORS =
71+
new FormulaAndFunctionEventsDataSource("errors");
6972

7073
FormulaAndFunctionEventsDataSource(String value) {
7174
super(value, allowedValues);

0 commit comments

Comments
 (0)