Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 2.39 KB

File metadata and controls

40 lines (31 loc) · 2.39 KB

ServiceLevelsAlertConfig

Properties

Name Type Description Notes
alert_channel_ids List[str] This is the list of channel IDs when alert triggered and sent to.
burn_rate_config List[ServiceLevelsBurnRateConfig] This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts. [optional]
burn_rate_time_windows ServiceLevelsBurnRateTimeWindows [optional]
custom_payload_fields List[CustomPayloadField] This is the custom name and value pairs to be sent along with the alert to the alert channels.
description str The description of the alert. It is also the alert message content.
name str Name of the Service Levels Smart Alerts Configuration.
rule ServiceLevelsAlertRule
severity int This is the severity of the alert. The value can be: <b>5</b>: warning, <b>10</b>: critical.
slo_ids List[str] This is the list of SLO configurations related to this alert.
threshold StaticThreshold [optional]
time_threshold ServiceLevelsTimeThreshold
triggering bool Incident flag. If value is true, this alert will become an accident. [optional]

Example

from instana_client.models.service_levels_alert_config import ServiceLevelsAlertConfig

# TODO update the JSON string below
json = "{}"
# create an instance of ServiceLevelsAlertConfig from a JSON string
service_levels_alert_config_instance = ServiceLevelsAlertConfig.from_json(json)
# print the JSON string representation of the object
print(ServiceLevelsAlertConfig.to_json())

# convert the object into a dict
service_levels_alert_config_dict = service_levels_alert_config_instance.to_dict()
# create an instance of ServiceLevelsAlertConfig from a dict
service_levels_alert_config_from_dict = ServiceLevelsAlertConfig.from_dict(service_levels_alert_config_dict)

[Back to Model list] [Back to API list] [Back to README]