MySQL 9.7.0
Source Code Documentation
tm_control.cc File Reference
#include "tm_control.h"
#include "tm_global.h"
#include "tm_notification.h"
#include "opentelemetry/logs/log_record.h"

Namespaces

namespace  telemetry
 

Functions

static const opentelemetry::nostd::string_view telemetry::k_control ("control")
 
static const opentelemetry::nostd::string_view telemetry::k_traces_enabled ("mysql.traces_enabled")
 
static const opentelemetry::nostd::string_view telemetry::k_metrics_enabled ("mysql.metrics_enabled")
 
static const opentelemetry::nostd::string_view telemetry::k_logs_enabled ("mysql.logs_enabled")
 
static const opentelemetry::nostd::string_view telemetry::k_details ("mysql.details")
 
static const opentelemetry::nostd::string_view telemetry::k_event_name ("mysql.event_name")
 
static const opentelemetry::nostd::string_view telemetry::k_log_message ("emit_control_log")
 
static const opentelemetry::nostd::string_view telemetry::k_logger_name ("telemetry_component")
 
void telemetry::emit_control_span (bool traces_enabled, bool metrics_enabled, bool logs_enabled, const char *details)
 
void telemetry::emit_control_log (bool traces_enabled, bool metrics_enabled, bool logs_enabled, const char *details)
 

Variables

const char * telemetry::k_reason_startup = "STARTUP"
 
const char * telemetry::k_reason_configuration = "CONFIGURATION"
 
const char * telemetry::k_reason_shutdown = "SHUTDOWN"