MySQL 9.1.0
Source Code Documentation
|
The performance schema implementation of server telemetry logs service. More...
#include "storage/perfschema/mysql_server_telemetry_logs_service_imp.h"
#include <mysql/components/services/mysql_server_telemetry_logs_service.h>
#include <list>
#include <string>
#include "sql/auth/sql_security_ctx.h"
#include "sql/field.h"
#include "sql/pfs_priv_util.h"
#include "sql/sql_class.h"
#include "pfs_global.h"
#include "pfs_instr_class.h"
Functions | |
void | initialize_mysql_server_telemetry_logs_service () |
void | cleanup_mysql_server_telemetry_logs_service () |
bool | pfs_register_logger_v1 (log_delivery_callback_t logger) |
bool | pfs_unregister_logger_v1 (log_delivery_callback_t logger) |
void | pfs_notify_logger_v1 (PSI_logger *logger, OTELLogLevel level, const char *message, time_t timestamp, const log_attribute_t *attr_array, size_t attr_count) |
The performance schema implementation of server telemetry logs service.
void cleanup_mysql_server_telemetry_logs_service | ( | ) |
void initialize_mysql_server_telemetry_logs_service | ( | ) |
void pfs_notify_logger_v1 | ( | PSI_logger * | logger, |
OTELLogLevel | level, | ||
const char * | message, | ||
time_t | timestamp, | ||
const log_attribute_t * | attr_array, | ||
size_t | attr_count | ||
) |
bool pfs_register_logger_v1 | ( | log_delivery_callback_t | logger | ) |
bool pfs_unregister_logger_v1 | ( | log_delivery_callback_t | logger | ) |
std::atomic<log_delivery_callback_t> g_telemetry_log = nullptr |
const mysql_service_mysql_server_telemetry_logs_t imp_performance_schema_mysql_server_telemetry_logs |
|
static |
|
static |
mysql_mutex_t LOCK_pfs_logging_callback |
bool server_telemetry_logs_service_initialized = false |