8 releases

new 0.7.6 Feb 3, 2025
0.7.5 Jan 3, 2025
0.7.4 Oct 27, 2024
0.7.3 Sep 23, 2024
0.6.8 Jul 16, 2024

#974 in Debugging

Download history 8/week @ 2024-10-08 101/week @ 2024-10-22 60/week @ 2024-10-29 32/week @ 2024-11-05 6/week @ 2024-11-12 2/week @ 2024-11-19 203/week @ 2024-11-26 6/week @ 2024-12-10 129/week @ 2024-12-31 6/week @ 2025-01-07

135 downloads per month

Apache-2.0

195KB
4K SLoC

fastrace-datadog

Documentation Crates.io LICENSE

Datadog reporter for fastrace.

Dependencies

[dependencies]
fastrace = "0.7"
fastrace-datadog = "0.7"

Setup Datadog Agent

Please follow the Datadog official documentation.

cargo run --example synchronous

Report to Datadog Agent

use std::net::SocketAddr;

use fastrace::collector::Config;
use fastrace::prelude::*;

// Initialize reporter
let reporter = fastrace_datadog::DatadogReporter::new(
    "127.0.0.1:8126".parse().unwrap(),
    "asynchronous",
    "db",
    "select",
);
fastrace::set_reporter(reporter, Config::default());

{
    // Start tracing
    let root = Span::root("root", SpanContext::random());
}

fastrace::flush();

Dependencies

~6–18MB
~229K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy