use opentelemetry_configuration::{OtelSdkBuilder, SdkError};
fn main() -> Result<(), SdkError> {
let _guard = OtelSdkBuilder::new()
.service_name("basic-example")
.endpoint("http://localhost:4318")
.build()?;
tracing::info!("Application started");
tracing::info!(user_id = 42, "Processing request");
Ok(())
}