diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 4d62abaf52b8..0e0b198a8d7e 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -2884,6 +2884,7 @@ components: - ci_pipelines - incident_analytics - product_analytics + - on_call_events example: logs type: string x-enum-varnames: @@ -2899,6 +2900,7 @@ components: - CI_PIPELINES - INCIDENT_ANALYTICS - PRODUCT_ANALYTICS + - ON_CALL_EVENTS FormulaAndFunctionMetricAggregation: description: The aggregation methods available for metrics queries. enum: diff --git a/services/dashboards/src/v1/models/FormulaAndFunctionEventsDataSource.ts b/services/dashboards/src/v1/models/FormulaAndFunctionEventsDataSource.ts index e52e7a54da96..5611e93adda7 100644 --- a/services/dashboards/src/v1/models/FormulaAndFunctionEventsDataSource.ts +++ b/services/dashboards/src/v1/models/FormulaAndFunctionEventsDataSource.ts @@ -16,6 +16,7 @@ export type FormulaAndFunctionEventsDataSource = | typeof CI_PIPELINES | typeof INCIDENT_ANALYTICS | typeof PRODUCT_ANALYTICS + | typeof ON_CALL_EVENTS | UnparsedObject; export const LOGS = "logs"; export const SPANS = "spans"; @@ -29,3 +30,4 @@ export const CI_TESTS = "ci_tests"; export const CI_PIPELINES = "ci_pipelines"; export const INCIDENT_ANALYTICS = "incident_analytics"; export const PRODUCT_ANALYTICS = "product_analytics"; +export const ON_CALL_EVENTS = "on_call_events"; diff --git a/services/dashboards/src/v1/models/TypingInfo.ts b/services/dashboards/src/v1/models/TypingInfo.ts index 3bfe1b7e52e2..466acb815a24 100644 --- a/services/dashboards/src/v1/models/TypingInfo.ts +++ b/services/dashboards/src/v1/models/TypingInfo.ts @@ -235,6 +235,7 @@ export const TypingInfo: ModelTypingInfo = { "ci_pipelines", "incident_analytics", "product_analytics", + "on_call_events", ], FormulaAndFunctionMetricAggregation: [ "avg", diff --git a/services/notebooks/src/v1/models/FormulaAndFunctionEventsDataSource.ts b/services/notebooks/src/v1/models/FormulaAndFunctionEventsDataSource.ts index e52e7a54da96..5611e93adda7 100644 --- a/services/notebooks/src/v1/models/FormulaAndFunctionEventsDataSource.ts +++ b/services/notebooks/src/v1/models/FormulaAndFunctionEventsDataSource.ts @@ -16,6 +16,7 @@ export type FormulaAndFunctionEventsDataSource = | typeof CI_PIPELINES | typeof INCIDENT_ANALYTICS | typeof PRODUCT_ANALYTICS + | typeof ON_CALL_EVENTS | UnparsedObject; export const LOGS = "logs"; export const SPANS = "spans"; @@ -29,3 +30,4 @@ export const CI_TESTS = "ci_tests"; export const CI_PIPELINES = "ci_pipelines"; export const INCIDENT_ANALYTICS = "incident_analytics"; export const PRODUCT_ANALYTICS = "product_analytics"; +export const ON_CALL_EVENTS = "on_call_events"; diff --git a/services/notebooks/src/v1/models/TypingInfo.ts b/services/notebooks/src/v1/models/TypingInfo.ts index f88f0becc765..811c85109f35 100644 --- a/services/notebooks/src/v1/models/TypingInfo.ts +++ b/services/notebooks/src/v1/models/TypingInfo.ts @@ -145,6 +145,7 @@ export const TypingInfo: ModelTypingInfo = { "ci_pipelines", "incident_analytics", "product_analytics", + "on_call_events", ], FormulaAndFunctionMetricAggregation: [ "avg",