Releases: vincenzopalazzo/opentelemetry-log
Releases · vincenzopalazzo/opentelemetry-log
v0.1.2
What's Changed
- core: increate batch configuration by @vincenzopalazzo in #4
Full Changelog: v0.1.1...v0.1.2
v0.1.1
What's Changed
- core: remove the panic on drop by @vincenzopalazzo in #2
New Contributors
- @vincenzopalazzo made their first contribution in #2
Full Changelog: v0.1.0...v0.1.1
v0.1.0
v0.1.0
Features
- Export Rust logs to an OpenTelemetry collector
- Minimal and simple adapter
- Easy integration with existing logging (just
log
for now) frameworks
Installation
Add this to your Cargo.toml
:
[dependencies]
opentelemetry-log = "0.1"
Usage
use opentelemetry_common::Opentelemetry;
fn main() {
let mut manager = Opentelemetry::new();
manager.init_log("example", &args.level, &url)?;
// Your application code
}
Cheers,
Vincent.