3#ifdef VIAMCPPSDK_OPENTELEMETRY_TRACING
6#include <opentelemetry/sdk/trace/tracer_provider.h>
36 void shutdown_provider() noexcept;
38#ifdef VIAMCPPSDK_OPENTELEMETRY_TRACING
40 std::shared_ptr<opentelemetry::sdk::trace::TracerProvider> sdk_provider_;
gRPC client for a robot, to be used for all interactions with a robot. There are two ways to instanti...
Definition client.hpp:48
Holds the SDK-side OpenTelemetry tracer provider. Spans go nowhere until initialize_provider installs...
Definition tracer.hpp:18
static Tracer & get()
Returns the Tracer owned by the current Instance.
static void initialize_propagator() noexcept
Install the W3C Trace Context propagator. Called once during Instance construction.
void initialize_provider(RobotClient *client) noexcept
Install an exporter sourced from client. The caller must keep client alive until shutdown_provider re...