24#ifndef PFS_TELEMETRY_LOGS_CLIENT_PROVIDER_H
25#define PFS_TELEMETRY_LOGS_CLIENT_PROVIDER_H
38#ifdef HAVE_PSI_SERVER_TELEMETRY_LOGS_INTERFACE
39#if defined(MYSQL_SERVER) || defined(PFS_DIRECT_CALL)
40#ifndef MYSQL_DYNAMIC_PLUGIN
45#define PSI_LOGS_CLIENT_CALL(M) pfs_##M##_v1
Some integer typedefs for easier portability.
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
static int count
Definition: myisam_ftdump.cc:45
constexpr value_type timestamp
Definition: classic_protocol_constants.h:278
static const char * category
Definition: sha2_password.cc:170
static Logger logger
The "top-level" logger used when no connection context is given.
Definition: test_trace_plugin.cc:296
void pfs_log_emit_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_client_service_imp.cc:216
void pfs_register_logger_client_v1(PSI_logger_info_v1 *info, size_t count, const char *category)
Definition: mysql_server_telemetry_logs_client_service_imp.cc:152
PSI_logger * pfs_check_enabled_v1(PSI_logger_key key, OTELLogLevel level)
Definition: mysql_server_telemetry_logs_client_service_imp.cc:203
void pfs_unregister_logger_client_v1(PSI_logger_info_v1 *info, size_t count)
Definition: mysql_server_telemetry_logs_client_service_imp.cc:194
required string key
Definition: replication_asynchronous_connection_failover.proto:60
OTELLogLevel
Log levels as supported by opentelemetry-cpp (+ "none"), see: api/include/opentelemetry/logs/severity...
Definition: server_telemetry_logs_client_bits.h:43
unsigned int PSI_logger_key
Definition: server_telemetry_logs_client_bits.h:45
Defines a logger from the side of instrumented code (log API client).
Definition: server_telemetry_logs_client_bits.h:57
Definition: server_telemetry_attribute_bits.h:57