Skip to main content
admin_send_alert(message=, label=, log_level=None, options=)[source]

Sends a user generated alert to the monitoring system.

Parameters

message (str) –

Alert message body. The default value is ‘’.

label (str) –

Label to add to alert message. The default value is ‘’.

log_level (str) –

Alert message logging criteria. Allowed values are:

  • fatal

  • error

  • warn

  • info

  • debug

options (dict of str to str) –

Optional parameters. The default value is an empty dict ( ).

Returns

A dict with the following entries–

info (dict of str to str) –

Additional information.