Skip to content

Releases: asaaki/opentelemetry-surf

v0.6.0

15 Feb 19:10
v0.6.0
1c07151
Compare
Choose a tag to compare

Changed

  • Update dependencies and fix breaking changes

    opentelemetry = "0.17"
    opentelemetry-semantic-conventions = "0.9"

    Due to lifetime and thread-safety issues (non-Send across await point),
    a switch to BoxedTracer was necessary. Since most examples and implementation do that,
    this crate gets in line with the others now.

    Examples are updated accordingly.

    Easiest way is to use ::default() instead of ::new(tracer) to use the global tracer.

    #[async_std::main]
    async fn main() -> surf::Result<()> {
        let _tracer = opentelemetry_jaeger::new_pipeline().install_batch(opentelemetry::runtime::AsyncStd)?;
        let otel_mw = opentelemetry_surf::OpenTelemetryTracingMiddleware::default();
        let client = surf::client().with(otel_mw);
        let res = client.get("https://httpbin.org/get").await?;
        dbg!(res);
    
        opentelemetry::global::shutdown_tracer_provider();
        Ok(())
    }

v0.5.0 — German Unity Edition

03 Oct 13:27
827941f
Compare
Choose a tag to compare

Changed

  • Update dependencies

    [dependencies]
    http-types = "2.12"
    opentelemetry = "0.16"
    opentelemetry-semantic-conventions = "0.8"
    surf = "2.3"

Cosmetic

v0.4.0

28 Jul 20:28
v0.4.0
050e772
Compare
Choose a tag to compare

Changed

  • Update dependencies

v0.3.0

10 May 21:56
d771372
Compare
Choose a tag to compare

Changed

  • Update dependencies and adapt code accordingly

Cosmetic

  • Ignore "RUSTSEC-2020-0056: stdweb is unmaintained" (#5)
  • Ignore aes related audits until upstream dependencies have been updated
    • Ignore "RUSTSEC-2021-0059: aesni has been merged into the aes crate"
    • Ignore "RUSTSEC-2021-0060: aes-soft has been merged into the aes crate"
  • Use cargo audit directly, as actions-rs/audit-check does not support ignore option

v0.2.0 - Spring Cleanup

03 Apr 00:52
v0.2.0
1d0d448
Compare
Choose a tag to compare

First time with a changelog, therefore the whole list of changes at once (don't worry, it's not long):

0.2.0 - 2021-04-03

Changed

  • Update dependencies and adapt code accordingly

    This is a breaking change!
    Most notably: The "uninstall" guard is gone; see examples for how to do it with current otel crates.

Cosmetic

  • github repo maintenance
  • github actions improvements

0.1.1 - 2020-12-06

Cosmetic

  • documentation presentation improvements
  • readme fixes

Thank you for your contribution

0.1.0 - 2020-12-06

Initial release