chore: set default otlp_endpoint (#4508)

* chore: set default `otlp_endpoint`

* fix: fix ci
This commit is contained in:
Weny Xu
2024-08-06 14:48:14 +08:00
committed by GitHub
parent 2cd4a78f17
commit a25d9f736f
8 changed files with 16 additions and 21 deletions

View File

@@ -33,7 +33,7 @@ use tracing_subscriber::{filter, EnvFilter, Registry};
use crate::tracing_sampler::{create_sampler, TracingSampleOptions};
const DEFAULT_OTLP_ENDPOINT: &str = "http://localhost:4317";
pub const DEFAULT_OTLP_ENDPOINT: &str = "http://localhost:4317";
#[derive(Clone, Debug, Serialize, Deserialize)]
#[serde(default)]