MySQL 9.1.0
Source Code Documentation
mysql_server_telemetry_logs_service_imp.h File Reference

The performance schema implementation of server telemetry logs service. More...

Go to the source code of this file.

Functions

const mysql_service_mysql_server_telemetry_logs_t SERVICE_IMPLEMENTATION (performance_schema, mysql_server_telemetry_logs)
 
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)
 

Variables

mysql_mutex_t LOCK_pfs_logging_callback
 
std::atomic< log_delivery_callback_tg_telemetry_log
 

Detailed Description

The performance schema implementation of server telemetry logs service.

Function Documentation

◆ cleanup_mysql_server_telemetry_logs_service()

void cleanup_mysql_server_telemetry_logs_service ( )

◆ initialize_mysql_server_telemetry_logs_service()

void initialize_mysql_server_telemetry_logs_service ( )

◆ pfs_notify_logger_v1()

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 
)

◆ pfs_register_logger_v1()

bool pfs_register_logger_v1 ( log_delivery_callback_t  logger)

◆ pfs_unregister_logger_v1()

bool pfs_unregister_logger_v1 ( log_delivery_callback_t  logger)

◆ SERVICE_IMPLEMENTATION()

const mysql_service_mysql_server_telemetry_logs_t SERVICE_IMPLEMENTATION ( performance_schema  ,
mysql_server_telemetry_logs   
)

Variable Documentation

◆ g_telemetry_log

std::atomic<log_delivery_callback_t> g_telemetry_log
extern

◆ LOCK_pfs_logging_callback

mysql_mutex_t LOCK_pfs_logging_callback
extern