Skip to content

Releases: vincenzopalazzo/opentelemetry-log

v0.1.2

30 Oct 11:20
d87f4ec
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.1...v0.1.2

v0.1.1

24 Oct 23:50
86c8059
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.1.1

v0.1.0

01 Oct 07:42
d961bdb
Compare
Choose a tag to compare

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.