Released 2024-11-21
-
Remove the
HONEYCOMB_API_KEY
and instead use the recommendedOTEL_EXPORTER_OTLP_HEADERS
withx-honeycomb-team=<the value of the Honeycomb Ingress API KEY>
-
Cleanup of the code
-
Improve the README and docs.
Released 2024-11-21
- Breaking: Added
sample_rate
argument toinit_otlp_layer
.
Sets the fraction of trtaces that are sampled and forwarded to Honeycomb.
- Added
.gitignore
Released 2024-11-20
- Update
opentelemetry
to version 0.27.0
No changes to the API.
- Describe how to add tracing to reqwest clients.
Released 2024-11-20
- Use only version 0.26 of the opentelemetry crates.
Released 2024-11-19
- Add method to create otlp-layer without extracting the parent trace-context
Released 2024-11-18
- Move setting
OTEL_SERVICE_NAME
andOTEL_EXPORTER_OTLP_ENDPOINT
from insideinit_otlp_layer
to the caller, soclap::crate_name!()
gets the correct value for service.name.
Released 2024-11-18
-
Filter http.headers to remove authentification headers
-
set service name to be the Cargo package name given by
clap::crate_name!()
The previous code only worked if the server was started by
cargo run
.This should work in any case.
Released 2024-11-17
-
Add support for actix
Adjust all dependency versions to be as loose as possible.
Actix gave an error for futures-util - version requirements prevented a version to be chosen. This change allowed it to build
Released 2024-11-16
-
Add our own Layer for tracing.
The layers in tower_http::trace and axum-tracing-opentelemetry don't fullfill our needs.
The external API is unchanged.
Released 2024-11-13
Opentelemetry tracing for Axum and Honeycomb, Initial commit