From 0111559ce0763941bf621e4ec2cdcc689af5db3c Mon Sep 17 00:00:00 2001 From: MrCroxx Date: Thu, 4 Jul 2024 18:46:37 +0800 Subject: [PATCH] chore: fulfill comments Signed-off-by: MrCroxx --- src/utils/runtime/src/logger.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/utils/runtime/src/logger.rs b/src/utils/runtime/src/logger.rs index 9de4d6aafd386..ee4bbd88d6f87 100644 --- a/src/utils/runtime/src/logger.rs +++ b/src/utils/runtime/src/logger.rs @@ -511,6 +511,15 @@ pub fn init_risingwave_logger(settings: LoggerSettings) { layers.push(layer.boxed()); + // The reporter is used by minitrace in foyer for dynamically tail-based tracing. + // + // Code here only setup the OpenTelemetry reporter. To enable/disable the function, please use risectl. + // + // e.g. + // + // ```bash + // risectl hummock tiered-cache-tracing -h + // ``` let reporter = OpenTelemetryReporter::new( exporter, SpanKind::Server,