SematextCloud 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/SematextCloud.gemspec +4 -5
- data/docs/AlertNotification.md +2 -1
- data/docs/AlertNotificationRequest.md +2 -1
- data/docs/AlertNotificationsApi.md +30 -28
- data/docs/AlertRule.md +2 -1
- data/docs/AlertRuleResponse.md +2 -1
- data/docs/AlertRuleResponseEntry.md +2 -1
- data/docs/AlertRuleScheduleTimeRangeDto.md +2 -1
- data/docs/AlertRuleScheduleWeekdayDto.md +2 -1
- data/docs/AlertRulesResponse.md +2 -1
- data/docs/AlertRulesResponseEntry.md +2 -1
- data/docs/AlertsApi.md +55 -53
- data/docs/App.md +2 -1
- data/docs/AppDescription.md +2 -1
- data/docs/AppMetadata.md +2 -1
- data/docs/AppResponse.md +2 -1
- data/docs/AppResponseEntry.md +2 -1
- data/docs/AppTypesResponse.md +2 -1
- data/docs/AppTypesResponseEntry.md +2 -1
- data/docs/AppsApi.md +85 -80
- data/docs/AppsResponse.md +2 -1
- data/docs/AppsResponseEntry.md +2 -1
- data/docs/AwsSettingsControllerApi.md +10 -8
- data/docs/BasicAuthMethodDto.md +2 -1
- data/docs/BasicOrganizationDto.md +2 -1
- data/docs/BillingApi.md +31 -29
- data/docs/BillingInfo.md +2 -1
- data/docs/ChargesDetailsResponseDto.md +2 -1
- data/docs/CloudWatchSettings.md +2 -1
- data/docs/CloudWatchSettingsResponse.md +2 -1
- data/docs/CloudWatchSettingsResponseEntry.md +2 -1
- data/docs/CreateAppInfo.md +2 -1
- data/docs/CreateTokenDto.md +2 -1
- data/docs/DailyDto.md +10 -7
- data/docs/DayUsageData.md +23 -23
- data/docs/Dimension.md +2 -1
- data/docs/Error.md +2 -1
- data/docs/EventDto.md +2 -1
- data/docs/FilterValue.md +2 -1
- data/docs/GenericApiResponse.md +2 -1
- data/docs/GenericMapBasedApiResponse.md +2 -1
- data/docs/Invitation.md +2 -1
- data/docs/Invoice.md +2 -1
- data/docs/InvoiceResponse.md +2 -1
- data/docs/InvoiceResponseEntry.md +2 -1
- data/docs/LimitChangeEventDTO.md +2 -1
- data/docs/LogsAppApi.md +10 -8
- data/docs/LogsUsageApiControllerApi.md +9 -7
- data/docs/MailReportResponse.md +2 -1
- data/docs/MailReportResponseResponseEntry.md +2 -1
- data/docs/MinPeriodFeePeriod.md +17 -14
- data/docs/MonitoringAppApi.md +17 -15
- data/docs/NotificationIntegration.md +2 -1
- data/docs/NotificationsResponse.md +2 -1
- data/docs/NotificationsResponseEntry.md +2 -1
- data/docs/Plan.md +2 -1
- data/docs/PlansResponse.md +2 -1
- data/docs/PlansResponseEntry.md +2 -1
- data/docs/ReportInfo.md +13 -11
- data/docs/ResetPasswordApi.md +10 -8
- data/docs/ServiceIntegration.md +2 -1
- data/docs/Subscription.md +20 -18
- data/docs/SubscriptionDashboardDto.md +2 -1
- data/docs/SubscriptionDto.md +17 -15
- data/docs/SubscriptionResponse.md +2 -1
- data/docs/SubscriptionResponseEntry.md +2 -1
- data/docs/SubscriptionsApi.md +102 -99
- data/docs/SubscriptionsResponse.md +2 -1
- data/docs/SubscriptionsResponseEntry.md +2 -1
- data/docs/TagApiControllerApi.md +32 -30
- data/docs/TagNamesResponse.md +2 -1
- data/docs/TokenDto.md +2 -1
- data/docs/TokenResponse.md +2 -1
- data/docs/TokenResponseEntry.md +2 -1
- data/docs/TokensApiControllerApi.md +62 -60
- data/docs/TokensResponse.md +2 -1
- data/docs/TokensResponseEntry.md +2 -1
- data/docs/UpdateAppInfo.md +2 -1
- data/docs/UpdatePlanResponse.md +2 -1
- data/docs/UpdatePlanResponseDto.md +2 -1
- data/docs/UpdatePlanResponseEntry.md +2 -1
- data/docs/UpdateSubscriptionDto.md +2 -1
- data/docs/UpdateTokenDto.md +2 -1
- data/docs/UsageDto.md +6 -3
- data/docs/UsageMultiResponse.md +2 -1
- data/docs/UsageMultiResponseEntry.md +2 -1
- data/docs/UsageResponse.md +2 -1
- data/docs/UsageResponseEntry.md +2 -1
- data/docs/UserInfo.md +2 -1
- data/docs/UserPermissions.md +2 -1
- data/docs/UserRole.md +2 -1
- data/lib/SematextCloud/api/alert_notifications_api.rb +42 -37
- data/lib/SematextCloud/api/alerts_api.rb +81 -72
- data/lib/SematextCloud/api/apps_api.rb +125 -106
- data/lib/SematextCloud/api/aws_settings_controller_api.rb +26 -25
- data/lib/SematextCloud/api/billing_api.rb +51 -46
- data/lib/SematextCloud/api/logs_app_api.rb +21 -20
- data/lib/{stcloud → SematextCloud}/api/logs_usage_api_controller_api.rb +2 -2
- data/lib/SematextCloud/api/monitoring_app_api.rb +23 -22
- data/lib/SematextCloud/api/reset_password_api.rb +21 -20
- data/lib/SematextCloud/api/subscriptions_api.rb +203 -172
- data/lib/SematextCloud/api/tag_api_controller_api.rb +53 -50
- data/lib/SematextCloud/api/tokens_api_controller_api.rb +84 -73
- data/lib/SematextCloud/api_client.rb +41 -42
- data/lib/SematextCloud/api_error.rb +21 -2
- data/lib/SematextCloud/configuration.rb +5 -9
- data/lib/{stcloud → SematextCloud}/models/alert_notification.rb +5 -5
- data/lib/SematextCloud/models/alert_notification_request.rb +49 -26
- data/lib/SematextCloud/models/alert_rule.rb +175 -152
- data/lib/{stcloud/models/app_response.rb → SematextCloud/models/alert_rule_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/alert_rule_response_entry.rb +5 -5
- data/lib/SematextCloud/models/alert_rule_schedule_time_range_dto.rb +44 -21
- data/lib/SematextCloud/models/alert_rule_schedule_weekday_dto.rb +49 -26
- data/lib/SematextCloud/models/alert_rules_response.rb +235 -0
- data/lib/{stcloud → SematextCloud}/models/alert_rules_response_entry.rb +5 -5
- data/lib/SematextCloud/models/app.rb +163 -93
- data/lib/SematextCloud/models/app_description.rb +41 -18
- data/lib/SematextCloud/models/app_metadata.rb +60 -37
- data/lib/{stcloud/models/alert_rule_response.rb → SematextCloud/models/app_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/app_response_entry.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/app_types_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/app_types_response_entry.rb +5 -5
- data/lib/{stcloud/models/alert_rules_response.rb → SematextCloud/models/apps_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/apps_response_entry.rb +5 -5
- data/lib/SematextCloud/models/basic_auth_method_dto.rb +47 -24
- data/lib/SematextCloud/models/basic_organization_dto.rb +51 -28
- data/lib/SematextCloud/models/billing_info.rb +48 -25
- data/lib/{stcloud → SematextCloud}/models/charges_details_response_dto.rb +5 -5
- data/lib/SematextCloud/models/cloud_watch_settings.rb +56 -33
- data/lib/SematextCloud/models/cloud_watch_settings_response.rb +235 -0
- data/lib/{stcloud → SematextCloud}/models/cloud_watch_settings_response_entry.rb +5 -5
- data/lib/SematextCloud/models/create_app_info.rb +53 -31
- data/lib/SematextCloud/models/create_token_dto.rb +46 -23
- data/lib/{stcloud → SematextCloud}/models/daily_dto.rb +36 -18
- data/lib/{stcloud → SematextCloud}/models/day_usage_data.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/dimension.rb +5 -5
- data/lib/SematextCloud/models/error.rb +43 -20
- data/lib/{stcloud → SematextCloud}/models/event_dto.rb +7 -7
- data/lib/SematextCloud/models/filter_value.rb +53 -30
- data/lib/SematextCloud/models/generic_api_response.rb +46 -24
- data/lib/{stcloud → SematextCloud}/models/generic_map_based_api_response.rb +5 -5
- data/lib/SematextCloud/models/invitation.rb +74 -52
- data/lib/{stcloud → SematextCloud}/models/invoice.rb +5 -5
- data/lib/{stcloud/models/notifications_response.rb → SematextCloud/models/invoice_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/invoice_response_entry.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/limit_change_event_dto.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/mail_report_response.rb +5 -5
- data/lib/{stcloud/models/subscription_response_entry.rb → SematextCloud/models/mail_report_response_response_entry.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/min_period_fee_period.rb +24 -6
- data/lib/SematextCloud/models/notification_integration.rb +73 -50
- data/lib/SematextCloud/models/notifications_response.rb +235 -0
- data/lib/{stcloud → SematextCloud}/models/notifications_response_entry.rb +5 -5
- data/lib/SematextCloud/models/plan.rb +80 -57
- data/lib/{stcloud → SematextCloud}/models/plans_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/plans_response_entry.rb +5 -5
- data/lib/SematextCloud/models/report_info.rb +69 -37
- data/lib/SematextCloud/models/service_integration.rb +71 -48
- data/lib/{stcloud → SematextCloud}/models/subscription.rb +15 -6
- data/lib/SematextCloud/models/subscription_dashboard_dto.rb +72 -49
- data/lib/SematextCloud/models/subscription_dto.rb +85 -53
- data/lib/{stcloud/models/cloud_watch_settings_response.rb → SematextCloud/models/subscription_response.rb} +6 -6
- data/lib/{stcloud/models/mail_report_response_response_entry.rb → SematextCloud/models/subscription_response_entry.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/subscriptions_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/subscriptions_response_entry.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/tag_names_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/token_dto.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/token_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/token_response_entry.rb +5 -5
- data/lib/{stcloud/models/subscription_response.rb → SematextCloud/models/tokens_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/tokens_response_entry.rb +5 -5
- data/lib/SematextCloud/models/update_app_info.rb +64 -41
- data/lib/{stcloud → SematextCloud}/models/update_plan_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/update_plan_response_dto.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/update_plan_response_entry.rb +5 -5
- data/lib/SematextCloud/models/update_subscription_dto.rb +42 -19
- data/lib/SematextCloud/models/update_token_dto.rb +44 -21
- data/lib/{stcloud → SematextCloud}/models/usage_dto.rb +39 -21
- data/lib/{stcloud → SematextCloud}/models/usage_multi_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/usage_multi_response_entry.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/usage_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/usage_response_entry.rb +5 -5
- data/lib/SematextCloud/models/user_info.rb +42 -19
- data/lib/SematextCloud/models/user_permissions.rb +48 -25
- data/lib/SematextCloud/models/user_role.rb +53 -30
- data/lib/SematextCloud/version.rb +2 -3
- data/lib/SematextCloud.rb +57 -7
- data/spec/api/alert_notifications_api_spec.rb +8 -8
- data/spec/api/alerts_api_spec.rb +8 -8
- data/spec/api/apps_api_spec.rb +10 -10
- data/spec/api/aws_settings_controller_api_spec.rb +4 -4
- data/spec/api/billing_api_spec.rb +6 -6
- data/spec/api/logs_app_api_spec.rb +4 -4
- data/spec/api/logs_usage_api_controller_api_spec.rb +4 -4
- data/spec/api/monitoring_app_api_spec.rb +6 -6
- data/spec/api/reset_password_api_spec.rb +4 -4
- data/spec/api/subscriptions_api_spec.rb +10 -10
- data/spec/api/tag_api_controller_api_spec.rb +6 -6
- data/spec/api/tokens_api_controller_api_spec.rb +12 -12
- data/spec/api_client_spec.rb +30 -30
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/alert_notification_request_spec.rb +4 -4
- data/spec/models/alert_notification_spec.rb +4 -4
- data/spec/models/alert_rule_response_entry_spec.rb +4 -4
- data/spec/models/alert_rule_response_spec.rb +4 -4
- data/spec/models/alert_rule_schedule_time_range_dto_spec.rb +4 -4
- data/spec/models/alert_rule_schedule_weekday_dto_spec.rb +4 -4
- data/spec/models/alert_rule_spec.rb +4 -4
- data/spec/models/alert_rules_response_entry_spec.rb +4 -4
- data/spec/models/alert_rules_response_spec.rb +4 -4
- data/spec/models/app_description_spec.rb +4 -4
- data/spec/models/app_metadata_spec.rb +4 -4
- data/spec/models/app_response_entry_spec.rb +4 -4
- data/spec/models/app_response_spec.rb +4 -4
- data/spec/models/app_spec.rb +4 -4
- data/spec/models/app_types_response_entry_spec.rb +4 -4
- data/spec/models/app_types_response_spec.rb +4 -4
- data/spec/models/apps_response_entry_spec.rb +4 -4
- data/spec/models/apps_response_spec.rb +4 -4
- data/spec/models/basic_auth_method_dto_spec.rb +4 -4
- data/spec/models/basic_organization_dto_spec.rb +4 -4
- data/spec/models/billing_info_spec.rb +4 -4
- data/spec/models/charges_details_response_dto_spec.rb +4 -4
- data/spec/models/cloud_watch_settings_response_entry_spec.rb +4 -4
- data/spec/models/cloud_watch_settings_response_spec.rb +4 -4
- data/spec/models/cloud_watch_settings_spec.rb +4 -4
- data/spec/models/create_app_info_spec.rb +4 -4
- data/spec/models/create_token_dto_spec.rb +4 -4
- data/spec/models/daily_dto_spec.rb +18 -6
- data/spec/models/day_usage_data_spec.rb +4 -4
- data/spec/models/dimension_spec.rb +4 -4
- data/spec/models/error_spec.rb +4 -4
- data/spec/models/event_dto_spec.rb +5 -5
- data/spec/models/filter_value_spec.rb +4 -4
- data/spec/models/generic_api_response_spec.rb +4 -4
- data/spec/models/generic_map_based_api_response_spec.rb +4 -4
- data/spec/models/invitation_spec.rb +4 -4
- data/spec/models/invoice_response_entry_spec.rb +4 -4
- data/spec/models/invoice_response_spec.rb +4 -4
- data/spec/models/invoice_spec.rb +4 -4
- data/spec/models/limit_change_event_dto_spec.rb +4 -4
- data/spec/models/mail_report_response_response_entry_spec.rb +4 -4
- data/spec/models/mail_report_response_spec.rb +4 -4
- data/spec/models/min_period_fee_period_spec.rb +16 -4
- data/spec/models/notification_integration_spec.rb +4 -4
- data/spec/models/notifications_response_entry_spec.rb +4 -4
- data/spec/models/notifications_response_spec.rb +4 -4
- data/spec/models/plan_spec.rb +5 -5
- data/spec/models/plans_response_entry_spec.rb +4 -4
- data/spec/models/plans_response_spec.rb +4 -4
- data/spec/models/report_info_spec.rb +10 -4
- data/spec/models/service_integration_spec.rb +4 -4
- data/spec/models/subscription_dashboard_dto_spec.rb +4 -4
- data/spec/models/subscription_dto_spec.rb +10 -4
- data/spec/models/subscription_response_entry_spec.rb +4 -4
- data/spec/models/subscription_response_spec.rb +4 -4
- data/spec/models/subscription_spec.rb +10 -4
- data/spec/models/subscriptions_response_entry_spec.rb +4 -4
- data/spec/models/subscriptions_response_spec.rb +4 -4
- data/spec/models/tag_names_response_spec.rb +4 -4
- data/spec/models/token_dto_spec.rb +4 -4
- data/spec/models/token_response_entry_spec.rb +4 -4
- data/spec/models/token_response_spec.rb +4 -4
- data/spec/models/tokens_response_entry_spec.rb +4 -4
- data/spec/models/tokens_response_spec.rb +4 -4
- data/spec/models/update_app_info_spec.rb +4 -4
- data/spec/models/update_plan_response_dto_spec.rb +4 -4
- data/spec/models/update_plan_response_entry_spec.rb +4 -4
- data/spec/models/update_plan_response_spec.rb +4 -4
- data/spec/models/update_subscription_dto_spec.rb +4 -4
- data/spec/models/update_token_dto_spec.rb +4 -4
- data/spec/models/usage_dto_spec.rb +22 -10
- data/spec/models/usage_multi_response_entry_spec.rb +4 -4
- data/spec/models/usage_multi_response_spec.rb +4 -4
- data/spec/models/usage_response_entry_spec.rb +4 -4
- data/spec/models/usage_response_spec.rb +4 -4
- data/spec/models/user_info_spec.rb +4 -4
- data/spec/models/user_permissions_spec.rb +4 -4
- data/spec/models/user_role_spec.rb +4 -4
- data/spec/spec_helper.rb +2 -2
- metadata +55 -121
- data/docs/DataSeriesFilter.md +0 -8
- data/docs/DataSeriesRequest.md +0 -12
- data/docs/MetricsApi.md +0 -227
- data/docs/SavedQueriesApi.md +0 -220
- data/docs/SavedQuery.md +0 -18
- data/lib/SematextCloud/api/metrics_api.rb +0 -247
- data/lib/SematextCloud/api/saved_queries_api.rb +0 -237
- data/lib/SematextCloud/models/data_series_filter.rb +0 -237
- data/lib/SematextCloud/models/data_series_request.rb +0 -283
- data/lib/SematextCloud/models/saved_query.rb +0 -291
- data/lib/stcloud/api/alert_notifications_api.rb +0 -142
- data/lib/stcloud/api/alerts_api.rb +0 -292
- data/lib/stcloud/api/apps_api.rb +0 -452
- data/lib/stcloud/api/aws_settings_controller_api.rb +0 -84
- data/lib/stcloud/api/billing_api.rb +0 -202
- data/lib/stcloud/api/logs_app_api.rb +0 -76
- data/lib/stcloud/api/monitoring_app_api.rb +0 -76
- data/lib/stcloud/api/reset_password_api.rb +0 -76
- data/lib/stcloud/api/subscriptions_api.rb +0 -610
- data/lib/stcloud/api/tag_api_controller_api.rb +0 -250
- data/lib/stcloud/api/tokens_api_controller_api.rb +0 -324
- data/lib/stcloud/api_client.rb +0 -388
- data/lib/stcloud/api_error.rb +0 -57
- data/lib/stcloud/configuration.rb +0 -205
- data/lib/stcloud/models/alert_notification_request.rb +0 -235
- data/lib/stcloud/models/alert_rule.rb +0 -675
- data/lib/stcloud/models/alert_rule_schedule_time_range_dto.rb +0 -215
- data/lib/stcloud/models/alert_rule_schedule_weekday_dto.rb +0 -244
- data/lib/stcloud/models/app.rb +0 -489
- data/lib/stcloud/models/app_description.rb +0 -206
- data/lib/stcloud/models/app_metadata.rb +0 -291
- data/lib/stcloud/models/apps_response.rb +0 -235
- data/lib/stcloud/models/basic_auth_method_dto.rb +0 -249
- data/lib/stcloud/models/basic_organization_dto.rb +0 -269
- data/lib/stcloud/models/billing_info.rb +0 -224
- data/lib/stcloud/models/cloud_watch_settings.rb +0 -279
- data/lib/stcloud/models/create_app_info.rb +0 -242
- data/lib/stcloud/models/create_token_dto.rb +0 -224
- data/lib/stcloud/models/error.rb +0 -215
- data/lib/stcloud/models/filter_value.rb +0 -253
- data/lib/stcloud/models/generic_api_response.rb +0 -236
- data/lib/stcloud/models/invitation.rb +0 -348
- data/lib/stcloud/models/invoice_response.rb +0 -235
- data/lib/stcloud/models/notification_integration.rb +0 -347
- data/lib/stcloud/models/plan.rb +0 -360
- data/lib/stcloud/models/report_info.rb +0 -270
- data/lib/stcloud/models/service_integration.rb +0 -305
- data/lib/stcloud/models/subscription_dashboard_dto.rb +0 -342
- data/lib/stcloud/models/subscription_dto.rb +0 -351
- data/lib/stcloud/models/tokens_response.rb +0 -235
- data/lib/stcloud/models/update_app_info.rb +0 -312
- data/lib/stcloud/models/update_subscription_dto.rb +0 -206
- data/lib/stcloud/models/update_token_dto.rb +0 -215
- data/lib/stcloud/models/user_info.rb +0 -206
- data/lib/stcloud/models/user_permissions.rb +0 -224
- data/lib/stcloud/models/user_role.rb +0 -270
- data/lib/stcloud/version.rb +0 -14
- data/lib/stcloud.rb +0 -128
- data/spec/api/metrics_api_spec.rb +0 -83
- data/spec/api/saved_queries_api_spec.rb +0 -80
- data/spec/models/data_series_filter_spec.rb +0 -57
- data/spec/models/data_series_request_spec.rb +0 -81
- data/spec/models/saved_query_spec.rb +0 -113
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: SematextCloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sematext.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -72,7 +72,7 @@ dependencies:
|
|
72
72
|
version: 3.6.0
|
73
73
|
description: Sematext Cloud API Client for talking to https://sematext.com/docs/api/
|
74
74
|
email:
|
75
|
-
-
|
75
|
+
- support@sematext.com
|
76
76
|
executables: []
|
77
77
|
extensions: []
|
78
78
|
extra_rdoc_files: []
|
@@ -116,8 +116,6 @@ files:
|
|
116
116
|
- docs/CreateAppInfo.md
|
117
117
|
- docs/CreateTokenDto.md
|
118
118
|
- docs/DailyDto.md
|
119
|
-
- docs/DataSeriesFilter.md
|
120
|
-
- docs/DataSeriesRequest.md
|
121
119
|
- docs/DayUsageData.md
|
122
120
|
- docs/Dimension.md
|
123
121
|
- docs/Error.md
|
@@ -134,7 +132,6 @@ files:
|
|
134
132
|
- docs/LogsUsageApiControllerApi.md
|
135
133
|
- docs/MailReportResponse.md
|
136
134
|
- docs/MailReportResponseResponseEntry.md
|
137
|
-
- docs/MetricsApi.md
|
138
135
|
- docs/MinPeriodFeePeriod.md
|
139
136
|
- docs/MonitoringAppApi.md
|
140
137
|
- docs/NotificationIntegration.md
|
@@ -145,8 +142,6 @@ files:
|
|
145
142
|
- docs/PlansResponseEntry.md
|
146
143
|
- docs/ReportInfo.md
|
147
144
|
- docs/ResetPasswordApi.md
|
148
|
-
- docs/SavedQueriesApi.md
|
149
|
-
- docs/SavedQuery.md
|
150
145
|
- docs/ServiceIntegration.md
|
151
146
|
- docs/Subscription.md
|
152
147
|
- docs/SubscriptionDashboardDto.md
|
@@ -185,144 +180,94 @@ files:
|
|
185
180
|
- lib/SematextCloud/api/aws_settings_controller_api.rb
|
186
181
|
- lib/SematextCloud/api/billing_api.rb
|
187
182
|
- lib/SematextCloud/api/logs_app_api.rb
|
188
|
-
- lib/SematextCloud/api/
|
183
|
+
- lib/SematextCloud/api/logs_usage_api_controller_api.rb
|
189
184
|
- lib/SematextCloud/api/monitoring_app_api.rb
|
190
185
|
- lib/SematextCloud/api/reset_password_api.rb
|
191
|
-
- lib/SematextCloud/api/saved_queries_api.rb
|
192
186
|
- lib/SematextCloud/api/subscriptions_api.rb
|
193
187
|
- lib/SematextCloud/api/tag_api_controller_api.rb
|
194
188
|
- lib/SematextCloud/api/tokens_api_controller_api.rb
|
195
189
|
- lib/SematextCloud/api_client.rb
|
196
190
|
- lib/SematextCloud/api_error.rb
|
197
191
|
- lib/SematextCloud/configuration.rb
|
192
|
+
- lib/SematextCloud/models/alert_notification.rb
|
198
193
|
- lib/SematextCloud/models/alert_notification_request.rb
|
199
194
|
- lib/SematextCloud/models/alert_rule.rb
|
195
|
+
- lib/SematextCloud/models/alert_rule_response.rb
|
196
|
+
- lib/SematextCloud/models/alert_rule_response_entry.rb
|
200
197
|
- lib/SematextCloud/models/alert_rule_schedule_time_range_dto.rb
|
201
198
|
- lib/SematextCloud/models/alert_rule_schedule_weekday_dto.rb
|
199
|
+
- lib/SematextCloud/models/alert_rules_response.rb
|
200
|
+
- lib/SematextCloud/models/alert_rules_response_entry.rb
|
202
201
|
- lib/SematextCloud/models/app.rb
|
203
202
|
- lib/SematextCloud/models/app_description.rb
|
204
203
|
- lib/SematextCloud/models/app_metadata.rb
|
204
|
+
- lib/SematextCloud/models/app_response.rb
|
205
|
+
- lib/SematextCloud/models/app_response_entry.rb
|
206
|
+
- lib/SematextCloud/models/app_types_response.rb
|
207
|
+
- lib/SematextCloud/models/app_types_response_entry.rb
|
208
|
+
- lib/SematextCloud/models/apps_response.rb
|
209
|
+
- lib/SematextCloud/models/apps_response_entry.rb
|
205
210
|
- lib/SematextCloud/models/basic_auth_method_dto.rb
|
206
211
|
- lib/SematextCloud/models/basic_organization_dto.rb
|
207
212
|
- lib/SematextCloud/models/billing_info.rb
|
213
|
+
- lib/SematextCloud/models/charges_details_response_dto.rb
|
208
214
|
- lib/SematextCloud/models/cloud_watch_settings.rb
|
215
|
+
- lib/SematextCloud/models/cloud_watch_settings_response.rb
|
216
|
+
- lib/SematextCloud/models/cloud_watch_settings_response_entry.rb
|
209
217
|
- lib/SematextCloud/models/create_app_info.rb
|
210
218
|
- lib/SematextCloud/models/create_token_dto.rb
|
211
|
-
- lib/SematextCloud/models/
|
212
|
-
- lib/SematextCloud/models/
|
219
|
+
- lib/SematextCloud/models/daily_dto.rb
|
220
|
+
- lib/SematextCloud/models/day_usage_data.rb
|
221
|
+
- lib/SematextCloud/models/dimension.rb
|
213
222
|
- lib/SematextCloud/models/error.rb
|
223
|
+
- lib/SematextCloud/models/event_dto.rb
|
214
224
|
- lib/SematextCloud/models/filter_value.rb
|
215
225
|
- lib/SematextCloud/models/generic_api_response.rb
|
226
|
+
- lib/SematextCloud/models/generic_map_based_api_response.rb
|
216
227
|
- lib/SematextCloud/models/invitation.rb
|
228
|
+
- lib/SematextCloud/models/invoice.rb
|
229
|
+
- lib/SematextCloud/models/invoice_response.rb
|
230
|
+
- lib/SematextCloud/models/invoice_response_entry.rb
|
231
|
+
- lib/SematextCloud/models/limit_change_event_dto.rb
|
232
|
+
- lib/SematextCloud/models/mail_report_response.rb
|
233
|
+
- lib/SematextCloud/models/mail_report_response_response_entry.rb
|
234
|
+
- lib/SematextCloud/models/min_period_fee_period.rb
|
217
235
|
- lib/SematextCloud/models/notification_integration.rb
|
236
|
+
- lib/SematextCloud/models/notifications_response.rb
|
237
|
+
- lib/SematextCloud/models/notifications_response_entry.rb
|
218
238
|
- lib/SematextCloud/models/plan.rb
|
239
|
+
- lib/SematextCloud/models/plans_response.rb
|
240
|
+
- lib/SematextCloud/models/plans_response_entry.rb
|
219
241
|
- lib/SematextCloud/models/report_info.rb
|
220
|
-
- lib/SematextCloud/models/saved_query.rb
|
221
242
|
- lib/SematextCloud/models/service_integration.rb
|
243
|
+
- lib/SematextCloud/models/subscription.rb
|
222
244
|
- lib/SematextCloud/models/subscription_dashboard_dto.rb
|
223
245
|
- lib/SematextCloud/models/subscription_dto.rb
|
246
|
+
- lib/SematextCloud/models/subscription_response.rb
|
247
|
+
- lib/SematextCloud/models/subscription_response_entry.rb
|
248
|
+
- lib/SematextCloud/models/subscriptions_response.rb
|
249
|
+
- lib/SematextCloud/models/subscriptions_response_entry.rb
|
250
|
+
- lib/SematextCloud/models/tag_names_response.rb
|
251
|
+
- lib/SematextCloud/models/token_dto.rb
|
252
|
+
- lib/SematextCloud/models/token_response.rb
|
253
|
+
- lib/SematextCloud/models/token_response_entry.rb
|
254
|
+
- lib/SematextCloud/models/tokens_response.rb
|
255
|
+
- lib/SematextCloud/models/tokens_response_entry.rb
|
224
256
|
- lib/SematextCloud/models/update_app_info.rb
|
257
|
+
- lib/SematextCloud/models/update_plan_response.rb
|
258
|
+
- lib/SematextCloud/models/update_plan_response_dto.rb
|
259
|
+
- lib/SematextCloud/models/update_plan_response_entry.rb
|
225
260
|
- lib/SematextCloud/models/update_subscription_dto.rb
|
226
261
|
- lib/SematextCloud/models/update_token_dto.rb
|
262
|
+
- lib/SematextCloud/models/usage_dto.rb
|
263
|
+
- lib/SematextCloud/models/usage_multi_response.rb
|
264
|
+
- lib/SematextCloud/models/usage_multi_response_entry.rb
|
265
|
+
- lib/SematextCloud/models/usage_response.rb
|
266
|
+
- lib/SematextCloud/models/usage_response_entry.rb
|
227
267
|
- lib/SematextCloud/models/user_info.rb
|
228
268
|
- lib/SematextCloud/models/user_permissions.rb
|
229
269
|
- lib/SematextCloud/models/user_role.rb
|
230
270
|
- lib/SematextCloud/version.rb
|
231
|
-
- lib/stcloud.rb
|
232
|
-
- lib/stcloud/api/alert_notifications_api.rb
|
233
|
-
- lib/stcloud/api/alerts_api.rb
|
234
|
-
- lib/stcloud/api/apps_api.rb
|
235
|
-
- lib/stcloud/api/aws_settings_controller_api.rb
|
236
|
-
- lib/stcloud/api/billing_api.rb
|
237
|
-
- lib/stcloud/api/logs_app_api.rb
|
238
|
-
- lib/stcloud/api/logs_usage_api_controller_api.rb
|
239
|
-
- lib/stcloud/api/monitoring_app_api.rb
|
240
|
-
- lib/stcloud/api/reset_password_api.rb
|
241
|
-
- lib/stcloud/api/subscriptions_api.rb
|
242
|
-
- lib/stcloud/api/tag_api_controller_api.rb
|
243
|
-
- lib/stcloud/api/tokens_api_controller_api.rb
|
244
|
-
- lib/stcloud/api_client.rb
|
245
|
-
- lib/stcloud/api_error.rb
|
246
|
-
- lib/stcloud/configuration.rb
|
247
|
-
- lib/stcloud/models/alert_notification.rb
|
248
|
-
- lib/stcloud/models/alert_notification_request.rb
|
249
|
-
- lib/stcloud/models/alert_rule.rb
|
250
|
-
- lib/stcloud/models/alert_rule_response.rb
|
251
|
-
- lib/stcloud/models/alert_rule_response_entry.rb
|
252
|
-
- lib/stcloud/models/alert_rule_schedule_time_range_dto.rb
|
253
|
-
- lib/stcloud/models/alert_rule_schedule_weekday_dto.rb
|
254
|
-
- lib/stcloud/models/alert_rules_response.rb
|
255
|
-
- lib/stcloud/models/alert_rules_response_entry.rb
|
256
|
-
- lib/stcloud/models/app.rb
|
257
|
-
- lib/stcloud/models/app_description.rb
|
258
|
-
- lib/stcloud/models/app_metadata.rb
|
259
|
-
- lib/stcloud/models/app_response.rb
|
260
|
-
- lib/stcloud/models/app_response_entry.rb
|
261
|
-
- lib/stcloud/models/app_types_response.rb
|
262
|
-
- lib/stcloud/models/app_types_response_entry.rb
|
263
|
-
- lib/stcloud/models/apps_response.rb
|
264
|
-
- lib/stcloud/models/apps_response_entry.rb
|
265
|
-
- lib/stcloud/models/basic_auth_method_dto.rb
|
266
|
-
- lib/stcloud/models/basic_organization_dto.rb
|
267
|
-
- lib/stcloud/models/billing_info.rb
|
268
|
-
- lib/stcloud/models/charges_details_response_dto.rb
|
269
|
-
- lib/stcloud/models/cloud_watch_settings.rb
|
270
|
-
- lib/stcloud/models/cloud_watch_settings_response.rb
|
271
|
-
- lib/stcloud/models/cloud_watch_settings_response_entry.rb
|
272
|
-
- lib/stcloud/models/create_app_info.rb
|
273
|
-
- lib/stcloud/models/create_token_dto.rb
|
274
|
-
- lib/stcloud/models/daily_dto.rb
|
275
|
-
- lib/stcloud/models/day_usage_data.rb
|
276
|
-
- lib/stcloud/models/dimension.rb
|
277
|
-
- lib/stcloud/models/error.rb
|
278
|
-
- lib/stcloud/models/event_dto.rb
|
279
|
-
- lib/stcloud/models/filter_value.rb
|
280
|
-
- lib/stcloud/models/generic_api_response.rb
|
281
|
-
- lib/stcloud/models/generic_map_based_api_response.rb
|
282
|
-
- lib/stcloud/models/invitation.rb
|
283
|
-
- lib/stcloud/models/invoice.rb
|
284
|
-
- lib/stcloud/models/invoice_response.rb
|
285
|
-
- lib/stcloud/models/invoice_response_entry.rb
|
286
|
-
- lib/stcloud/models/limit_change_event_dto.rb
|
287
|
-
- lib/stcloud/models/mail_report_response.rb
|
288
|
-
- lib/stcloud/models/mail_report_response_response_entry.rb
|
289
|
-
- lib/stcloud/models/min_period_fee_period.rb
|
290
|
-
- lib/stcloud/models/notification_integration.rb
|
291
|
-
- lib/stcloud/models/notifications_response.rb
|
292
|
-
- lib/stcloud/models/notifications_response_entry.rb
|
293
|
-
- lib/stcloud/models/plan.rb
|
294
|
-
- lib/stcloud/models/plans_response.rb
|
295
|
-
- lib/stcloud/models/plans_response_entry.rb
|
296
|
-
- lib/stcloud/models/report_info.rb
|
297
|
-
- lib/stcloud/models/service_integration.rb
|
298
|
-
- lib/stcloud/models/subscription.rb
|
299
|
-
- lib/stcloud/models/subscription_dashboard_dto.rb
|
300
|
-
- lib/stcloud/models/subscription_dto.rb
|
301
|
-
- lib/stcloud/models/subscription_response.rb
|
302
|
-
- lib/stcloud/models/subscription_response_entry.rb
|
303
|
-
- lib/stcloud/models/subscriptions_response.rb
|
304
|
-
- lib/stcloud/models/subscriptions_response_entry.rb
|
305
|
-
- lib/stcloud/models/tag_names_response.rb
|
306
|
-
- lib/stcloud/models/token_dto.rb
|
307
|
-
- lib/stcloud/models/token_response.rb
|
308
|
-
- lib/stcloud/models/token_response_entry.rb
|
309
|
-
- lib/stcloud/models/tokens_response.rb
|
310
|
-
- lib/stcloud/models/tokens_response_entry.rb
|
311
|
-
- lib/stcloud/models/update_app_info.rb
|
312
|
-
- lib/stcloud/models/update_plan_response.rb
|
313
|
-
- lib/stcloud/models/update_plan_response_dto.rb
|
314
|
-
- lib/stcloud/models/update_plan_response_entry.rb
|
315
|
-
- lib/stcloud/models/update_subscription_dto.rb
|
316
|
-
- lib/stcloud/models/update_token_dto.rb
|
317
|
-
- lib/stcloud/models/usage_dto.rb
|
318
|
-
- lib/stcloud/models/usage_multi_response.rb
|
319
|
-
- lib/stcloud/models/usage_multi_response_entry.rb
|
320
|
-
- lib/stcloud/models/usage_response.rb
|
321
|
-
- lib/stcloud/models/usage_response_entry.rb
|
322
|
-
- lib/stcloud/models/user_info.rb
|
323
|
-
- lib/stcloud/models/user_permissions.rb
|
324
|
-
- lib/stcloud/models/user_role.rb
|
325
|
-
- lib/stcloud/version.rb
|
326
271
|
- spec/api/alert_notifications_api_spec.rb
|
327
272
|
- spec/api/alerts_api_spec.rb
|
328
273
|
- spec/api/apps_api_spec.rb
|
@@ -330,10 +275,8 @@ files:
|
|
330
275
|
- spec/api/billing_api_spec.rb
|
331
276
|
- spec/api/logs_app_api_spec.rb
|
332
277
|
- spec/api/logs_usage_api_controller_api_spec.rb
|
333
|
-
- spec/api/metrics_api_spec.rb
|
334
278
|
- spec/api/monitoring_app_api_spec.rb
|
335
279
|
- spec/api/reset_password_api_spec.rb
|
336
|
-
- spec/api/saved_queries_api_spec.rb
|
337
280
|
- spec/api/subscriptions_api_spec.rb
|
338
281
|
- spec/api/tag_api_controller_api_spec.rb
|
339
282
|
- spec/api/tokens_api_controller_api_spec.rb
|
@@ -368,8 +311,6 @@ files:
|
|
368
311
|
- spec/models/create_app_info_spec.rb
|
369
312
|
- spec/models/create_token_dto_spec.rb
|
370
313
|
- spec/models/daily_dto_spec.rb
|
371
|
-
- spec/models/data_series_filter_spec.rb
|
372
|
-
- spec/models/data_series_request_spec.rb
|
373
314
|
- spec/models/day_usage_data_spec.rb
|
374
315
|
- spec/models/dimension_spec.rb
|
375
316
|
- spec/models/error_spec.rb
|
@@ -392,7 +333,6 @@ files:
|
|
392
333
|
- spec/models/plans_response_entry_spec.rb
|
393
334
|
- spec/models/plans_response_spec.rb
|
394
335
|
- spec/models/report_info_spec.rb
|
395
|
-
- spec/models/saved_query_spec.rb
|
396
336
|
- spec/models/service_integration_spec.rb
|
397
337
|
- spec/models/subscription_dashboard_dto_spec.rb
|
398
338
|
- spec/models/subscription_dto_spec.rb
|
@@ -424,7 +364,7 @@ files:
|
|
424
364
|
- spec/spec_helper.rb
|
425
365
|
homepage: https://github.com/sematext/sematext-api-client-ruby
|
426
366
|
licenses:
|
427
|
-
- Apache
|
367
|
+
- Apache License, Version 2.0
|
428
368
|
metadata: {}
|
429
369
|
post_install_message:
|
430
370
|
rdoc_options: []
|
@@ -444,8 +384,7 @@ requirements: []
|
|
444
384
|
rubygems_version: 3.1.6
|
445
385
|
signing_key:
|
446
386
|
specification_version: 4
|
447
|
-
summary:
|
448
|
-
monitoring, alerting and log shipping.
|
387
|
+
summary: Sematext Cloud API Client for talking to https://sematext.com/docs/api/
|
449
388
|
test_files:
|
450
389
|
- spec/api/tag_api_controller_api_spec.rb
|
451
390
|
- spec/api/aws_settings_controller_api_spec.rb
|
@@ -455,8 +394,6 @@ test_files:
|
|
455
394
|
- spec/api/logs_app_api_spec.rb
|
456
395
|
- spec/api/monitoring_app_api_spec.rb
|
457
396
|
- spec/api/alert_notifications_api_spec.rb
|
458
|
-
- spec/api/metrics_api_spec.rb
|
459
|
-
- spec/api/saved_queries_api_spec.rb
|
460
397
|
- spec/api/reset_password_api_spec.rb
|
461
398
|
- spec/api/alerts_api_spec.rb
|
462
399
|
- spec/api/billing_api_spec.rb
|
@@ -495,7 +432,6 @@ test_files:
|
|
495
432
|
- spec/models/invoice_response_spec.rb
|
496
433
|
- spec/models/invoice_spec.rb
|
497
434
|
- spec/models/charges_details_response_dto_spec.rb
|
498
|
-
- spec/models/saved_query_spec.rb
|
499
435
|
- spec/models/update_plan_response_spec.rb
|
500
436
|
- spec/models/subscription_response_spec.rb
|
501
437
|
- spec/models/usage_response_entry_spec.rb
|
@@ -507,7 +443,6 @@ test_files:
|
|
507
443
|
- spec/models/plans_response_entry_spec.rb
|
508
444
|
- spec/models/alert_notification_spec.rb
|
509
445
|
- spec/models/usage_dto_spec.rb
|
510
|
-
- spec/models/data_series_request_spec.rb
|
511
446
|
- spec/models/alert_rule_schedule_weekday_dto_spec.rb
|
512
447
|
- spec/models/create_token_dto_spec.rb
|
513
448
|
- spec/models/alert_rules_response_entry_spec.rb
|
@@ -542,7 +477,6 @@ test_files:
|
|
542
477
|
- spec/models/token_dto_spec.rb
|
543
478
|
- spec/models/app_metadata_spec.rb
|
544
479
|
- spec/models/cloud_watch_settings_spec.rb
|
545
|
-
- spec/models/data_series_filter_spec.rb
|
546
480
|
- spec/models/token_response_entry_spec.rb
|
547
481
|
- spec/models/invoice_response_entry_spec.rb
|
548
482
|
- spec/spec_helper.rb
|
data/docs/DataSeriesFilter.md
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
# SematextCloud::DataSeriesFilter
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
| Name | Type | Description | Notes |
|
5
|
-
| --------------- | ----------------------- | ----------- | ---------- |
|
6
|
-
| **aggregation** | **String** | | [optional] |
|
7
|
-
| **multi_value** | **BOOLEAN** | | [optional] |
|
8
|
-
| **values** | **Array<String>** | | [optional] |
|
data/docs/DataSeriesRequest.md
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# SematextCloud::DataSeriesRequest
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
| Name | Type | Description | Notes |
|
5
|
-
| -------------------- | --------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
|
6
|
-
| **default_interval** | **Integer** | | [optional] |
|
7
|
-
| **_end** | **String** | End time of interval. Can be expressed as timestamp in milliseconds or UTC date in yyyy-MM-dd HH:mm:ss format | [optional] |
|
8
|
-
| **filters** | [**Hash<String, DataSeriesFilter>**](DataSeriesFilter.md) | Map of allowed filter values and aggregation strategy. List of available filter values can be fetched using metric filters endpoint and default aggregation strategy depends on metric | [optional] |
|
9
|
-
| **granularity** | **String** | Data points interval granularity between two data points.Default value is \"AUTO\" - calculated based on selected time span. Not required while getting filters. | [optional] |
|
10
|
-
| **interval** | **String** | | [optional] |
|
11
|
-
| **metric** | **String** | Metric name or metric group prefix |
|
12
|
-
| **start** | **String** | Start time of interval. Can be expressed as timestamp in milliseconds or UTC date in yyyy-MM-dd HH:mm:ss format | [optional] |
|
data/docs/MetricsApi.md
DELETED
@@ -1,227 +0,0 @@
|
|
1
|
-
# SematextCloud::MetricsApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://localhost*
|
4
|
-
|
5
|
-
| Method | HTTP request | Description |
|
6
|
-
| ---------------------------------------------------------------------------- | --------------------------------------------------------- | ----------------------------------------------- |
|
7
|
-
| [**list_data_series_using_post**](MetricsApi.md#list_data_series_using_post) | **POST** /spm-reports/api/v3/apps/{appId}/metrics/data | Get metrics data points for an app |
|
8
|
-
| [**list_filters_using_post**](MetricsApi.md#list_filters_using_post) | **POST** /spm-reports/api/v3/apps/{appId}/metrics/filters | Get metrics filters and their values for an app |
|
9
|
-
| [**list_metrics_keys_using_get**](MetricsApi.md#list_metrics_keys_using_get) | **GET** /spm-reports/api/v3/apps/{appId}/metrics/keys | Get metrics keys for an app |
|
10
|
-
| [**list_metrics_using_get**](MetricsApi.md#list_metrics_using_get) | **GET** /spm-reports/api/v3/apps/{appId}/metrics | Get metrics info for an app |
|
11
|
-
|
12
|
-
|
13
|
-
# **list_data_series_using_post**
|
14
|
-
> GenericApiResponse list_data_series_using_post(app_id, request_body)
|
15
|
-
|
16
|
-
Get metrics data points for an app
|
17
|
-
|
18
|
-
Default value of interval is 5m
|
19
|
-
|
20
|
-
### Example
|
21
|
-
```ruby
|
22
|
-
# load the gem
|
23
|
-
require 'SematextCloud'
|
24
|
-
# setup authorization
|
25
|
-
SematextCloud.configure do |config|
|
26
|
-
# Configure API key authorization: api_key
|
27
|
-
config.api_key['Authorization'] = 'YOUR API KEY'
|
28
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
29
|
-
#config.api_key_prefix['Authorization'] = 'Bearer'
|
30
|
-
end
|
31
|
-
|
32
|
-
api_instance = SematextCloud::MetricsApi.new
|
33
|
-
|
34
|
-
app_id = 789 # Integer | appId
|
35
|
-
|
36
|
-
request_body = SematextCloud::DataSeriesRequest.new # DataSeriesRequest | Metric data points request
|
37
|
-
|
38
|
-
|
39
|
-
begin
|
40
|
-
#Get metrics data points for an app
|
41
|
-
result = api_instance.list_data_series_using_post(app_id, request_body)
|
42
|
-
p result
|
43
|
-
rescue SematextCloud::ApiError => e
|
44
|
-
puts "Exception when calling MetricsApi->list_data_series_using_post: #{e}"
|
45
|
-
end
|
46
|
-
```
|
47
|
-
|
48
|
-
### Parameters
|
49
|
-
|
50
|
-
| Name | Type | Description | Notes |
|
51
|
-
| ---------------- | --------------------------------------------- | -------------------------- | ----- |
|
52
|
-
| **app_id** | **Integer** | appId |
|
53
|
-
| **request_body** | [**DataSeriesRequest**](DataSeriesRequest.md) | Metric data points request |
|
54
|
-
|
55
|
-
### Return type
|
56
|
-
|
57
|
-
[**GenericApiResponse**](GenericApiResponse.md)
|
58
|
-
|
59
|
-
### Authorization
|
60
|
-
|
61
|
-
[api_key](../README.md#api_key)
|
62
|
-
|
63
|
-
### HTTP request headers
|
64
|
-
|
65
|
-
- **Content-Type**: application/json
|
66
|
-
- **Accept**: application/json
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
# **list_filters_using_post**
|
71
|
-
> GenericApiResponse list_filters_using_post(app_id, request_body)
|
72
|
-
|
73
|
-
Get metrics filters and their values for an app
|
74
|
-
|
75
|
-
Default value of interval is 5m
|
76
|
-
|
77
|
-
### Example
|
78
|
-
```ruby
|
79
|
-
# load the gem
|
80
|
-
require 'SematextCloud'
|
81
|
-
# setup authorization
|
82
|
-
SematextCloud.configure do |config|
|
83
|
-
# Configure API key authorization: api_key
|
84
|
-
config.api_key['Authorization'] = 'YOUR API KEY'
|
85
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
86
|
-
#config.api_key_prefix['Authorization'] = 'Bearer'
|
87
|
-
end
|
88
|
-
|
89
|
-
api_instance = SematextCloud::MetricsApi.new
|
90
|
-
|
91
|
-
app_id = 789 # Integer | appId
|
92
|
-
|
93
|
-
request_body = SematextCloud::DataSeriesRequest.new # DataSeriesRequest | Metric filters request
|
94
|
-
|
95
|
-
|
96
|
-
begin
|
97
|
-
#Get metrics filters and their values for an app
|
98
|
-
result = api_instance.list_filters_using_post(app_id, request_body)
|
99
|
-
p result
|
100
|
-
rescue SematextCloud::ApiError => e
|
101
|
-
puts "Exception when calling MetricsApi->list_filters_using_post: #{e}"
|
102
|
-
end
|
103
|
-
```
|
104
|
-
|
105
|
-
### Parameters
|
106
|
-
|
107
|
-
| Name | Type | Description | Notes |
|
108
|
-
| ---------------- | --------------------------------------------- | ---------------------- | ----- |
|
109
|
-
| **app_id** | **Integer** | appId |
|
110
|
-
| **request_body** | [**DataSeriesRequest**](DataSeriesRequest.md) | Metric filters request |
|
111
|
-
|
112
|
-
### Return type
|
113
|
-
|
114
|
-
[**GenericApiResponse**](GenericApiResponse.md)
|
115
|
-
|
116
|
-
### Authorization
|
117
|
-
|
118
|
-
[api_key](../README.md#api_key)
|
119
|
-
|
120
|
-
### HTTP request headers
|
121
|
-
|
122
|
-
- **Content-Type**: application/json
|
123
|
-
- **Accept**: application/json
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
# **list_metrics_keys_using_get**
|
128
|
-
> GenericApiResponse list_metrics_keys_using_get(app_id)
|
129
|
-
|
130
|
-
Get metrics keys for an app
|
131
|
-
|
132
|
-
### Example
|
133
|
-
```ruby
|
134
|
-
# load the gem
|
135
|
-
require 'SematextCloud'
|
136
|
-
# setup authorization
|
137
|
-
SematextCloud.configure do |config|
|
138
|
-
# Configure API key authorization: api_key
|
139
|
-
config.api_key['Authorization'] = 'YOUR API KEY'
|
140
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
141
|
-
#config.api_key_prefix['Authorization'] = 'Bearer'
|
142
|
-
end
|
143
|
-
|
144
|
-
api_instance = SematextCloud::MetricsApi.new
|
145
|
-
|
146
|
-
app_id = 789 # Integer | appId
|
147
|
-
|
148
|
-
|
149
|
-
begin
|
150
|
-
#Get metrics keys for an app
|
151
|
-
result = api_instance.list_metrics_keys_using_get(app_id)
|
152
|
-
p result
|
153
|
-
rescue SematextCloud::ApiError => e
|
154
|
-
puts "Exception when calling MetricsApi->list_metrics_keys_using_get: #{e}"
|
155
|
-
end
|
156
|
-
```
|
157
|
-
|
158
|
-
### Parameters
|
159
|
-
|
160
|
-
| Name | Type | Description | Notes |
|
161
|
-
| ---------- | ----------- | ----------- | ----- |
|
162
|
-
| **app_id** | **Integer** | appId |
|
163
|
-
|
164
|
-
### Return type
|
165
|
-
|
166
|
-
[**GenericApiResponse**](GenericApiResponse.md)
|
167
|
-
|
168
|
-
### Authorization
|
169
|
-
|
170
|
-
[api_key](../README.md#api_key)
|
171
|
-
|
172
|
-
### HTTP request headers
|
173
|
-
|
174
|
-
- **Content-Type**: application/json
|
175
|
-
- **Accept**: application/json
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
# **list_metrics_using_get**
|
180
|
-
> GenericApiResponse list_metrics_using_get(app_id)
|
181
|
-
|
182
|
-
Get metrics info for an app
|
183
|
-
|
184
|
-
### Example
|
185
|
-
```ruby
|
186
|
-
# load the gem
|
187
|
-
require 'SematextCloud'
|
188
|
-
# setup authorization
|
189
|
-
SematextCloud.configure do |config|
|
190
|
-
# Configure API key authorization: api_key
|
191
|
-
config.api_key['Authorization'] = 'YOUR API KEY'
|
192
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
193
|
-
#config.api_key_prefix['Authorization'] = 'Bearer'
|
194
|
-
end
|
195
|
-
|
196
|
-
api_instance = SematextCloud::MetricsApi.new
|
197
|
-
|
198
|
-
app_id = 789 # Integer | appId
|
199
|
-
|
200
|
-
|
201
|
-
begin
|
202
|
-
#Get metrics info for an app
|
203
|
-
result = api_instance.list_metrics_using_get(app_id)
|
204
|
-
p result
|
205
|
-
rescue SematextCloud::ApiError => e
|
206
|
-
puts "Exception when calling MetricsApi->list_metrics_using_get: #{e}"
|
207
|
-
end
|
208
|
-
```
|
209
|
-
|
210
|
-
### Parameters
|
211
|
-
|
212
|
-
| Name | Type | Description | Notes |
|
213
|
-
| ---------- | ----------- | ----------- | ----- |
|
214
|
-
| **app_id** | **Integer** | appId |
|
215
|
-
|
216
|
-
### Return type
|
217
|
-
|
218
|
-
[**GenericApiResponse**](GenericApiResponse.md)
|
219
|
-
|
220
|
-
### Authorization
|
221
|
-
|
222
|
-
[api_key](../README.md#api_key)
|
223
|
-
|
224
|
-
### HTTP request headers
|
225
|
-
|
226
|
-
- **Content-Type**: application/json
|
227
|
-
- **Accept**: application/json
|