A set of parameters for GPUdb::adminSendAlert. More…
#include <gpudb/protocol/admin_send_alert.h>
Public Member Functions | |
| AdminSendAlertRequest () | |
| Constructs an AdminSendAlertRequest object with default parameters. | |
| AdminSendAlertRequest (const std::string &message_, const std::string &label_, const std::string &logLevel_, const std::map< std::string, std::string > &options_) | |
| Constructs an AdminSendAlertRequest object with the specified parameters. | |
Public Attributes | |
| std::string | message |
| Alert message body. | |
| std::string | label |
| Label to add to alert message. | |
| std::string | logLevel |
| Alert message logging criteria. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::adminSendAlert.
Sends a user generated alert to the monitoring system.
Definition at line 18 of file admin_send_alert.h.
Constructor & Destructor Documentation
◆ AdminSendAlertRequest() [1/2]
| inline |
Constructs an AdminSendAlertRequest object with default parameters.
Definition at line 23 of file admin_send_alert.h.
◆ AdminSendAlertRequest() [2/2]
| inline |
Constructs an AdminSendAlertRequest object with the specified parameters.
| [in] | message_ | Alert message body. The default value is ”. |
| [in] | label_ | Label to add to alert message. The default value is ”. |
| [in] | logLevel_ | Alert message logging criteria. Supported values: |
| [in] | options_ | Optional parameters. The default value is an empty map. |
Definition at line 55 of file admin_send_alert.h.
Member Data Documentation
◆ label
| std::string gpudb::AdminSendAlertRequest::label |
Label to add to alert message.
The default value is ”.
Definition at line 71 of file admin_send_alert.h.
◆ logLevel
| std::string gpudb::AdminSendAlertRequest::logLevel |
Alert message logging criteria.
Supported values:
- admin_send_alert_fatal
- admin_send_alert_error
- admin_send_alert_warn
- admin_send_alert_info
- admin_send_alert_debug
Definition at line 84 of file admin_send_alert.h.
◆ message
| std::string gpudb::AdminSendAlertRequest::message |
◆ options
| std::map<std::string, std::string> gpudb::AdminSendAlertRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 89 of file admin_send_alert.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/admin_send_alert.h