24#ifndef SERVER_TELEMETRY_LOGS_CLIENTS_BITS_H
25#define SERVER_TELEMETRY_LOGS_CLIENTS_BITS_H
92typedef PSI_logger *(*check_enabled_telemetry_logger_client_v1_t)(
114#define PSI_LOGGER_CLIENT_VERSION_1 1
121#define PSI_CURRENT_LOGGER_CLIENT_VERSION 1
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
required string key
Definition: replication_asynchronous_connection_failover.proto:60
constexpr size_t MAX_LOG_ATTRIBUTES
Definition: server_telemetry_logs_client_bits.h:48
OTELLogLevel
Log levels as supported by opentelemetry-cpp (+ "none"), see: api/include/opentelemetry/logs/severity...
Definition: server_telemetry_logs_client_bits.h:43
@ TLOG_NONE
Definition: server_telemetry_logs_client_bits.h:43
@ TLOG_DEBUG
Definition: server_telemetry_logs_client_bits.h:43
@ TLOG_WARN
Definition: server_telemetry_logs_client_bits.h:43
@ TLOG_ERROR
Definition: server_telemetry_logs_client_bits.h:43
@ TLOG_INFO
Definition: server_telemetry_logs_client_bits.h:43
constexpr size_t MAX_LOGGER_NAME_LEN
Definition: server_telemetry_logs_client_bits.h:47
void(* unregister_telemetry_logger_client_v1_t)(PSI_logger_info_v1 *info, size_t count)
Unregister telemetry logger client.
Definition: server_telemetry_logs_client_bits.h:82
void(* register_telemetry_logger_client_v1_t)(PSI_logger_info_v1 *info, size_t count, const char *category)
Register telemetry logger client.
Definition: server_telemetry_logs_client_bits.h:72
unsigned int PSI_logger_key
Definition: server_telemetry_logs_client_bits.h:45
void(* log_emit_telemetry_logger_client_v1_t)(PSI_logger *logger, OTELLogLevel level, const char *message, time_t timestamp, const log_attribute_t *attr_array, size_t attr_count)
Emit telemetry log record.
Definition: server_telemetry_logs_client_bits.h:105
Defines a logger from the side of instrumented code (log API client).
Definition: server_telemetry_logs_client_bits.h:57
PSI_logger_key * m_key
Definition: server_telemetry_logs_client_bits.h:62
const char * m_logger_name
Definition: server_telemetry_logs_client_bits.h:58
unsigned int m_flags
Instrument flags.
Definition: server_telemetry_logs_client_bits.h:61
const char * m_description
Definition: server_telemetry_logs_client_bits.h:59
Definition: server_telemetry_attribute_bits.h:57
Include file for Sun RPC to compile out of the box.