You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom payload fields to send additional information in the alert notifications. Can be left empty.
description
str
Description of the Infrastructure Smart Alert. Used as a template for the description of alert/event notifications triggered by this Smart Alert configuration.
enabled
bool
[optional]
evaluation_type
str
Determines whether we evaluate each infra entity independently or group of entities will be evaluated together.
[optional]
grace_period
int
The duration for which an alert remains open after conditions are no longer violated, with the alert auto-closing once the grace period expires.
[optional]
granularity
int
The evaluation granularity used for detection of violations of the defined threshold. Defines the size of the tumbling window used.
[default to 600000]
group_by
List[str]
The grouping tags used to group the metric results.
id
str
initial_created
int
[optional]
name
str
Name of the Infrastructure Smart Alert. Used as a template for the title of alert/event notifications triggered by this Smart Alert configuration.
A list of rules where each rule is associated with multiple thresholds and their corresponding severity levels. This enables more complex alert configurations with validations to ensure consistent and logical threshold-severity combinations.
[optional]
severity
int
The severity of the alert when triggered, which is either 5 (Warning), or 10 (Critical).
Optional flag to indicate whether an Incident is also triggered or not.
[optional]
Example
frominstana_client.models.infra_alert_config_with_metadataimportInfraAlertConfigWithMetadata# TODO update the JSON string belowjson="{}"# create an instance of InfraAlertConfigWithMetadata from a JSON stringinfra_alert_config_with_metadata_instance=InfraAlertConfigWithMetadata.from_json(json)
# print the JSON string representation of the objectprint(InfraAlertConfigWithMetadata.to_json())
# convert the object into a dictinfra_alert_config_with_metadata_dict=infra_alert_config_with_metadata_instance.to_dict()
# create an instance of InfraAlertConfigWithMetadata from a dictinfra_alert_config_with_metadata_from_dict=InfraAlertConfigWithMetadata.from_dict(infra_alert_config_with_metadata_dict)