steampipe plugin install francois2metz/scalingo

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,
target
from
scalingo_autoscaler
where
app_name = 'caresteouvert-api';

List disabled autoscaler

select
id,
metric,
target
from
scalingo_autoscaler
where
app_name = 'caresteouvert-api'
and disabled;

List autoscaler for a specific container type

select
id,
metric,
target
from
scalingo_autoscaler
where
app_name = 'caresteouvert-api'
and container_type = 'web';

Schema for scalingo_autoscaler

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form, e.g. connection_name.
app_nametext=Name of the app.
container_typetextContainer type affected by the autoscaling.
disabledbooleanIs the autoscaler disabled.
idtext=Unique ID, starts with “au-“.
max_containersbigintUpper limit of containers.
metrictextMetric name this autoscaler is about.
min_containersbigintLower limit of containers.
targettextMetric value the autoscaler aims to reach.