When OTLP is enabled, init_tracing_subscriber() must defer so that init_otlp() is the sole caller of try_init(). Without this, the adminrpc binary crashes with "global default trace dispatcher already set". |
||
|---|---|---|
| .. | ||
| args.rs | ||
| main.rs | ||
When OTLP is enabled, init_tracing_subscriber() must defer so that init_otlp() is the sole caller of try_init(). Without this, the adminrpc binary crashes with "global default trace dispatcher already set". |
||
|---|---|---|
| .. | ||
| args.rs | ||
| main.rs | ||