1 2 3 4 5 6 7 8 9
// Copyright (c) Mysten Labs, Inc. // SPDX-License-Identifier: Apache-2.0 use telemetry_subscribers::TelemetryConfig; pub fn init() -> telemetry_subscribers::TelemetryGuards { let (guard, _handle) = TelemetryConfig::new().with_env().init(); guard }