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_alert
List alerts associated to an app.
The scalingo_alert
table can be used to query information about alert, and you must specify which application in the where or join clause using the app_name
column.
Examples
List alerts of an application
select id, disabled, metricfrom scalingo_alertwhere app_name = 'caresteouvert-api';
List alerts which do not send notifications when triggered
select id, disabled, container_type, metricfrom scalingo_alertwhere app_name = 'caresteouvert-api' and not send_when_below;
List alerts which are disabled
select id, container_type, metricfrom scalingo_alertwhere app_name = 'caresteouvert-api' and disabled;
Schema for scalingo_alert
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
app_id | text | ID of the application this alert applies to. | |
app_name | text | = | Name of the app. |
container_type | text | Container type concerned by the alert. | |
created_at | timestamp with time zone | Creation date of the alert. | |
disabled | boolean | Is the alert disabled. | |
duration_before_trigger | bigint | Alert is triggered if the value is above the limit for the specified duration activated. | |
id | text | = | Unique ID, starts with “al-“. |
limit | double precision | Threshold to activate the alert. | |
metadata | jsonb | Various data. | |
metric | text | Metric name this alert is about. | |
remind_every | text | Send the alert at regular interval when activated. | |
send_when_below | boolean | Will the alert be sent when the value goes above or below the limit. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
updated_at | timestamp with time zone | Last time the alert has been updated. |