24#ifndef MYSQL_SERVER_TELEMETRY_LOGS_SERVICE_IMP_H
25#define MYSQL_SERVER_TELEMETRY_LOGS_SERVICE_IMP_H
47#ifdef HAVE_PSI_SERVER_TELEMETRY_LOGS_INTERFACE
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)
Definition: mysql_server_telemetry_logs_service_imp.cc:199
mysql_mutex_t LOCK_pfs_logging_callback
Definition: mysql_server_telemetry_logs_service_imp.cc:119
std::atomic< log_delivery_callback_t > g_telemetry_log
Definition: mysql_server_telemetry_logs_service_imp.cc:116
bool pfs_register_logger_v1(log_delivery_callback_t logger)
Definition: mysql_server_telemetry_logs_service_imp.cc:152
void initialize_mysql_server_telemetry_logs_service()
Definition: mysql_server_telemetry_logs_service_imp.cc:128
const mysql_service_mysql_server_telemetry_logs_t SERVICE_IMPLEMENTATION(performance_schema, mysql_server_telemetry_logs)
void cleanup_mysql_server_telemetry_logs_service()
Definition: mysql_server_telemetry_logs_service_imp.cc:142
bool pfs_unregister_logger_v1(log_delivery_callback_t logger)
Definition: mysql_server_telemetry_logs_service_imp.cc:176
constexpr value_type timestamp
Definition: classic_protocol_constants.h:278
static Logger logger
The "top-level" logger used when no connection context is given.
Definition: test_trace_plugin.cc:296
void(* log_delivery_callback_t)(const char *logger_name, OTELLogLevel severity, const char *message, time_t timestamp, const log_attribute_t *attr_array, size_t attr_count)
Definition: server_telemetry_logs_bits.h:33
OTELLogLevel
Log levels as supported by opentelemetry-cpp (+ "none"), see: api/include/opentelemetry/logs/severity...
Definition: server_telemetry_logs_client_bits.h:43
#define SERVICE_TYPE(name)
Generates the standard Service type name.
Definition: service.h:76
Definition: server_telemetry_attribute_bits.h:57
An instrumented mutex structure.
Definition: mysql_mutex_bits.h:50