improve code for FileSink

This commit is contained in:
houseme
2025-03-30 21:28:29 +08:00
parent d516eec200
commit c87e50b002
4 changed files with 22 additions and 31 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ pub(crate) const SERVICE_NAME: &str = "RustFS";
pub(crate) const SAMPLE_RATIO: f64 = 1.0;
pub(crate) const METER_INTERVAL: u64 = 60;
pub(crate) const SERVICE_VERSION: &str = "0.1.0";
pub(crate) const ENVIRONMENT: &str = "development";
pub(crate) const ENVIRONMENT: &str = "production";
pub(crate) const LOGGER_LEVEL: &str = "info";
/// Global guard for OpenTelemetry tracing