26#ifndef TELEMETRY_THREAD_INSTRUMENTATION_H_INCLUDED
27#define TELEMETRY_THREAD_INSTRUMENTATION_H_INCLUDED
32#include <opentelemetry/sdk/common/thread_instrumentation.h>
37 :
public opentelemetry::sdk::common::ThreadInstrumentation {
40 int network_namespace_fd);
44 void OnEnd()
override;
Definition: tm_thread_instrumentation.h:37
MySQLThreadInstrumentation(PSI_thread_key thread_key, int network_namespace_fd)
Definition: tm_thread_instrumentation.cc:48
int m_network_namespace_fd
Definition: tm_thread_instrumentation.h:52
void BeforeWait() override
Definition: tm_thread_instrumentation.cc:98
~MySQLThreadInstrumentation() override=default
void OnStart() override
Definition: tm_thread_instrumentation.cc:52
void AfterLoad() override
Definition: tm_thread_instrumentation.cc:134
PSI_thread_key m_thread_key
Definition: tm_thread_instrumentation.h:51
void OnEnd() override
Definition: tm_thread_instrumentation.cc:80
void AfterWait() override
Definition: tm_thread_instrumentation.cc:112
void BeforeLoad() override
Definition: tm_thread_instrumentation.cc:127
unsigned int PSI_thread_key
Instrumented thread key.
Definition: psi_thread_bits.h:50
Definition: option_usage.cc:40