modularization_statistics 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +67 -0
- data/lib/modularization_statistics/gauge_metric.rb +39 -0
- data/lib/modularization_statistics/private/datadog_reporter.rb +325 -0
- data/lib/modularization_statistics/private/source_code_file.rb +24 -0
- data/lib/modularization_statistics/private.rb +8 -0
- data/lib/modularization_statistics/tag.rb +28 -0
- data/lib/modularization_statistics/tags.rb +20 -0
- data/lib/modularization_statistics.rb +134 -0
- data/sorbet/config +3 -0
- data/sorbet/rbi/gems/bigrails-teams@0.1.0.rbi +120 -0
- data/sorbet/rbi/gems/code_ownership@1.23.0.rbi +336 -0
- data/sorbet/rbi/gems/dogapi@1.45.0.rbi +551 -0
- data/sorbet/rbi/gems/manual.rbi +4 -0
- data/sorbet/rbi/gems/package_protections@0.64.0.rbi +632 -0
- data/sorbet/rbi/gems/parse_packwerk@0.10.0.rbi +140 -0
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +13 -0
- data/sorbet/rbi/todo.rbi +5 -0
- metadata +220 -0
@@ -0,0 +1,551 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `dogapi` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module Dogapi
|
8
|
+
class << self
|
9
|
+
def find_datadog_host; end
|
10
|
+
def find_localhost; end
|
11
|
+
def find_proxy; end
|
12
|
+
def symbolized_access(hash); end
|
13
|
+
def validate_tags(tags); end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
class Dogapi::APIService
|
18
|
+
def initialize(api_key, application_key, silent = T.unsafe(nil), timeout = T.unsafe(nil), endpoint = T.unsafe(nil), skip_ssl_validation = T.unsafe(nil)); end
|
19
|
+
|
20
|
+
def api_key; end
|
21
|
+
def application_key; end
|
22
|
+
def connect; end
|
23
|
+
def handle_redirect(conn, req, resp, retries = T.unsafe(nil)); end
|
24
|
+
def handle_response(resp); end
|
25
|
+
def prepare_params(extra_params, url, with_app_key); end
|
26
|
+
def prepare_request(method, url, params, body, send_json, with_app_key); end
|
27
|
+
def request(method, url, extra_params, body, send_json, with_app_key = T.unsafe(nil)); end
|
28
|
+
def should_set_api_and_app_keys_in_params?(url); end
|
29
|
+
def suppress_error_if_silent(e); end
|
30
|
+
end
|
31
|
+
|
32
|
+
class Dogapi::Client
|
33
|
+
def initialize(api_key, application_key = T.unsafe(nil), host = T.unsafe(nil), device = T.unsafe(nil), silent = T.unsafe(nil), timeout = T.unsafe(nil), endpoint = T.unsafe(nil), skip_ssl_validation = T.unsafe(nil)); end
|
34
|
+
|
35
|
+
def add_items_to_dashboard_list(dashboard_list_id, dashboards); end
|
36
|
+
def add_tags(host_id, tags, source = T.unsafe(nil)); end
|
37
|
+
def alert(query, options = T.unsafe(nil)); end
|
38
|
+
def all_tags(source = T.unsafe(nil)); end
|
39
|
+
def aws_integration_create(config); end
|
40
|
+
def aws_integration_delete(config); end
|
41
|
+
def aws_integration_generate_external_id(config); end
|
42
|
+
def aws_integration_list; end
|
43
|
+
def aws_integration_list_namespaces; end
|
44
|
+
def aws_integration_update(config, new_config); end
|
45
|
+
def aws_logs_add_lambda(config); end
|
46
|
+
def aws_logs_check_lambda(config); end
|
47
|
+
def aws_logs_check_services(config); end
|
48
|
+
def aws_logs_integration_delete(config); end
|
49
|
+
def aws_logs_integrations_list; end
|
50
|
+
def aws_logs_list_services; end
|
51
|
+
def aws_logs_save_services(config); end
|
52
|
+
def azure_integration_create(config); end
|
53
|
+
def azure_integration_delete(config); end
|
54
|
+
def azure_integration_list; end
|
55
|
+
def azure_integration_update(config); end
|
56
|
+
def azure_integration_update_host_filters(config); end
|
57
|
+
def batch_metrics; end
|
58
|
+
def can_delete_monitors(monitor_ids); end
|
59
|
+
def can_delete_service_level_objective(slo_ids); end
|
60
|
+
def cancel_downtime(downtime_id); end
|
61
|
+
def cancel_downtime_by_scope(scope); end
|
62
|
+
def comment(message, options = T.unsafe(nil)); end
|
63
|
+
def create_board(title, widgets, layout_type, options = T.unsafe(nil)); end
|
64
|
+
def create_dashboard(title, description, graphs, template_variables = T.unsafe(nil), read_only = T.unsafe(nil)); end
|
65
|
+
def create_dashboard_list(name); end
|
66
|
+
def create_embed(graph_json, description = T.unsafe(nil)); end
|
67
|
+
def create_integration(source_type_name, config); end
|
68
|
+
def create_logs_pipeline(name, filter, options = T.unsafe(nil)); end
|
69
|
+
def create_screenboard(description); end
|
70
|
+
def create_service_level_objective(type, slo_name, thresholds, options = T.unsafe(nil)); end
|
71
|
+
def create_synthetics_test(type, config, options = T.unsafe(nil)); end
|
72
|
+
def create_user(description = T.unsafe(nil)); end
|
73
|
+
def datadog_host; end
|
74
|
+
def datadog_host=(_arg0); end
|
75
|
+
def delete_alert(alert_id); end
|
76
|
+
def delete_board(dashboard_id); end
|
77
|
+
def delete_comment(comment_id); end
|
78
|
+
def delete_dashboard(dash_id); end
|
79
|
+
def delete_dashboard_list(dashboard_list_id); end
|
80
|
+
def delete_event(id); end
|
81
|
+
def delete_integration(source_type_name); end
|
82
|
+
def delete_items_from_dashboard_list(dashboard_list_id, dashboards); end
|
83
|
+
def delete_logs_pipeline(pipeline_id); end
|
84
|
+
def delete_many_service_level_objective(slo_ids); end
|
85
|
+
def delete_monitor(monitor_id, options = T.unsafe(nil)); end
|
86
|
+
def delete_screenboard(board_id); end
|
87
|
+
def delete_service_level_objective(slo_id); end
|
88
|
+
def delete_synthetics_tests(test_ids); end
|
89
|
+
def delete_timeframes_service_level_objective(ops); end
|
90
|
+
def detach_tags(host_id, source = T.unsafe(nil)); end
|
91
|
+
def detatch_tags(host_id); end
|
92
|
+
def disable_user(handle); end
|
93
|
+
def emit_event(event, options = T.unsafe(nil)); end
|
94
|
+
def emit_point(metric, value, options = T.unsafe(nil)); end
|
95
|
+
def emit_points(metric, points, options = T.unsafe(nil)); end
|
96
|
+
def enable_embed(embed_id); end
|
97
|
+
def gcp_integration_create(config); end
|
98
|
+
def gcp_integration_delete(config); end
|
99
|
+
def gcp_integration_list; end
|
100
|
+
def gcp_integration_update(config); end
|
101
|
+
def get_active_metrics(from); end
|
102
|
+
def get_alert(alert_id); end
|
103
|
+
def get_all_alerts; end
|
104
|
+
def get_all_boards; end
|
105
|
+
def get_all_dashboard_lists; end
|
106
|
+
def get_all_downtimes(options = T.unsafe(nil)); end
|
107
|
+
def get_all_embeds; end
|
108
|
+
def get_all_logs_pipelines; end
|
109
|
+
def get_all_monitors(options = T.unsafe(nil)); end
|
110
|
+
def get_all_screenboards; end
|
111
|
+
def get_all_synthetics_tests; end
|
112
|
+
def get_all_users; end
|
113
|
+
def get_board(dashboard_id); end
|
114
|
+
def get_custom_metrics_usage(start_hr, end_hr = T.unsafe(nil)); end
|
115
|
+
def get_dashboard(dash_id); end
|
116
|
+
def get_dashboard_list(dashboard_list_id); end
|
117
|
+
def get_dashboards; end
|
118
|
+
def get_downtime(downtime_id, options = T.unsafe(nil)); end
|
119
|
+
def get_embed(embed_id, description = T.unsafe(nil)); end
|
120
|
+
def get_event(id); end
|
121
|
+
def get_fargate_usage(start_hr, end_hr = T.unsafe(nil)); end
|
122
|
+
def get_hosts_usage(start_hr, end_hr = T.unsafe(nil)); end
|
123
|
+
def get_integration(source_type_name); end
|
124
|
+
def get_items_of_dashboard_list(dashboard_list_id); end
|
125
|
+
def get_logs_pipeline(pipeline_id); end
|
126
|
+
def get_logs_usage(start_hr, end_hr = T.unsafe(nil)); end
|
127
|
+
def get_metadata(metric); end
|
128
|
+
def get_monitor(monitor_id, options = T.unsafe(nil)); end
|
129
|
+
def get_points(query, from, to); end
|
130
|
+
def get_screenboard(board_id); end
|
131
|
+
def get_service_level_objective(slo_id); end
|
132
|
+
def get_service_level_objective_history(slo_id, from_ts, to_ts); end
|
133
|
+
def get_synthetics_devices; end
|
134
|
+
def get_synthetics_locations; end
|
135
|
+
def get_synthetics_result(test_id, result_id); end
|
136
|
+
def get_synthetics_results(test_id); end
|
137
|
+
def get_synthetics_test(test_id); end
|
138
|
+
def get_synthetics_usage(start_hr, end_hr = T.unsafe(nil)); end
|
139
|
+
def get_traces_usage(start_hr, end_hr = T.unsafe(nil)); end
|
140
|
+
def get_user(handle); end
|
141
|
+
def graph_snapshot(metric_query, start_ts, end_ts, event_query = T.unsafe(nil)); end
|
142
|
+
def host_tags(host_id, source = T.unsafe(nil), by_source = T.unsafe(nil)); end
|
143
|
+
def host_totals; end
|
144
|
+
def invite(emails, options = T.unsafe(nil)); end
|
145
|
+
def monitor(type, query, options = T.unsafe(nil)); end
|
146
|
+
def mute_alerts; end
|
147
|
+
def mute_host(hostname, options = T.unsafe(nil)); end
|
148
|
+
def mute_monitor(monitor_id, options = T.unsafe(nil)); end
|
149
|
+
def mute_monitors; end
|
150
|
+
def resolve_monitors(monitor_groups = T.unsafe(nil), options = T.unsafe(nil), version = T.unsafe(nil)); end
|
151
|
+
def revoke_embed(embed_id); end
|
152
|
+
def revoke_screenboard(board_id); end
|
153
|
+
def schedule_downtime(scope, options = T.unsafe(nil)); end
|
154
|
+
def search(query); end
|
155
|
+
def search_hosts(options = T.unsafe(nil)); end
|
156
|
+
def search_monitor_groups(options = T.unsafe(nil)); end
|
157
|
+
def search_monitors(options = T.unsafe(nil)); end
|
158
|
+
def search_service_level_objective(slo_ids = T.unsafe(nil), query = T.unsafe(nil), offset = T.unsafe(nil), limit = T.unsafe(nil)); end
|
159
|
+
def service_check(check, host, status, options = T.unsafe(nil)); end
|
160
|
+
def share_screenboard(board_id); end
|
161
|
+
def start_event(event, options = T.unsafe(nil)); end
|
162
|
+
def start_pause_synthetics_test(test_id, new_status); end
|
163
|
+
def stream(start, stop, options = T.unsafe(nil)); end
|
164
|
+
def unmute_alerts; end
|
165
|
+
def unmute_host(hostname); end
|
166
|
+
def unmute_monitor(monitor_id, options = T.unsafe(nil)); end
|
167
|
+
def unmute_monitors; end
|
168
|
+
def update_alert(alert_id, query, options = T.unsafe(nil)); end
|
169
|
+
def update_board(dashboard_id, title, widgets, layout_type, options = T.unsafe(nil)); end
|
170
|
+
def update_comment(comment_id, options = T.unsafe(nil)); end
|
171
|
+
def update_dashboard(dash_id, title, description, graphs, template_variables = T.unsafe(nil), read_only = T.unsafe(nil)); end
|
172
|
+
def update_dashboard_list(dashboard_list_id, name); end
|
173
|
+
def update_downtime(downtime_id, options = T.unsafe(nil)); end
|
174
|
+
def update_integration(source_type_name, config); end
|
175
|
+
def update_items_of_dashboard_list(dashboard_list_id, dashboards); end
|
176
|
+
def update_logs_pipeline(pipeline_id, name, filter, options = T.unsafe(nil)); end
|
177
|
+
def update_metadata(metric, options = T.unsafe(nil)); end
|
178
|
+
def update_monitor(monitor_id, query, options = T.unsafe(nil)); end
|
179
|
+
def update_screenboard(board_id, description); end
|
180
|
+
def update_service_level_objective(slo_id, type, options = T.unsafe(nil)); end
|
181
|
+
def update_synthetics_test(test_id, type, config, options = T.unsafe(nil)); end
|
182
|
+
def update_tags(host_id, tags, source = T.unsafe(nil)); end
|
183
|
+
def update_user(handle, description = T.unsafe(nil)); end
|
184
|
+
def v2; end
|
185
|
+
def v2=(_arg0); end
|
186
|
+
def validate_monitor(type, query, options = T.unsafe(nil)); end
|
187
|
+
|
188
|
+
private
|
189
|
+
|
190
|
+
def override_scope(options = T.unsafe(nil)); end
|
191
|
+
end
|
192
|
+
|
193
|
+
class Dogapi::ClientV2
|
194
|
+
def initialize(api_key, application_key = T.unsafe(nil), host = T.unsafe(nil), device = T.unsafe(nil), silent = T.unsafe(nil), timeout = T.unsafe(nil), endpoint = T.unsafe(nil), skip_ssl_validation = T.unsafe(nil)); end
|
195
|
+
|
196
|
+
def add_items_to_dashboard_list(dashboard_list_id, dashboards); end
|
197
|
+
def datadog_host; end
|
198
|
+
def datadog_host=(_arg0); end
|
199
|
+
def delete_items_from_dashboard_list(dashboard_list_id, dashboards); end
|
200
|
+
def get_items_of_dashboard_list(dashboard_list_id); end
|
201
|
+
def update_items_of_dashboard_list(dashboard_list_id, dashboards); end
|
202
|
+
end
|
203
|
+
|
204
|
+
class Dogapi::Event
|
205
|
+
def initialize(msg_text, options = T.unsafe(nil)); end
|
206
|
+
|
207
|
+
def aggregation_key; end
|
208
|
+
def date_happened; end
|
209
|
+
def msg_text; end
|
210
|
+
def msg_title; end
|
211
|
+
def parent; end
|
212
|
+
def priority; end
|
213
|
+
def tags; end
|
214
|
+
def to_hash; end
|
215
|
+
end
|
216
|
+
|
217
|
+
class Dogapi::EventService < ::Dogapi::Service
|
218
|
+
def start(api_key, event, scope, source_type = T.unsafe(nil)); end
|
219
|
+
def submit(api_key, event, scope = T.unsafe(nil), source_type = T.unsafe(nil)); end
|
220
|
+
|
221
|
+
private
|
222
|
+
|
223
|
+
def finish(api_key, event_id, successful = T.unsafe(nil)); end
|
224
|
+
end
|
225
|
+
|
226
|
+
Dogapi::EventService::API_VERSION = T.let(T.unsafe(nil), String)
|
227
|
+
Dogapi::EventService::MAX_BODY_LENGTH = T.let(T.unsafe(nil), Integer)
|
228
|
+
Dogapi::EventService::MAX_TITLE_LENGTH = T.let(T.unsafe(nil), Integer)
|
229
|
+
|
230
|
+
class Dogapi::MetricService < ::Dogapi::Service
|
231
|
+
def submit(api_key, scope, metric, points); end
|
232
|
+
end
|
233
|
+
|
234
|
+
Dogapi::MetricService::API_VERSION = T.let(T.unsafe(nil), String)
|
235
|
+
|
236
|
+
class Dogapi::Scope
|
237
|
+
def initialize(host = T.unsafe(nil), device = T.unsafe(nil)); end
|
238
|
+
|
239
|
+
def device; end
|
240
|
+
def host; end
|
241
|
+
end
|
242
|
+
|
243
|
+
class Dogapi::Service
|
244
|
+
def initialize(api_key, api_host = T.unsafe(nil)); end
|
245
|
+
|
246
|
+
def connect; end
|
247
|
+
def request(method, url, params); end
|
248
|
+
end
|
249
|
+
|
250
|
+
Dogapi::USER_AGENT = T.let(T.unsafe(nil), String)
|
251
|
+
class Dogapi::V1; end
|
252
|
+
|
253
|
+
class Dogapi::V1::AlertService < ::Dogapi::APIService
|
254
|
+
def alert(query, options = T.unsafe(nil)); end
|
255
|
+
def delete_alert(alert_id); end
|
256
|
+
def get_alert(alert_id); end
|
257
|
+
def get_all_alerts; end
|
258
|
+
def mute_alerts; end
|
259
|
+
def unmute_alerts; end
|
260
|
+
def update_alert(alert_id, query, options); end
|
261
|
+
end
|
262
|
+
|
263
|
+
Dogapi::V1::AlertService::API_VERSION = T.let(T.unsafe(nil), String)
|
264
|
+
|
265
|
+
class Dogapi::V1::AwsIntegrationService < ::Dogapi::APIService
|
266
|
+
def aws_integration_create(config); end
|
267
|
+
def aws_integration_delete(config); end
|
268
|
+
def aws_integration_generate_external_id(config); end
|
269
|
+
def aws_integration_list; end
|
270
|
+
def aws_integration_list_namespaces; end
|
271
|
+
def aws_integration_update(config, new_config); end
|
272
|
+
end
|
273
|
+
|
274
|
+
Dogapi::V1::AwsIntegrationService::API_VERSION = T.let(T.unsafe(nil), String)
|
275
|
+
|
276
|
+
class Dogapi::V1::AwsLogsService < ::Dogapi::APIService
|
277
|
+
def aws_logs_add_lambda(config); end
|
278
|
+
def aws_logs_check_lambda(config); end
|
279
|
+
def aws_logs_check_services(config); end
|
280
|
+
def aws_logs_integration_delete(config); end
|
281
|
+
def aws_logs_integrations_list; end
|
282
|
+
def aws_logs_list_services; end
|
283
|
+
def aws_logs_save_services(config); end
|
284
|
+
end
|
285
|
+
|
286
|
+
Dogapi::V1::AwsLogsService::API_VERSION = T.let(T.unsafe(nil), String)
|
287
|
+
|
288
|
+
class Dogapi::V1::AzureIntegrationService < ::Dogapi::APIService
|
289
|
+
def azure_integration_create(config); end
|
290
|
+
def azure_integration_delete(config); end
|
291
|
+
def azure_integration_list; end
|
292
|
+
def azure_integration_update(config); end
|
293
|
+
def azure_integration_update_host_filters(config); end
|
294
|
+
end
|
295
|
+
|
296
|
+
Dogapi::V1::AzureIntegrationService::API_VERSION = T.let(T.unsafe(nil), String)
|
297
|
+
|
298
|
+
class Dogapi::V1::CommentService < ::Dogapi::APIService
|
299
|
+
def comment(message, options = T.unsafe(nil)); end
|
300
|
+
def delete_comment(comment_id); end
|
301
|
+
def update_comment(comment_id, options = T.unsafe(nil)); end
|
302
|
+
end
|
303
|
+
|
304
|
+
Dogapi::V1::CommentService::API_VERSION = T.let(T.unsafe(nil), String)
|
305
|
+
|
306
|
+
class Dogapi::V1::DashService < ::Dogapi::APIService
|
307
|
+
def create_dashboard(title, description, graphs, template_variables = T.unsafe(nil), read_only = T.unsafe(nil)); end
|
308
|
+
def delete_dashboard(dash_id); end
|
309
|
+
def get_dashboard(dash_id); end
|
310
|
+
def get_dashboards; end
|
311
|
+
def update_dashboard(dash_id, title, description, graphs, template_variables = T.unsafe(nil), read_only = T.unsafe(nil)); end
|
312
|
+
end
|
313
|
+
|
314
|
+
Dogapi::V1::DashService::API_VERSION = T.let(T.unsafe(nil), String)
|
315
|
+
|
316
|
+
class Dogapi::V1::DashboardListService < ::Dogapi::APIService
|
317
|
+
def add_items(resource_id, dashboards); end
|
318
|
+
def all; end
|
319
|
+
def create(name); end
|
320
|
+
def delete(resource_id); end
|
321
|
+
def delete_items(resource_id, dashboards); end
|
322
|
+
def get(resource_id); end
|
323
|
+
def get_items(resource_id); end
|
324
|
+
def update(resource_id, name); end
|
325
|
+
def update_items(resource_id, dashboards); end
|
326
|
+
end
|
327
|
+
|
328
|
+
Dogapi::V1::DashboardListService::API_VERSION = T.let(T.unsafe(nil), String)
|
329
|
+
Dogapi::V1::DashboardListService::RESOURCE_NAME = T.let(T.unsafe(nil), String)
|
330
|
+
Dogapi::V1::DashboardListService::SUB_RESOURCE_NAME = T.let(T.unsafe(nil), String)
|
331
|
+
|
332
|
+
class Dogapi::V1::DashboardService < ::Dogapi::APIService
|
333
|
+
def create_board(title, widgets, layout_type, options); end
|
334
|
+
def delete_board(dashboard_id); end
|
335
|
+
def get_all_boards; end
|
336
|
+
def get_board(dashboard_id); end
|
337
|
+
def update_board(dashboard_id, title, widgets, layout_type, options); end
|
338
|
+
end
|
339
|
+
|
340
|
+
Dogapi::V1::DashboardService::API_VERSION = T.let(T.unsafe(nil), String)
|
341
|
+
Dogapi::V1::DashboardService::RESOURCE_NAME = T.let(T.unsafe(nil), String)
|
342
|
+
|
343
|
+
class Dogapi::V1::EmbedService < ::Dogapi::APIService
|
344
|
+
def create_embed(graph_json, description = T.unsafe(nil)); end
|
345
|
+
def enable_embed(embed_id); end
|
346
|
+
def get_all_embeds; end
|
347
|
+
def get_embed(embed_id, description = T.unsafe(nil)); end
|
348
|
+
def revoke_embed(embed_id); end
|
349
|
+
end
|
350
|
+
|
351
|
+
Dogapi::V1::EmbedService::API_VERSION = T.let(T.unsafe(nil), String)
|
352
|
+
|
353
|
+
class Dogapi::V1::EventService < ::Dogapi::APIService
|
354
|
+
def delete(id); end
|
355
|
+
def get(id); end
|
356
|
+
def post(event, scope = T.unsafe(nil)); end
|
357
|
+
def stream(start, stop, options = T.unsafe(nil)); end
|
358
|
+
end
|
359
|
+
|
360
|
+
Dogapi::V1::EventService::API_VERSION = T.let(T.unsafe(nil), String)
|
361
|
+
Dogapi::V1::EventService::MAX_BODY_LENGTH = T.let(T.unsafe(nil), Integer)
|
362
|
+
Dogapi::V1::EventService::MAX_TITLE_LENGTH = T.let(T.unsafe(nil), Integer)
|
363
|
+
|
364
|
+
class Dogapi::V1::GcpIntegrationService < ::Dogapi::APIService
|
365
|
+
def gcp_integration_create(config); end
|
366
|
+
def gcp_integration_delete(config); end
|
367
|
+
def gcp_integration_list; end
|
368
|
+
def gcp_integration_update(config); end
|
369
|
+
end
|
370
|
+
|
371
|
+
Dogapi::V1::GcpIntegrationService::API_VERSION = T.let(T.unsafe(nil), String)
|
372
|
+
|
373
|
+
class Dogapi::V1::HostsService < ::Dogapi::APIService
|
374
|
+
def search(options = T.unsafe(nil)); end
|
375
|
+
def totals; end
|
376
|
+
end
|
377
|
+
|
378
|
+
Dogapi::V1::HostsService::API_VERSION = T.let(T.unsafe(nil), String)
|
379
|
+
|
380
|
+
class Dogapi::V1::IntegrationService < ::Dogapi::APIService
|
381
|
+
def create_integration(source_type_name, config); end
|
382
|
+
def delete_integration(source_type_name); end
|
383
|
+
def get_integration(source_type_name); end
|
384
|
+
def update_integration(source_type_name, config); end
|
385
|
+
end
|
386
|
+
|
387
|
+
Dogapi::V1::IntegrationService::API_VERSION = T.let(T.unsafe(nil), String)
|
388
|
+
|
389
|
+
class Dogapi::V1::LogsPipelineService < ::Dogapi::APIService
|
390
|
+
def create_logs_pipeline(name, filter, options = T.unsafe(nil)); end
|
391
|
+
def delete_logs_pipeline(pipeline_id); end
|
392
|
+
def get_all_logs_pipelines; end
|
393
|
+
def get_logs_pipeline(pipeline_id); end
|
394
|
+
def update_logs_pipeline(pipeline_id, name, filter, options = T.unsafe(nil)); end
|
395
|
+
end
|
396
|
+
|
397
|
+
Dogapi::V1::LogsPipelineService::API_VERSION = T.let(T.unsafe(nil), String)
|
398
|
+
|
399
|
+
class Dogapi::V1::MetadataService < ::Dogapi::APIService
|
400
|
+
def get(metric_name); end
|
401
|
+
def update(metric_name, options = T.unsafe(nil)); end
|
402
|
+
end
|
403
|
+
|
404
|
+
Dogapi::V1::MetadataService::API_VERSION = T.let(T.unsafe(nil), String)
|
405
|
+
|
406
|
+
class Dogapi::V1::MetricService < ::Dogapi::APIService
|
407
|
+
def flush_buffer; end
|
408
|
+
def get(query, from, to); end
|
409
|
+
def get_active_metrics(from); end
|
410
|
+
def make_metric_payload(metric, points, scope, options); end
|
411
|
+
def submit(*args); end
|
412
|
+
def submit_to_api(metric, points, scope, options = T.unsafe(nil)); end
|
413
|
+
def submit_to_buffer(metric, points, scope, options = T.unsafe(nil)); end
|
414
|
+
def switch_to_batched; end
|
415
|
+
def switch_to_single; end
|
416
|
+
def upload(metrics); end
|
417
|
+
end
|
418
|
+
|
419
|
+
Dogapi::V1::MetricService::API_VERSION = T.let(T.unsafe(nil), String)
|
420
|
+
|
421
|
+
class Dogapi::V1::MonitorService < ::Dogapi::APIService
|
422
|
+
def can_delete_monitors(monitor_ids); end
|
423
|
+
def cancel_downtime(downtime_id); end
|
424
|
+
def cancel_downtime_by_scope(scope); end
|
425
|
+
def delete_monitor(monitor_id, options = T.unsafe(nil)); end
|
426
|
+
def get_all_downtimes(options = T.unsafe(nil)); end
|
427
|
+
def get_all_monitors(options = T.unsafe(nil)); end
|
428
|
+
def get_downtime(downtime_id, options = T.unsafe(nil)); end
|
429
|
+
def get_monitor(monitor_id, options = T.unsafe(nil)); end
|
430
|
+
def monitor(type, query, options = T.unsafe(nil)); end
|
431
|
+
def mute_host(hostname, options = T.unsafe(nil)); end
|
432
|
+
def mute_monitor(monitor_id, options = T.unsafe(nil)); end
|
433
|
+
def mute_monitors; end
|
434
|
+
def resolve_monitors(monitor_groups = T.unsafe(nil), options = T.unsafe(nil), version = T.unsafe(nil)); end
|
435
|
+
def schedule_downtime(scope, options = T.unsafe(nil)); end
|
436
|
+
def search_monitor_groups(options = T.unsafe(nil)); end
|
437
|
+
def search_monitors(options = T.unsafe(nil)); end
|
438
|
+
def unmute_host(hostname); end
|
439
|
+
def unmute_monitor(monitor_id, options = T.unsafe(nil)); end
|
440
|
+
def unmute_monitors; end
|
441
|
+
def update_downtime(downtime_id, options = T.unsafe(nil)); end
|
442
|
+
def update_monitor(monitor_id, query = T.unsafe(nil), options = T.unsafe(nil)); end
|
443
|
+
def validate_monitor(type, query, options = T.unsafe(nil)); end
|
444
|
+
end
|
445
|
+
|
446
|
+
Dogapi::V1::MonitorService::API_VERSION = T.let(T.unsafe(nil), String)
|
447
|
+
|
448
|
+
class Dogapi::V1::ScreenboardService < ::Dogapi::APIService
|
449
|
+
def create_screenboard(description); end
|
450
|
+
def delete_screenboard(board_id); end
|
451
|
+
def get_all_screenboards; end
|
452
|
+
def get_screenboard(board_id); end
|
453
|
+
def revoke_screenboard(board_id); end
|
454
|
+
def share_screenboard(board_id); end
|
455
|
+
def update_screenboard(board_id, description); end
|
456
|
+
end
|
457
|
+
|
458
|
+
Dogapi::V1::ScreenboardService::API_VERSION = T.let(T.unsafe(nil), String)
|
459
|
+
|
460
|
+
class Dogapi::V1::SearchService < ::Dogapi::APIService
|
461
|
+
def search(query); end
|
462
|
+
end
|
463
|
+
|
464
|
+
Dogapi::V1::SearchService::API_VERSION = T.let(T.unsafe(nil), String)
|
465
|
+
|
466
|
+
class Dogapi::V1::ServiceCheckService < ::Dogapi::APIService
|
467
|
+
def service_check(check, host, status, options = T.unsafe(nil)); end
|
468
|
+
end
|
469
|
+
|
470
|
+
Dogapi::V1::ServiceCheckService::API_VERSION = T.let(T.unsafe(nil), String)
|
471
|
+
|
472
|
+
class Dogapi::V1::ServiceLevelObjectiveService < ::Dogapi::APIService
|
473
|
+
def can_delete_service_level_objective(slo_ids); end
|
474
|
+
def create_service_level_objective(type, slo_name, thresholds, options = T.unsafe(nil)); end
|
475
|
+
def delete_many_service_level_objective(slo_ids); end
|
476
|
+
def delete_service_level_objective(slo_id); end
|
477
|
+
def delete_timeframes_service_level_objective(ops); end
|
478
|
+
def get_service_level_objective(slo_id); end
|
479
|
+
def get_service_level_objective_history(slo_id, from_ts, to_ts); end
|
480
|
+
def search_service_level_objective(slo_ids, query, offset, limit); end
|
481
|
+
def update_service_level_objective(slo_id, type, options = T.unsafe(nil)); end
|
482
|
+
end
|
483
|
+
|
484
|
+
Dogapi::V1::ServiceLevelObjectiveService::API_VERSION = T.let(T.unsafe(nil), String)
|
485
|
+
|
486
|
+
class Dogapi::V1::SnapshotService < ::Dogapi::APIService
|
487
|
+
def snapshot(metric_query, start_ts, end_ts, event_query = T.unsafe(nil)); end
|
488
|
+
end
|
489
|
+
|
490
|
+
Dogapi::V1::SnapshotService::API_VERSION = T.let(T.unsafe(nil), String)
|
491
|
+
|
492
|
+
class Dogapi::V1::SyntheticsService < ::Dogapi::APIService
|
493
|
+
def create_synthetics_test(type, config, options = T.unsafe(nil)); end
|
494
|
+
def delete_synthetics_tests(test_ids); end
|
495
|
+
def get_all_synthetics_tests; end
|
496
|
+
def get_synthetics_devices; end
|
497
|
+
def get_synthetics_locations; end
|
498
|
+
def get_synthetics_result(test_id, result_id); end
|
499
|
+
def get_synthetics_results(test_id); end
|
500
|
+
def get_synthetics_test(test_id); end
|
501
|
+
def start_pause_synthetics_test(test_id, new_status); end
|
502
|
+
def update_synthetics_test(test_id, type, config, options = T.unsafe(nil)); end
|
503
|
+
end
|
504
|
+
|
505
|
+
Dogapi::V1::SyntheticsService::API_VERSION = T.let(T.unsafe(nil), String)
|
506
|
+
|
507
|
+
class Dogapi::V1::TagService < ::Dogapi::APIService
|
508
|
+
def add(host_id, tags, source = T.unsafe(nil)); end
|
509
|
+
def detach(host_id, source = T.unsafe(nil)); end
|
510
|
+
def detatch(host_id); end
|
511
|
+
def get(host_id, source = T.unsafe(nil), by_source = T.unsafe(nil)); end
|
512
|
+
def get_all(source = T.unsafe(nil)); end
|
513
|
+
def update(host_id, tags, source = T.unsafe(nil)); end
|
514
|
+
end
|
515
|
+
|
516
|
+
Dogapi::V1::TagService::API_VERSION = T.let(T.unsafe(nil), String)
|
517
|
+
|
518
|
+
class Dogapi::V1::UsageService < ::Dogapi::APIService
|
519
|
+
def get_custom_metrics_usage(start_hr, end_hr = T.unsafe(nil)); end
|
520
|
+
def get_fargate_usage(start_hr, end_hr = T.unsafe(nil)); end
|
521
|
+
def get_hosts_usage(start_hr, end_hr = T.unsafe(nil)); end
|
522
|
+
def get_logs_usage(start_hr, end_hr = T.unsafe(nil)); end
|
523
|
+
def get_synthetics_usage(start_hr, end_hr = T.unsafe(nil)); end
|
524
|
+
def get_traces_usage(start_hr, end_hr = T.unsafe(nil)); end
|
525
|
+
end
|
526
|
+
|
527
|
+
Dogapi::V1::UsageService::API_VERSION = T.let(T.unsafe(nil), String)
|
528
|
+
|
529
|
+
class Dogapi::V1::UserService < ::Dogapi::APIService
|
530
|
+
def create_user(description = T.unsafe(nil)); end
|
531
|
+
def disable_user(handle); end
|
532
|
+
def get_all_users; end
|
533
|
+
def get_user(handle); end
|
534
|
+
def invite(emails, options = T.unsafe(nil)); end
|
535
|
+
def update_user(handle, description = T.unsafe(nil)); end
|
536
|
+
end
|
537
|
+
|
538
|
+
Dogapi::V1::UserService::API_VERSION = T.let(T.unsafe(nil), String)
|
539
|
+
class Dogapi::V2; end
|
540
|
+
|
541
|
+
class Dogapi::V2::DashboardListService < ::Dogapi::APIService
|
542
|
+
def add_items(resource_id, dashboards); end
|
543
|
+
def delete_items(resource_id, dashboards); end
|
544
|
+
def get_items(resource_id); end
|
545
|
+
def update_items(resource_id, dashboards); end
|
546
|
+
end
|
547
|
+
|
548
|
+
Dogapi::V2::DashboardListService::API_VERSION = T.let(T.unsafe(nil), String)
|
549
|
+
Dogapi::V2::DashboardListService::RESOURCE_NAME = T.let(T.unsafe(nil), String)
|
550
|
+
Dogapi::V2::DashboardListService::SUB_RESOURCE_NAME = T.let(T.unsafe(nil), String)
|
551
|
+
Dogapi::VERSION = T.let(T.unsafe(nil), String)
|