24#ifndef PLUGIN_CLIENT_TELEMETRY_INCLUDED
25#define PLUGIN_CLIENT_TELEMETRY_INCLUDED
38struct telemetry_span_t;
44typedef telemetry_span_t *(*telemetry_start_span_t)(
const char *
name);
#define MYSQL_CLIENT_PLUGIN_HEADER
Definition: client_plugin.h:100
telemetry_span_t *(* telemetry_start_span_t)(const char *name)
Start an OpenTelemetry trace span.
Definition: plugin_client_telemetry.h:44
void(* telemetry_injector_t)(telemetry_span_t *span, void *carrier_data, telemetry_text_map_carrier_set_t carrier)
Inject an OpenTelemetry trace context into an arbitrary text map carrier.
Definition: plugin_client_telemetry.h:68
void(* telemetry_text_map_carrier_set_t)(void *carrier_data, const char *key, size_t key_length, const char *value, size_t value_length)
Abstract text map carrier set interface.
Definition: plugin_client_telemetry.h:56
struct st_mysql_client_plugin_TELEMETRY * client_telemetry_plugin
The global telemetry_plugin pointer.
Definition: client_plugin.cc:78
void(* telemetry_end_span_t)(telemetry_span_t *span)
End an OpenTelemetry trace span.
Definition: plugin_client_telemetry.h:75
required string key
Definition: replication_asynchronous_connection_failover.proto:60
case opt name
Definition: sslopt-case.h:29
Definition: plugin_client_telemetry.h:77
telemetry_injector_t injector
Definition: plugin_client_telemetry.h:80
telemetry_end_span_t end_span
Definition: plugin_client_telemetry.h:81
MYSQL_CLIENT_PLUGIN_HEADER telemetry_start_span_t start_span
Definition: plugin_client_telemetry.h:79