MCPcopy Create free account
hub / github.com/apache/brpc / has_span_db

Function has_span_db

src/brpc/span.cpp:510–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508// Can't use intrusive_ptr which has ctor/dtor issues.
509static SpanDB* g_span_db = NULL;
510bool has_span_db() { return !!g_span_db; }
511bvar::CollectorSpeedLimit g_span_sl = BVAR_COLLECTOR_SPEED_LIMIT_INITIALIZER;
512static bvar::DisplaySamplingRatio s_display_sampling_ratio(
513 "rpcz_sampling_ratio", &g_span_sl);

Callers 2

statsMethod · 0.85
default_methodMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected