otlp-embedded 0.0.1

In-memory OpenTelemetry trace collector and Web UI visualizer.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
fn main() -> Result<(), Box<dyn std::error::Error>> {
    let derive_serde = "#[derive(serde::Serialize, serde::Deserialize)]";

    tonic_build::configure()
        .message_attribute(".", derive_serde)
        .enum_attribute(".", derive_serde)
        .compile(
            &["proto/opentelemetry/proto/collector/trace/v1/trace_service.proto"],
            &["proto/"],
        )?;

    Ok(())
}