26#ifndef TELEMETRY_PROPAGATION_H_INCLUDED
27#define TELEMETRY_PROPAGATION_H_INCLUDED
29#include <opentelemetry/context/propagation/text_map_propagator.h>
30#include <opentelemetry/trace/propagation/http_trace_context.h>
39 :
public opentelemetry::context::propagation::TextMapCarrier {
45 opentelemetry::nostd::string_view
Get(
46 opentelemetry::nostd::string_view
key)
const noexcept override;
48 void Set(opentelemetry::nostd::string_view
key,
49 opentelemetry::nostd::string_view
value)
noexcept override;
51 bool Keys(opentelemetry::nostd::function_ref<
52 bool(opentelemetry::nostd::string_view)>
53 callback)
const noexcept override;
67 :
public opentelemetry::trace::propagation::HttpTraceContext {};
#define MYSQL_THD
Definition: backup_page_tracker.h:38
Definition: tm_propagation.h:39
QueryAttributeTextMapCarrier(MYSQL_THD thd)
Definition: tm_propagation.cc:31
bool Keys(opentelemetry::nostd::function_ref< bool(opentelemetry::nostd::string_view)> callback) const noexcept override
Definition: tm_propagation.cc:128
void Set(opentelemetry::nostd::string_view key, opentelemetry::nostd::string_view value) noexcept override
Definition: tm_propagation.cc:122
std::vector< my_h_string > * m_seen
Definition: tm_propagation.h:63
~QueryAttributeTextMapCarrier() override
Definition: tm_propagation.cc:37
MYSQL_THD m_thd
Definition: tm_propagation.h:56
opentelemetry::nostd::string_view Get(opentelemetry::nostd::string_view key) const noexcept override
Definition: tm_propagation.cc:45
Definition: tm_propagation.h:67
ValueType value(const std::optional< ValueType > &v)
Definition: gtid.h:83
Definition: option_usage.cc:40
required string key
Definition: replication_asynchronous_connection_failover.proto:60