Skip to content

Commit 8bf1b75

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add missing measures for SLOs data source (#2095)
* Regenerate client from commit 9de1804a of spec repo * pre-commit fixes * pre-commit fixes --------- Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent e4e3af0 commit 8bf1b75

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
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": "2024-11-08 19:36:37.918834",
8-
"spec_repo_commit": "ae3b5463"
7+
"regenerated": "2024-11-11 17:25:14.486629",
8+
"spec_repo_commit": "9de1804a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-11-08 19:36:37.937524",
13-
"spec_repo_commit": "ae3b5463"
12+
"regenerated": "2024-11-11 17:25:14.505332",
13+
"spec_repo_commit": "9de1804a"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3040,6 +3040,8 @@ components:
30403040
enum:
30413041
- good_events
30423042
- bad_events
3043+
- good_minutes
3044+
- bad_minutes
30433045
- slo_status
30443046
- error_budget_remaining
30453047
- burn_rate
@@ -3049,6 +3051,8 @@ components:
30493051
x-enum-varnames:
30503052
- GOOD_EVENTS
30513053
- BAD_EVENTS
3054+
- GOOD_MINUTES
3055+
- BAD_MINUTES
30523056
- SLO_STATUS
30533057
- ERROR_BUDGET_REMAINING
30543058
- BURN_RATE

examples/v2/security-monitoring/CancelHistoricalJob.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
require "datadog_api_client"
44
DatadogAPIClient.configure do |config|
5-
config.unstable_operations["v2.run_historical_job".to_sym] = true
65
config.unstable_operations["v2.cancel_historical_job".to_sym] = true
6+
config.unstable_operations["v2.run_historical_job".to_sym] = true
77
end
88
api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new
99

examples/v2/security-monitoring/GetHistoricalJob.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
require "datadog_api_client"
44
DatadogAPIClient.configure do |config|
5-
config.unstable_operations["v2.run_historical_job".to_sym] = true
65
config.unstable_operations["v2.get_historical_job".to_sym] = true
6+
config.unstable_operations["v2.run_historical_job".to_sym] = true
77
end
88
api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new
99

lib/datadog_api_client/v1/models/formula_and_function_slo_measure.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class FormulaAndFunctionSLOMeasure
2323

2424
GOOD_EVENTS = "good_events".freeze
2525
BAD_EVENTS = "bad_events".freeze
26+
GOOD_MINUTES = "good_minutes".freeze
27+
BAD_MINUTES = "bad_minutes".freeze
2628
SLO_STATUS = "slo_status".freeze
2729
ERROR_BUDGET_REMAINING = "error_budget_remaining".freeze
2830
BURN_RATE = "burn_rate".freeze

0 commit comments

Comments
 (0)