Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ component_management:
paths:
- libdd-trace-utils
- component_id: tracer-flare # this is an identifier that should not be changed
name: datadog-tracer-flare # this is a display name, and can be changed freely
name: libdd-tracer-flare # this is a display name, and can be changed freely
paths:
- datadog-tracer-flare
- libdd-tracer-flare
- component_id: datadog-log
name: libdd-log
paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ datadog-remote-config @Datadog/libdatadog-php @Datadog/libdatadog
datadog-sidecar @Datadog/libdatadog-php @Datadog/libdatadog-apm
datadog-sidecar-ffi @Datadog/libdatadog-php @Datadog/libdatadog-apm
datadog-sidecar-macros @Datadog/libdatadog-php
datadog-tracer-flare @Datadog/libdatadog-apm
docker-bake.hcl @Datadog/apm-common-components-core
docs @Datadog/libdatadog
examples @Datadog/libdatadog
Expand All @@ -48,6 +47,7 @@ libdd-trace-obfuscation @Datadog/serverless @Datadog/libdatadog-apm
libdd-trace-protobuf @Datadog/serverless @Datadog/libdatadog-apm
libdd-trace-stats @Datadog/apm-common-components-core
libdd-trace-utils @Datadog/serverless @Datadog/libdatadog-apm
libdd-tracer-flare @Datadog/libdatadog-apm
LICENSE* @Datadog/libdatadog
local-linux.Dockerfile @Datadog/libdatadog
NOTICE @Datadog/libdatadog
Expand Down
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ members = [
"libdd-trace-protobuf",
"libdd-trace-utils",
"libdd-trace-stats",
"datadog-tracer-flare",
"libdd-tracer-flare",
"libdd-common",
"libdd-common-ffi",
"libdd-telemetry",
Expand Down
6 changes: 3 additions & 3 deletions LICENSE-3rdparty.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
root_name: builder, build_common, tools, libdd-alloc, libdd-crashtracker, libdd-common, libdd-telemetry, libdd-ddsketch, libdd-crashtracker-ffi, libdd-common-ffi, datadog-ffe, datadog-ffe-ffi, datadog-ipc, datadog-ipc-macros, libdd-tinybytes, tarpc, tarpc-plugins, spawn_worker, cc_utils, libdd-library-config, libdd-library-config-ffi, datadog-live-debugger, libdd-data-pipeline, libdd-dogstatsd-client, libdd-trace-protobuf, libdd-trace-stats, libdd-trace-utils, libdd-trace-normalization, libdd-log, datadog-live-debugger-ffi, libdd-profiling, libdd-profiling-protobuf, libdd-profiling-ffi, libdd-data-pipeline-ffi, libdd-ddsketch-ffi, libdd-log-ffi, libdd-telemetry-ffi, symbolizer-ffi, datadog-profiling-replayer, datadog-remote-config, datadog-sidecar, datadog-sidecar-macros, datadog-sidecar-ffi, libdd-trace-obfuscation, datadog-tracer-flare, sidecar_mockgen, test_spawn_from_lib
root_name: builder, build_common, tools, libdd-alloc, libdd-crashtracker, libdd-common, libdd-telemetry, libdd-ddsketch, libdd-crashtracker-ffi, libdd-common-ffi, datadog-ffe, datadog-ffe-ffi, datadog-ipc, datadog-ipc-macros, libdd-tinybytes, tarpc, tarpc-plugins, spawn_worker, cc_utils, libdd-library-config, libdd-library-config-ffi, datadog-live-debugger, libdd-data-pipeline, libdd-dogstatsd-client, libdd-trace-protobuf, libdd-trace-stats, libdd-trace-utils, libdd-trace-normalization, libdd-log, datadog-live-debugger-ffi, libdd-profiling, libdd-profiling-protobuf, libdd-profiling-ffi, libdd-data-pipeline-ffi, libdd-ddsketch-ffi, libdd-log-ffi, libdd-telemetry-ffi, symbolizer-ffi, datadog-profiling-replayer, datadog-remote-config, datadog-sidecar, datadog-sidecar-macros, datadog-sidecar-ffi, libdd-trace-obfuscation, libdd-tracer-flare, sidecar_mockgen, test_spawn_from_lib
third_party_libraries:
- package_name: addr2line
package_version: 0.24.2
Expand Down Expand Up @@ -27494,9 +27494,9 @@ third_party_libraries:
- package_name: stringmetrics
package_version: 2.2.2
repository: https://github.com/pluots/stringmetrics
license: License specified in file ($CARGO_HOME/registry/src/index.crates.io-1949cf8c6b5b557f/stringmetrics-2.2.2/LICENSE)
license: License specified in file ($CARGO_HOME/registry/src/index.crates.io-6f17d22bba15001f/stringmetrics-2.2.2/LICENSE)
licenses:
- license: License specified in file ($CARGO_HOME/registry/src/index.crates.io-1949cf8c6b5b557f/stringmetrics-2.2.2/LICENSE)
- license: License specified in file ($CARGO_HOME/registry/src/index.crates.io-6f17d22bba15001f/stringmetrics-2.2.2/LICENSE)
text: |
Copyright 2022 Trevor Gross

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
[package]
name = "datadog-tracer-flare"
name = "libdd-tracer-flare"
version = "1.0.0"
description = "Rust library for collecting and transmitting Datadog tracer diagnostic flares via remote configuration."
rust-version.workspace = true
edition.workspace = true
license.workspace = true
version.workspace = true
autobenches = false
publish = false
authors.workspace = true
homepage = "https://github.com/DataDog/libdatadog/tree/main/libdd-tracer-flare"
repository = "https://github.com/DataDog/libdatadog/tree/main/libdd-tracer-flare"

[dependencies]
anyhow = "1.0"
libdd-common = { path = "../libdd-common" }
datadog-remote-config = { path = "../datadog-remote-config", default-features = false }
libdd-trace-utils = { path = "../libdd-trace-utils" }
libdd-common = { version = "1.0.0", path = "../libdd-common" }
libdd-trace-utils = { version = "1.0.0", path = "../libdd-trace-utils" }
hyper = { workspace = true}
tokio = { version = "1.36.0", features = ["time"] }
serde_json = "1.0"
Expand Down
15 changes: 15 additions & 0 deletions libdd-tracer-flare/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# libdd-tracer-flare

Rust library for collecting and transmitting Datadog tracer diagnostic flares via remote configuration.

## Overview

This library collects diagnostic information from Datadog tracers, packages it into a zip archive, and sends it to the Datadog agent. It optionally supports remote configuration to automatically trigger flare collection and control log levels.

## Features

- `listener` (default) - Enables remote configuration support

## License

Apache-2.0
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ impl TryFrom<&RemoteConfigData> for ReturnAction {
/// Implementing and using the tracer flare to fetch RemoteConfig from the agent
///
/// ```rust no_run
/// use datadog_tracer_flare::{TracerFlareManager, run_remote_config_listener};
/// use libdd_tracer_flare::{TracerFlareManager, run_remote_config_listener};
/// use std::time::Duration;
/// use tokio::time::sleep;
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ impl TracerFlareManager {
/// # Examples
///
/// ```rust no_run
/// use datadog_tracer_flare::{TracerFlareManager, ReturnAction};
/// use libdd_tracer_flare::{TracerFlareManager, ReturnAction};
/// use datadog_remote_config::config::agent_task::{AgentTaskFile, AgentTask};
/// use std::num::NonZeroU64;
///
Expand Down
2 changes: 1 addition & 1 deletion tools/docker/Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ COPY "libdd-trace-obfuscation/Cargo.toml" "libdd-trace-obfuscation/"
COPY "libdd-trace-protobuf/Cargo.toml" "libdd-trace-protobuf/"
COPY "libdd-trace-utils/Cargo.toml" "libdd-trace-utils/"
COPY "libdd-trace-stats/Cargo.toml" "libdd-trace-stats/"
COPY "datadog-tracer-flare/Cargo.toml" "datadog-tracer-flare/"
COPY "libdd-tracer-flare/Cargo.toml" "libdd-tracer-flare/"
COPY "tools/Cargo.toml" "tools/"
COPY "tools/cc_utils/Cargo.toml" "tools/cc_utils/"
COPY "tools/sidecar_mockgen/Cargo.toml" "tools/sidecar_mockgen/"
Expand Down
Loading