scalingo_addonscalingo_alertscalingo_appscalingo_app_eventscalingo_autoscalerscalingo_collaboratorscalingo_containerscalingo_container_typescalingo_cronscalingo_databasescalingo_database_backupscalingo_database_maintenancescalingo_database_type_versionscalingo_database_userscalingo_deploymentscalingo_domainscalingo_environmentscalingo_event_typescalingo_invoicescalingo_keyscalingo_log_drainscalingo_log_drain_addonscalingo_notification_platformscalingo_notifierscalingo_regionscalingo_scm_integrationscalingo_scm_repo_linkscalingo_stackscalingo_tokenscalingo_user_eventscalingo_user_scm_repo_link
Table: scalingo_autoscaler
List autoscaler associated of an app.
The scalingo_autoscaler
table can be used to query information about autoscaler, and you must specify which application in the where or join clause using the app_name
column.
Examples
List autoscaler of an application
select id, metric, targetfrom scalingo_autoscalerwhere app_name = 'caresteouvert-api';
List disabled autoscaler
select id, metric, targetfrom scalingo_autoscalerwhere app_name = 'caresteouvert-api' and disabled;
List autoscaler for a specific container type
select id, metric, targetfrom scalingo_autoscalerwhere app_name = 'caresteouvert-api' and container_type = 'web';
Schema for scalingo_autoscaler
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
app_name | text | = | Name of the app. |
container_type | text | Container type affected by the autoscaling. | |
disabled | boolean | Is the autoscaler disabled. | |
id | text | = | Unique ID, starts with “au-“. |
max_containers | bigint | Upper limit of containers. | |
metric | text | Metric name this autoscaler is about. | |
min_containers | bigint | Lower limit of containers. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
target | text | Metric value the autoscaler aims to reach. |