datadog_api_client 2.7.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/schemas/v1/openapi.yaml +195 -46
- data/.generator/schemas/v2/openapi.yaml +877 -96
- data/.generator/src/generator/formatter.py +1 -0
- data/.generator/src/generator/templates/model_base.j2 +8 -4
- data/CHANGELOG.md +39 -0
- data/examples/v1/dashboards/CreateDashboard_109450134.rb +44 -0
- data/examples/v1/dashboards/CreateDashboard_2800096921.rb +62 -0
- data/examples/v1/dashboards/CreateDashboard_3195475781.rb +32 -0
- data/examples/v1/service-level-objectives/SearchSLO.rb +0 -3
- data/examples/v2/incidents/CreateIncidentIntegration.rb +31 -0
- data/examples/v2/incidents/DeleteIncidentIntegration.rb +14 -0
- data/examples/v2/incidents/GetIncidentIntegration.rb +14 -0
- data/examples/v2/incidents/ListIncidentIntegrations.rb +11 -0
- data/examples/v2/incidents/UpdateIncidentIntegration.rb +34 -0
- data/examples/v2/ip-allowlist/GetIPAllowlist.rb +5 -0
- data/examples/v2/ip-allowlist/UpdateIPAllowlist.rb +25 -0
- data/examples/v2/logs-metrics/CreateLogsMetric.rb +1 -1
- data/examples/v2/restriction-policies/DeleteRestrictionPolicy.rb +5 -0
- data/examples/v2/restriction-policies/GetRestrictionPolicy.rb +5 -0
- data/examples/v2/restriction-policies/UpdateRestrictionPolicy.rb +25 -0
- data/examples/v2/synthetics/GetOnDemandConcurrencyCap.rb +5 -0
- data/examples/v2/synthetics/GetOnDemandConcurrencyCap_2633566918.rb +5 -0
- data/examples/v2/synthetics/SetOnDemandConcurrencyCap.rb +7 -0
- data/examples/v2/synthetics/SetOnDemandConcurrencyCap_2850884405.rb +9 -0
- data/lib/datadog_api_client/configuration.rb +5 -1
- data/lib/datadog_api_client/inflector.rb +38 -0
- data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +0 -6
- data/lib/datadog_api_client/v1/api/snapshots_api.rb +2 -2
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
- data/lib/datadog_api_client/v1/model_base.rb +7 -3
- data/lib/datadog_api_client/v1/models/application_key.rb +16 -16
- data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/downtime.rb +1 -1
- data/lib/datadog_api_client/v1/models/downtime_child.rb +1 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/host_meta.rb +3 -3
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/ip_prefixes_orchestrator.rb +105 -0
- data/lib/datadog_api_client/v1/models/ip_ranges.rb +11 -1
- data/lib/datadog_api_client/v1/models/list_stream_source.rb +3 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +31 -11
- data/lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb +11 -1
- data/lib/datadog_api_client/v1/models/slo_list_widget_query.rb +16 -4
- data/lib/datadog_api_client/v1/models/slo_overall_statuses.rb +24 -1
- data/lib/datadog_api_client/v1/models/slo_state.rb +29 -0
- data/lib/datadog_api_client/v1/models/slo_status.rb +164 -0
- data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +10 -10
- data/lib/datadog_api_client/v1/models/usage_rum_sessions_hour.rb +12 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +41 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +41 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +41 -1
- data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/ci_visibility_tests_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/incidents_api.rb +384 -0
- data/lib/datadog_api_client/v2/api/ip_allowlist_api.rb +153 -0
- data/lib/datadog_api_client/v2/api/logs_api.rb +1 -0
- data/lib/datadog_api_client/v2/api/metrics_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/monitors_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +236 -0
- data/lib/datadog_api_client/v2/api/synthetics_api.rb +153 -0
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
- data/lib/datadog_api_client/v2/model_base.rb +7 -3
- data/lib/datadog_api_client/v2/models/events_data_source.rb +1 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb +161 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_create_data.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_create_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_list_response.rb +126 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_metadata.rb +63 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_patch_data.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_patch_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_response.rb +114 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_included_item.rb +62 -0
- data/lib/datadog_api_client/v2/models/incident_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/ip_allowlist_attributes.rb +103 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_data.rb +122 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_entry.rb +102 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_entry_attributes.rb +121 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_entry_data.rb +122 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_entry_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_response.rb +91 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/ip_allowlist_update_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/jira_integration_metadata.rb +104 -0
- data/lib/datadog_api_client/v2/models/jira_integration_metadata_issues_item.rb +153 -0
- data/lib/datadog_api_client/v2/models/metrics_aggregator.rb +4 -0
- data/lib/datadog_api_client/v2/models/metrics_data_source.rb +2 -1
- data/lib/datadog_api_client/v2/models/metrics_scalar_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/metrics_timeseries_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap.rb +91 -0
- data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap_attributes.rb +91 -0
- data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap_response.rb +91 -0
- data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +1 -1
- data/lib/datadog_api_client/v2/models/restriction_policy.rb +144 -0
- data/lib/datadog_api_client/v2/models/restriction_policy_attributes.rb +104 -0
- data/lib/datadog_api_client/v2/models/restriction_policy_binding.rb +127 -0
- data/lib/datadog_api_client/v2/models/restriction_policy_response.rb +102 -0
- data/lib/datadog_api_client/v2/models/restriction_policy_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/restriction_policy_update_request.rb +102 -0
- data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +7 -7
- data/lib/datadog_api_client/v2/models/rum_application_list_attributes.rb +7 -7
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_read.rb +1 -0
- data/lib/datadog_api_client/v2/models/slack_integration_metadata.rb +104 -0
- data/lib/datadog_api_client/v2/models/slack_integration_metadata_channel_item.rb +154 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +57 -2
|
@@ -28,6 +28,9 @@ module DatadogAPIClient::V1
|
|
|
28
28
|
# Error message if SLO status or error budget could not be calculated.
|
|
29
29
|
attr_accessor :error
|
|
30
30
|
|
|
31
|
+
# Remaining error budget of the SLO in percentage.
|
|
32
|
+
attr_accessor :error_budget_remaining
|
|
33
|
+
|
|
31
34
|
# timestamp (UNIX time in seconds) of when the SLO status and error budget
|
|
32
35
|
# were calculated.
|
|
33
36
|
attr_accessor :indexed_at
|
|
@@ -38,6 +41,9 @@ module DatadogAPIClient::V1
|
|
|
38
41
|
# The amount of decimal places the SLI value is accurate to.
|
|
39
42
|
attr_accessor :span_precision
|
|
40
43
|
|
|
44
|
+
# State of the SLO.
|
|
45
|
+
attr_accessor :state
|
|
46
|
+
|
|
41
47
|
# The status of the SLO.
|
|
42
48
|
attr_accessor :status
|
|
43
49
|
|
|
@@ -52,9 +58,11 @@ module DatadogAPIClient::V1
|
|
|
52
58
|
def self.attribute_map
|
|
53
59
|
{
|
|
54
60
|
:'error' => :'error',
|
|
61
|
+
:'error_budget_remaining' => :'error_budget_remaining',
|
|
55
62
|
:'indexed_at' => :'indexed_at',
|
|
56
63
|
:'raw_error_budget_remaining' => :'raw_error_budget_remaining',
|
|
57
64
|
:'span_precision' => :'span_precision',
|
|
65
|
+
:'state' => :'state',
|
|
58
66
|
:'status' => :'status',
|
|
59
67
|
:'target' => :'target',
|
|
60
68
|
:'timeframe' => :'timeframe'
|
|
@@ -66,9 +74,11 @@ module DatadogAPIClient::V1
|
|
|
66
74
|
def self.openapi_types
|
|
67
75
|
{
|
|
68
76
|
:'error' => :'String',
|
|
77
|
+
:'error_budget_remaining' => :'Float',
|
|
69
78
|
:'indexed_at' => :'Integer',
|
|
70
79
|
:'raw_error_budget_remaining' => :'SLORawErrorBudgetRemaining',
|
|
71
80
|
:'span_precision' => :'Integer',
|
|
81
|
+
:'state' => :'SLOState',
|
|
72
82
|
:'status' => :'Float',
|
|
73
83
|
:'target' => :'Float',
|
|
74
84
|
:'timeframe' => :'SLOTimeframe'
|
|
@@ -80,6 +90,9 @@ module DatadogAPIClient::V1
|
|
|
80
90
|
def self.openapi_nullable
|
|
81
91
|
Set.new([
|
|
82
92
|
:'error',
|
|
93
|
+
:'error_budget_remaining',
|
|
94
|
+
:'raw_error_budget_remaining',
|
|
95
|
+
:'span_precision',
|
|
83
96
|
:'status',
|
|
84
97
|
])
|
|
85
98
|
end
|
|
@@ -104,6 +117,10 @@ module DatadogAPIClient::V1
|
|
|
104
117
|
self.error = attributes[:'error']
|
|
105
118
|
end
|
|
106
119
|
|
|
120
|
+
if attributes.key?(:'error_budget_remaining')
|
|
121
|
+
self.error_budget_remaining = attributes[:'error_budget_remaining']
|
|
122
|
+
end
|
|
123
|
+
|
|
107
124
|
if attributes.key?(:'indexed_at')
|
|
108
125
|
self.indexed_at = attributes[:'indexed_at']
|
|
109
126
|
end
|
|
@@ -116,6 +133,10 @@ module DatadogAPIClient::V1
|
|
|
116
133
|
self.span_precision = attributes[:'span_precision']
|
|
117
134
|
end
|
|
118
135
|
|
|
136
|
+
if attributes.key?(:'state')
|
|
137
|
+
self.state = attributes[:'state']
|
|
138
|
+
end
|
|
139
|
+
|
|
119
140
|
if attributes.key?(:'status')
|
|
120
141
|
self.status = attributes[:'status']
|
|
121
142
|
end
|
|
@@ -143,9 +164,11 @@ module DatadogAPIClient::V1
|
|
|
143
164
|
return true if self.equal?(o)
|
|
144
165
|
self.class == o.class &&
|
|
145
166
|
error == o.error &&
|
|
167
|
+
error_budget_remaining == o.error_budget_remaining &&
|
|
146
168
|
indexed_at == o.indexed_at &&
|
|
147
169
|
raw_error_budget_remaining == o.raw_error_budget_remaining &&
|
|
148
170
|
span_precision == o.span_precision &&
|
|
171
|
+
state == o.state &&
|
|
149
172
|
status == o.status &&
|
|
150
173
|
target == o.target &&
|
|
151
174
|
timeframe == o.timeframe
|
|
@@ -155,7 +178,7 @@ module DatadogAPIClient::V1
|
|
|
155
178
|
# @return [Integer] Hash code
|
|
156
179
|
# @!visibility private
|
|
157
180
|
def hash
|
|
158
|
-
[error, indexed_at, raw_error_budget_remaining, span_precision, status, target, timeframe].hash
|
|
181
|
+
[error, error_budget_remaining, indexed_at, raw_error_budget_remaining, span_precision, state, status, target, timeframe].hash
|
|
159
182
|
end
|
|
160
183
|
end
|
|
161
184
|
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V1 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V1
|
|
20
|
+
# State of the SLO.
|
|
21
|
+
class SLOState
|
|
22
|
+
include BaseEnumModel
|
|
23
|
+
|
|
24
|
+
BREACHED = "breached".freeze
|
|
25
|
+
WARNING = "warning".freeze
|
|
26
|
+
OK = "ok".freeze
|
|
27
|
+
NO_DATA = "no_data".freeze
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Datadog API V1 Collection
|
|
3
|
+
|
|
4
|
+
#Collection of all Datadog Public endpoints.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
Contact: support@datadoghq.com
|
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
|
9
|
+
|
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
|
13
|
+
|
|
14
|
+
=end
|
|
15
|
+
|
|
16
|
+
require 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V1
|
|
20
|
+
# Status of the SLO's primary timeframe.
|
|
21
|
+
class SLOStatus
|
|
22
|
+
include BaseGenericModel
|
|
23
|
+
|
|
24
|
+
# Whether the object has unparsed attributes
|
|
25
|
+
# @!visibility private
|
|
26
|
+
attr_accessor :_unparsed
|
|
27
|
+
|
|
28
|
+
# Error message if SLO status or error budget could not be calculated.
|
|
29
|
+
attr_accessor :calculation_error
|
|
30
|
+
|
|
31
|
+
# Remaining error budget of the SLO in percentage.
|
|
32
|
+
attr_accessor :error_budget_remaining
|
|
33
|
+
|
|
34
|
+
# timestamp (UNIX time in seconds) of when the SLO status and error budget
|
|
35
|
+
# were calculated.
|
|
36
|
+
attr_accessor :indexed_at
|
|
37
|
+
|
|
38
|
+
# Error budget remaining for an SLO.
|
|
39
|
+
attr_accessor :raw_error_budget_remaining
|
|
40
|
+
|
|
41
|
+
# The current service level indicator (SLI) of the SLO, also known as 'status'. This is a percentage value from 0-100 (inclusive).
|
|
42
|
+
attr_accessor :sli
|
|
43
|
+
|
|
44
|
+
# The number of decimal places the SLI value is accurate to.
|
|
45
|
+
attr_accessor :span_precision
|
|
46
|
+
|
|
47
|
+
# State of the SLO.
|
|
48
|
+
attr_accessor :state
|
|
49
|
+
|
|
50
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
51
|
+
# @!visibility private
|
|
52
|
+
def self.attribute_map
|
|
53
|
+
{
|
|
54
|
+
:'calculation_error' => :'calculation_error',
|
|
55
|
+
:'error_budget_remaining' => :'error_budget_remaining',
|
|
56
|
+
:'indexed_at' => :'indexed_at',
|
|
57
|
+
:'raw_error_budget_remaining' => :'raw_error_budget_remaining',
|
|
58
|
+
:'sli' => :'sli',
|
|
59
|
+
:'span_precision' => :'span_precision',
|
|
60
|
+
:'state' => :'state'
|
|
61
|
+
}
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# Attribute type mapping.
|
|
65
|
+
# @!visibility private
|
|
66
|
+
def self.openapi_types
|
|
67
|
+
{
|
|
68
|
+
:'calculation_error' => :'String',
|
|
69
|
+
:'error_budget_remaining' => :'Float',
|
|
70
|
+
:'indexed_at' => :'Integer',
|
|
71
|
+
:'raw_error_budget_remaining' => :'SLORawErrorBudgetRemaining',
|
|
72
|
+
:'sli' => :'Float',
|
|
73
|
+
:'span_precision' => :'Integer',
|
|
74
|
+
:'state' => :'SLOState'
|
|
75
|
+
}
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# List of attributes with nullable: true
|
|
79
|
+
# @!visibility private
|
|
80
|
+
def self.openapi_nullable
|
|
81
|
+
Set.new([
|
|
82
|
+
:'calculation_error',
|
|
83
|
+
:'error_budget_remaining',
|
|
84
|
+
:'raw_error_budget_remaining',
|
|
85
|
+
:'sli',
|
|
86
|
+
:'span_precision',
|
|
87
|
+
])
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Initializes the object
|
|
91
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
|
92
|
+
# @!visibility private
|
|
93
|
+
def initialize(attributes = {})
|
|
94
|
+
if (!attributes.is_a?(Hash))
|
|
95
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SLOStatus` initialize method"
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
99
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
100
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
101
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::SLOStatus`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
102
|
+
end
|
|
103
|
+
h[k.to_sym] = v
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
if attributes.key?(:'calculation_error')
|
|
107
|
+
self.calculation_error = attributes[:'calculation_error']
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
if attributes.key?(:'error_budget_remaining')
|
|
111
|
+
self.error_budget_remaining = attributes[:'error_budget_remaining']
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
if attributes.key?(:'indexed_at')
|
|
115
|
+
self.indexed_at = attributes[:'indexed_at']
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
if attributes.key?(:'raw_error_budget_remaining')
|
|
119
|
+
self.raw_error_budget_remaining = attributes[:'raw_error_budget_remaining']
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
if attributes.key?(:'sli')
|
|
123
|
+
self.sli = attributes[:'sli']
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
if attributes.key?(:'span_precision')
|
|
127
|
+
self.span_precision = attributes[:'span_precision']
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
if attributes.key?(:'state')
|
|
131
|
+
self.state = attributes[:'state']
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# Check to see if the all the properties in the model are valid
|
|
136
|
+
# @return true if the model is valid
|
|
137
|
+
# @!visibility private
|
|
138
|
+
def valid?
|
|
139
|
+
true
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# Checks equality by comparing each attribute.
|
|
143
|
+
# @param o [Object] Object to be compared
|
|
144
|
+
# @!visibility private
|
|
145
|
+
def ==(o)
|
|
146
|
+
return true if self.equal?(o)
|
|
147
|
+
self.class == o.class &&
|
|
148
|
+
calculation_error == o.calculation_error &&
|
|
149
|
+
error_budget_remaining == o.error_budget_remaining &&
|
|
150
|
+
indexed_at == o.indexed_at &&
|
|
151
|
+
raw_error_budget_remaining == o.raw_error_budget_remaining &&
|
|
152
|
+
sli == o.sli &&
|
|
153
|
+
span_precision == o.span_precision &&
|
|
154
|
+
state == o.state
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# Calculates hash code according to all attributes.
|
|
158
|
+
# @return [Integer] Hash code
|
|
159
|
+
# @!visibility private
|
|
160
|
+
def hash
|
|
161
|
+
[calculation_error, error_budget_remaining, indexed_at, raw_error_budget_remaining, sli, span_precision, state].hash
|
|
162
|
+
end
|
|
163
|
+
end
|
|
164
|
+
end
|
|
@@ -109,34 +109,34 @@ module DatadogAPIClient::V1
|
|
|
109
109
|
# The Database Monitoring normalized queries usage by tag(s).
|
|
110
110
|
attr_accessor :dbm_queries_usage
|
|
111
111
|
|
|
112
|
-
# The percentage of estimated live indexed logs usage by tag(s).
|
|
112
|
+
# The percentage of estimated live indexed logs usage by tag(s).
|
|
113
113
|
attr_accessor :estimated_indexed_logs_percentage
|
|
114
114
|
|
|
115
|
-
# The estimated live indexed logs usage by tag(s).
|
|
115
|
+
# The estimated live indexed logs usage by tag(s).
|
|
116
116
|
attr_accessor :estimated_indexed_logs_usage
|
|
117
117
|
|
|
118
|
-
# The percentage of estimated indexed spans usage by tag(s).
|
|
118
|
+
# The percentage of estimated indexed spans usage by tag(s).
|
|
119
119
|
attr_accessor :estimated_indexed_spans_percentage
|
|
120
120
|
|
|
121
|
-
# The estimated indexed spans usage by tag(s).
|
|
121
|
+
# The estimated indexed spans usage by tag(s).
|
|
122
122
|
attr_accessor :estimated_indexed_spans_usage
|
|
123
123
|
|
|
124
|
-
# The percentage of estimated live ingested logs usage by tag(s).
|
|
124
|
+
# The percentage of estimated live ingested logs usage by tag(s).
|
|
125
125
|
attr_accessor :estimated_ingested_logs_percentage
|
|
126
126
|
|
|
127
|
-
# The estimated live ingested logs usage by tag(s).
|
|
127
|
+
# The estimated live ingested logs usage by tag(s).
|
|
128
128
|
attr_accessor :estimated_ingested_logs_usage
|
|
129
129
|
|
|
130
|
-
# The percentage of estimated ingested spans usage by tag(s).
|
|
130
|
+
# The percentage of estimated ingested spans usage by tag(s).
|
|
131
131
|
attr_accessor :estimated_ingested_spans_percentage
|
|
132
132
|
|
|
133
|
-
# The estimated ingested spans usage by tag(s).
|
|
133
|
+
# The estimated ingested spans usage by tag(s).
|
|
134
134
|
attr_accessor :estimated_ingested_spans_usage
|
|
135
135
|
|
|
136
|
-
# The percentage of estimated rum sessions usage by tag(s).
|
|
136
|
+
# The percentage of estimated rum sessions usage by tag(s).
|
|
137
137
|
attr_accessor :estimated_rum_sessions_percentage
|
|
138
138
|
|
|
139
|
-
# The estimated rum sessions usage by tag(s).
|
|
139
|
+
# The estimated rum sessions usage by tag(s).
|
|
140
140
|
attr_accessor :estimated_rum_sessions_usage
|
|
141
141
|
|
|
142
142
|
# The percentage of infrastructure host usage by tag(s).
|
|
@@ -43,6 +43,9 @@ module DatadogAPIClient::V1
|
|
|
43
43
|
# Contains the number of mobile RUM Sessions on Android (data available beginning December 1, 2020).
|
|
44
44
|
attr_accessor :session_count_android
|
|
45
45
|
|
|
46
|
+
# Contains the number of mobile RUM Sessions on Flutter (data available beginning March 1, 2023).
|
|
47
|
+
attr_accessor :session_count_flutter
|
|
48
|
+
|
|
46
49
|
# Contains the number of mobile RUM Sessions on iOS (data available beginning December 1, 2020).
|
|
47
50
|
attr_accessor :session_count_ios
|
|
48
51
|
|
|
@@ -59,6 +62,7 @@ module DatadogAPIClient::V1
|
|
|
59
62
|
:'replay_session_count' => :'replay_session_count',
|
|
60
63
|
:'session_count' => :'session_count',
|
|
61
64
|
:'session_count_android' => :'session_count_android',
|
|
65
|
+
:'session_count_flutter' => :'session_count_flutter',
|
|
62
66
|
:'session_count_ios' => :'session_count_ios',
|
|
63
67
|
:'session_count_reactnative' => :'session_count_reactnative'
|
|
64
68
|
}
|
|
@@ -74,6 +78,7 @@ module DatadogAPIClient::V1
|
|
|
74
78
|
:'replay_session_count' => :'Integer',
|
|
75
79
|
:'session_count' => :'Integer',
|
|
76
80
|
:'session_count_android' => :'Integer',
|
|
81
|
+
:'session_count_flutter' => :'Integer',
|
|
77
82
|
:'session_count_ios' => :'Integer',
|
|
78
83
|
:'session_count_reactnative' => :'Integer'
|
|
79
84
|
}
|
|
@@ -85,6 +90,7 @@ module DatadogAPIClient::V1
|
|
|
85
90
|
Set.new([
|
|
86
91
|
:'session_count',
|
|
87
92
|
:'session_count_android',
|
|
93
|
+
:'session_count_flutter',
|
|
88
94
|
:'session_count_ios',
|
|
89
95
|
:'session_count_reactnative',
|
|
90
96
|
])
|
|
@@ -130,6 +136,10 @@ module DatadogAPIClient::V1
|
|
|
130
136
|
self.session_count_android = attributes[:'session_count_android']
|
|
131
137
|
end
|
|
132
138
|
|
|
139
|
+
if attributes.key?(:'session_count_flutter')
|
|
140
|
+
self.session_count_flutter = attributes[:'session_count_flutter']
|
|
141
|
+
end
|
|
142
|
+
|
|
133
143
|
if attributes.key?(:'session_count_ios')
|
|
134
144
|
self.session_count_ios = attributes[:'session_count_ios']
|
|
135
145
|
end
|
|
@@ -158,6 +168,7 @@ module DatadogAPIClient::V1
|
|
|
158
168
|
replay_session_count == o.replay_session_count &&
|
|
159
169
|
session_count == o.session_count &&
|
|
160
170
|
session_count_android == o.session_count_android &&
|
|
171
|
+
session_count_flutter == o.session_count_flutter &&
|
|
161
172
|
session_count_ios == o.session_count_ios &&
|
|
162
173
|
session_count_reactnative == o.session_count_reactnative
|
|
163
174
|
end
|
|
@@ -166,7 +177,7 @@ module DatadogAPIClient::V1
|
|
|
166
177
|
# @return [Integer] Hash code
|
|
167
178
|
# @!visibility private
|
|
168
179
|
def hash
|
|
169
|
-
[hour, org_name, public_id, replay_session_count, session_count, session_count_android, session_count_ios, session_count_reactnative].hash
|
|
180
|
+
[hour, org_name, public_id, replay_session_count, session_count, session_count_android, session_count_flutter, session_count_ios, session_count_reactnative].hash
|
|
170
181
|
end
|
|
171
182
|
end
|
|
172
183
|
end
|
|
@@ -43,6 +43,9 @@ module DatadogAPIClient::V1
|
|
|
43
43
|
# Shows the sum of audit logs lines indexed over all hours in the current date for all organizations.
|
|
44
44
|
attr_accessor :audit_logs_lines_indexed_sum
|
|
45
45
|
|
|
46
|
+
# Shows the number of organizations that had Audit Trail enabled in the current date.
|
|
47
|
+
attr_accessor :audit_trail_enabled_hwm
|
|
48
|
+
|
|
46
49
|
# The average profiled task count for Fargate Profiling.
|
|
47
50
|
attr_accessor :avg_profiled_fargate_tasks
|
|
48
51
|
|
|
@@ -82,9 +85,15 @@ module DatadogAPIClient::V1
|
|
|
82
85
|
# Shows the high-water mark of all CI visibility test committers over all hours in the current month for all organizations.
|
|
83
86
|
attr_accessor :ci_visibility_test_committers_hwm
|
|
84
87
|
|
|
88
|
+
# Host count average of Cloud Cost Management for the given date and given organization.
|
|
89
|
+
attr_accessor :cloud_cost_management_host_count_avg
|
|
90
|
+
|
|
85
91
|
# Shows the average of all distinct containers over all hours in the current date for all organizations.
|
|
86
92
|
attr_accessor :container_avg
|
|
87
93
|
|
|
94
|
+
# Shows the average of containers without the Datadog Agent over all hours in the current date for all organizations.
|
|
95
|
+
attr_accessor :container_excl_agent_avg
|
|
96
|
+
|
|
88
97
|
# Shows the high-water mark of all distinct containers over all hours in the current date for all organizations.
|
|
89
98
|
attr_accessor :container_hwm
|
|
90
99
|
|
|
@@ -163,6 +172,9 @@ module DatadogAPIClient::V1
|
|
|
163
172
|
# Shows the sum of all mobile RUM Sessions on Android over all hours in the current date for all organizations.
|
|
164
173
|
attr_accessor :mobile_rum_session_count_android_sum
|
|
165
174
|
|
|
175
|
+
# Shows the sum of all mobile RUM Sessions on Flutter over all hours in the current date for all organizations.
|
|
176
|
+
attr_accessor :mobile_rum_session_count_flutter_sum
|
|
177
|
+
|
|
166
178
|
# Shows the sum of all mobile RUM Sessions on iOS over all hours in the current date for all organizations.
|
|
167
179
|
attr_accessor :mobile_rum_session_count_ios_sum
|
|
168
180
|
|
|
@@ -254,6 +266,7 @@ module DatadogAPIClient::V1
|
|
|
254
266
|
:'apm_host_top99p' => :'apm_host_top99p',
|
|
255
267
|
:'appsec_fargate_count_avg' => :'appsec_fargate_count_avg',
|
|
256
268
|
:'audit_logs_lines_indexed_sum' => :'audit_logs_lines_indexed_sum',
|
|
269
|
+
:'audit_trail_enabled_hwm' => :'audit_trail_enabled_hwm',
|
|
257
270
|
:'avg_profiled_fargate_tasks' => :'avg_profiled_fargate_tasks',
|
|
258
271
|
:'aws_host_top99p' => :'aws_host_top99p',
|
|
259
272
|
:'aws_lambda_func_count' => :'aws_lambda_func_count',
|
|
@@ -267,7 +280,9 @@ module DatadogAPIClient::V1
|
|
|
267
280
|
:'ci_test_indexed_spans_sum' => :'ci_test_indexed_spans_sum',
|
|
268
281
|
:'ci_visibility_pipeline_committers_hwm' => :'ci_visibility_pipeline_committers_hwm',
|
|
269
282
|
:'ci_visibility_test_committers_hwm' => :'ci_visibility_test_committers_hwm',
|
|
283
|
+
:'cloud_cost_management_host_count_avg' => :'cloud_cost_management_host_count_avg',
|
|
270
284
|
:'container_avg' => :'container_avg',
|
|
285
|
+
:'container_excl_agent_avg' => :'container_excl_agent_avg',
|
|
271
286
|
:'container_hwm' => :'container_hwm',
|
|
272
287
|
:'cspm_aas_host_top99p' => :'cspm_aas_host_top99p',
|
|
273
288
|
:'cspm_aws_host_top99p' => :'cspm_aws_host_top99p',
|
|
@@ -294,6 +309,7 @@ module DatadogAPIClient::V1
|
|
|
294
309
|
:'iot_device_top99p' => :'iot_device_top99p',
|
|
295
310
|
:'mobile_rum_lite_session_count_sum' => :'mobile_rum_lite_session_count_sum',
|
|
296
311
|
:'mobile_rum_session_count_android_sum' => :'mobile_rum_session_count_android_sum',
|
|
312
|
+
:'mobile_rum_session_count_flutter_sum' => :'mobile_rum_session_count_flutter_sum',
|
|
297
313
|
:'mobile_rum_session_count_ios_sum' => :'mobile_rum_session_count_ios_sum',
|
|
298
314
|
:'mobile_rum_session_count_reactnative_sum' => :'mobile_rum_session_count_reactnative_sum',
|
|
299
315
|
:'mobile_rum_session_count_sum' => :'mobile_rum_session_count_sum',
|
|
@@ -334,6 +350,7 @@ module DatadogAPIClient::V1
|
|
|
334
350
|
:'apm_host_top99p' => :'Integer',
|
|
335
351
|
:'appsec_fargate_count_avg' => :'Integer',
|
|
336
352
|
:'audit_logs_lines_indexed_sum' => :'Integer',
|
|
353
|
+
:'audit_trail_enabled_hwm' => :'Integer',
|
|
337
354
|
:'avg_profiled_fargate_tasks' => :'Integer',
|
|
338
355
|
:'aws_host_top99p' => :'Integer',
|
|
339
356
|
:'aws_lambda_func_count' => :'Integer',
|
|
@@ -347,7 +364,9 @@ module DatadogAPIClient::V1
|
|
|
347
364
|
:'ci_test_indexed_spans_sum' => :'Integer',
|
|
348
365
|
:'ci_visibility_pipeline_committers_hwm' => :'Integer',
|
|
349
366
|
:'ci_visibility_test_committers_hwm' => :'Integer',
|
|
367
|
+
:'cloud_cost_management_host_count_avg' => :'Integer',
|
|
350
368
|
:'container_avg' => :'Integer',
|
|
369
|
+
:'container_excl_agent_avg' => :'Integer',
|
|
351
370
|
:'container_hwm' => :'Integer',
|
|
352
371
|
:'cspm_aas_host_top99p' => :'Integer',
|
|
353
372
|
:'cspm_aws_host_top99p' => :'Integer',
|
|
@@ -374,6 +393,7 @@ module DatadogAPIClient::V1
|
|
|
374
393
|
:'iot_device_top99p' => :'Integer',
|
|
375
394
|
:'mobile_rum_lite_session_count_sum' => :'Integer',
|
|
376
395
|
:'mobile_rum_session_count_android_sum' => :'Integer',
|
|
396
|
+
:'mobile_rum_session_count_flutter_sum' => :'Integer',
|
|
377
397
|
:'mobile_rum_session_count_ios_sum' => :'Integer',
|
|
378
398
|
:'mobile_rum_session_count_reactnative_sum' => :'Integer',
|
|
379
399
|
:'mobile_rum_session_count_sum' => :'Integer',
|
|
@@ -444,6 +464,10 @@ module DatadogAPIClient::V1
|
|
|
444
464
|
self.audit_logs_lines_indexed_sum = attributes[:'audit_logs_lines_indexed_sum']
|
|
445
465
|
end
|
|
446
466
|
|
|
467
|
+
if attributes.key?(:'audit_trail_enabled_hwm')
|
|
468
|
+
self.audit_trail_enabled_hwm = attributes[:'audit_trail_enabled_hwm']
|
|
469
|
+
end
|
|
470
|
+
|
|
447
471
|
if attributes.key?(:'avg_profiled_fargate_tasks')
|
|
448
472
|
self.avg_profiled_fargate_tasks = attributes[:'avg_profiled_fargate_tasks']
|
|
449
473
|
end
|
|
@@ -496,10 +520,18 @@ module DatadogAPIClient::V1
|
|
|
496
520
|
self.ci_visibility_test_committers_hwm = attributes[:'ci_visibility_test_committers_hwm']
|
|
497
521
|
end
|
|
498
522
|
|
|
523
|
+
if attributes.key?(:'cloud_cost_management_host_count_avg')
|
|
524
|
+
self.cloud_cost_management_host_count_avg = attributes[:'cloud_cost_management_host_count_avg']
|
|
525
|
+
end
|
|
526
|
+
|
|
499
527
|
if attributes.key?(:'container_avg')
|
|
500
528
|
self.container_avg = attributes[:'container_avg']
|
|
501
529
|
end
|
|
502
530
|
|
|
531
|
+
if attributes.key?(:'container_excl_agent_avg')
|
|
532
|
+
self.container_excl_agent_avg = attributes[:'container_excl_agent_avg']
|
|
533
|
+
end
|
|
534
|
+
|
|
503
535
|
if attributes.key?(:'container_hwm')
|
|
504
536
|
self.container_hwm = attributes[:'container_hwm']
|
|
505
537
|
end
|
|
@@ -604,6 +636,10 @@ module DatadogAPIClient::V1
|
|
|
604
636
|
self.mobile_rum_session_count_android_sum = attributes[:'mobile_rum_session_count_android_sum']
|
|
605
637
|
end
|
|
606
638
|
|
|
639
|
+
if attributes.key?(:'mobile_rum_session_count_flutter_sum')
|
|
640
|
+
self.mobile_rum_session_count_flutter_sum = attributes[:'mobile_rum_session_count_flutter_sum']
|
|
641
|
+
end
|
|
642
|
+
|
|
607
643
|
if attributes.key?(:'mobile_rum_session_count_ios_sum')
|
|
608
644
|
self.mobile_rum_session_count_ios_sum = attributes[:'mobile_rum_session_count_ios_sum']
|
|
609
645
|
end
|
|
@@ -734,6 +770,7 @@ module DatadogAPIClient::V1
|
|
|
734
770
|
apm_host_top99p == o.apm_host_top99p &&
|
|
735
771
|
appsec_fargate_count_avg == o.appsec_fargate_count_avg &&
|
|
736
772
|
audit_logs_lines_indexed_sum == o.audit_logs_lines_indexed_sum &&
|
|
773
|
+
audit_trail_enabled_hwm == o.audit_trail_enabled_hwm &&
|
|
737
774
|
avg_profiled_fargate_tasks == o.avg_profiled_fargate_tasks &&
|
|
738
775
|
aws_host_top99p == o.aws_host_top99p &&
|
|
739
776
|
aws_lambda_func_count == o.aws_lambda_func_count &&
|
|
@@ -747,7 +784,9 @@ module DatadogAPIClient::V1
|
|
|
747
784
|
ci_test_indexed_spans_sum == o.ci_test_indexed_spans_sum &&
|
|
748
785
|
ci_visibility_pipeline_committers_hwm == o.ci_visibility_pipeline_committers_hwm &&
|
|
749
786
|
ci_visibility_test_committers_hwm == o.ci_visibility_test_committers_hwm &&
|
|
787
|
+
cloud_cost_management_host_count_avg == o.cloud_cost_management_host_count_avg &&
|
|
750
788
|
container_avg == o.container_avg &&
|
|
789
|
+
container_excl_agent_avg == o.container_excl_agent_avg &&
|
|
751
790
|
container_hwm == o.container_hwm &&
|
|
752
791
|
cspm_aas_host_top99p == o.cspm_aas_host_top99p &&
|
|
753
792
|
cspm_aws_host_top99p == o.cspm_aws_host_top99p &&
|
|
@@ -774,6 +813,7 @@ module DatadogAPIClient::V1
|
|
|
774
813
|
iot_device_top99p == o.iot_device_top99p &&
|
|
775
814
|
mobile_rum_lite_session_count_sum == o.mobile_rum_lite_session_count_sum &&
|
|
776
815
|
mobile_rum_session_count_android_sum == o.mobile_rum_session_count_android_sum &&
|
|
816
|
+
mobile_rum_session_count_flutter_sum == o.mobile_rum_session_count_flutter_sum &&
|
|
777
817
|
mobile_rum_session_count_ios_sum == o.mobile_rum_session_count_ios_sum &&
|
|
778
818
|
mobile_rum_session_count_reactnative_sum == o.mobile_rum_session_count_reactnative_sum &&
|
|
779
819
|
mobile_rum_session_count_sum == o.mobile_rum_session_count_sum &&
|
|
@@ -807,7 +847,7 @@ module DatadogAPIClient::V1
|
|
|
807
847
|
# @return [Integer] Hash code
|
|
808
848
|
# @!visibility private
|
|
809
849
|
def hash
|
|
810
|
-
[agent_host_top99p, apm_azure_app_service_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, container_avg, container_hwm, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_gcp_host_top99p, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, date, dbm_host_top99p, dbm_queries_count_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_apm_host_top99p, opentelemetry_host_top99p, orgs, profiling_host_top99p, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, synthetics_parallel_testing_max_slots_hwm, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash
|
|
850
|
+
[agent_host_top99p, apm_azure_app_service_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, audit_trail_enabled_hwm, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, cloud_cost_management_host_count_avg, container_avg, container_excl_agent_avg, container_hwm, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_gcp_host_top99p, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, date, dbm_host_top99p, dbm_queries_count_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_flutter_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_apm_host_top99p, opentelemetry_host_top99p, orgs, profiling_host_top99p, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, synthetics_parallel_testing_max_slots_hwm, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, vsphere_host_top99p].hash
|
|
811
851
|
end
|
|
812
852
|
end
|
|
813
853
|
end
|