MySQL 9.1.0
Source Code Documentation
|
Instrumentation helpers for telemetry logs client. More...
#include <cstring>
#include "my_psi_config.h"
#include "mysql/components/services/bits/server_telemetry_logs_client_bits.h"
#include "pfs_telemetry_logs_client_provider.h"
Go to the source code of this file.
Classes | |
class | PSI_LogRecord |
C++ wrapper for emitting a telemetry log record. More... | |
class | PSI_SimpleLogger |
C++ wrapper for emitting one or more simple (no attributes) telemetry log records. More... | |
Macros | |
#define | mysql_log_client_register(P1, P2, P3) inline_mysql_log_client_register(P1, P2, P3) |
Registration of logger clients. More... | |
#define | mysql_log_client_unregister(P1, P2) inline_mysql_log_client_unregister(P1, P2) |
Logger client unregistration. More... | |
#define | mysql_log_client_check_enabled(P1, P2) inline_mysql_log_client_check_enabled(P1, P2) |
Logger client check if log level is enabled for this logger. More... | |
#define | mysql_log_client_log(P1, P2, P3, P4, P5, P6) inline_mysql_log_client_log(P1, P2, P3, P4, P5, P6) |
Emit log record. More... | |
Functions | |
static void | inline_mysql_log_client_register (PSI_logger_info_v1 *info, size_t count, const char *category) |
static void | inline_mysql_log_client_unregister (PSI_logger_info_v1 *info, size_t count) |
static PSI_logger * | inline_mysql_log_client_check_enabled (PSI_logger_key key, OTELLogLevel level) |
static void | inline_mysql_log_client_log (PSI_logger *logger, OTELLogLevel level, const char *message, time_t timestamp, const log_attribute_t *attr_array, size_t attr_count) |
Instrumentation helpers for telemetry logs client.