Skip to content

Commit

Permalink
Add missing measures for SLOs data source (#2774)
Browse files Browse the repository at this point in the history
* Regenerate client from commit 9de1804a of spec repo

* pre-commit fixes

* pre-commit fixes

* pre-commit fixes

* pre-commit fixes

* pre-commit fixes

* pre-commit fixes

* pre-commit fixes

---------

Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Nov 11, 2024
1 parent c133ed0 commit 893993b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-08 19:36:33.795117",
"spec_repo_commit": "ae3b5463"
"regenerated": "2024-11-11 17:25:14.651723",
"spec_repo_commit": "9de1804a"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-08 19:36:33.814631",
"spec_repo_commit": "ae3b5463"
"regenerated": "2024-11-11 17:25:14.670393",
"spec_repo_commit": "9de1804a"
}
}
}
4 changes: 4 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3040,6 +3040,8 @@ components:
enum:
- good_events
- bad_events
- good_minutes
- bad_minutes
- slo_status
- error_budget_remaining
- burn_rate
Expand All @@ -3049,6 +3051,8 @@ components:
x-enum-varnames:
- GOOD_EVENTS
- BAD_EVENTS
- GOOD_MINUTES
- BAD_MINUTES
- SLO_STATUS
- ERROR_BUDGET_REMAINING
- BURN_RATE
Expand Down
4 changes: 4 additions & 0 deletions api/datadogV1/model_formula_and_function_slo_measure.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ type FormulaAndFunctionSLOMeasure string
const (
FORMULAANDFUNCTIONSLOMEASURE_GOOD_EVENTS FormulaAndFunctionSLOMeasure = "good_events"
FORMULAANDFUNCTIONSLOMEASURE_BAD_EVENTS FormulaAndFunctionSLOMeasure = "bad_events"
FORMULAANDFUNCTIONSLOMEASURE_GOOD_MINUTES FormulaAndFunctionSLOMeasure = "good_minutes"
FORMULAANDFUNCTIONSLOMEASURE_BAD_MINUTES FormulaAndFunctionSLOMeasure = "bad_minutes"
FORMULAANDFUNCTIONSLOMEASURE_SLO_STATUS FormulaAndFunctionSLOMeasure = "slo_status"
FORMULAANDFUNCTIONSLOMEASURE_ERROR_BUDGET_REMAINING FormulaAndFunctionSLOMeasure = "error_budget_remaining"
FORMULAANDFUNCTIONSLOMEASURE_BURN_RATE FormulaAndFunctionSLOMeasure = "burn_rate"
Expand All @@ -26,6 +28,8 @@ const (
var allowedFormulaAndFunctionSLOMeasureEnumValues = []FormulaAndFunctionSLOMeasure{
FORMULAANDFUNCTIONSLOMEASURE_GOOD_EVENTS,
FORMULAANDFUNCTIONSLOMEASURE_BAD_EVENTS,
FORMULAANDFUNCTIONSLOMEASURE_GOOD_MINUTES,
FORMULAANDFUNCTIONSLOMEASURE_BAD_MINUTES,
FORMULAANDFUNCTIONSLOMEASURE_SLO_STATUS,
FORMULAANDFUNCTIONSLOMEASURE_ERROR_BUDGET_REMAINING,
FORMULAANDFUNCTIONSLOMEASURE_BURN_RATE,
Expand Down

0 comments on commit 893993b

Please sign in to comment.