Skip to content
makr-code edited this page Nov 18, 2025 · 1 revision

tracing.cpp

Path: src/utils/tracing.cpp

Purpose: Tracing integration for distributed traces (OpenTelemetry etc.) and span helpers.

Public functions / symbols:

  • if (initialized_) {
  • if (ec) {
  • if (!initialized_) {
  • if (provider) {
  • if (sdk_provider) {
  • if (!initialized_ || tracer_ == nullptr) {
  • if (!tracer) {
  • if (!tracer || !parent.valid_) {
  • if (span_) {
  • if (valid_ && !ended_) {
  • if (this != &other) {
  • if (span_ && !ended_) {
  • THEMIS_WARN("Tracer already initialized");
  • tcp::resolver resolver(io);
  • tcp::socket socket(io);
  • THEMIS_INFO("OpenTelemetry tracer initialized: service={}, endpoint={}", serviceName, endpoint);
  • THEMIS_INFO("OpenTelemetry tracer shut down");
  • return Span(); // Return invalid span
  • return Span(span);
  • return Span(); // No-op span
  • return Span();
  • end();

Sorry, there was an error rendering this page.

Clone this wiki locally