Skip to content

tracing-opentelemetry examples doesn't work #1283

Open
@Sherlock-Holo

Description

@Sherlock-Holo

Bug Report

Version

│   │   ├── tracing v0.1.22
│   │   │   ├── tracing-attributes v0.1.13 (proc-macro)
│   │   │   └── tracing-core v0.1.17
│   │   └── tracing-futures v0.2.4
│   │       └── tracing v0.1.22 (*)
│   ├── tracing v0.1.22 (*)
│   └── tracing v0.1.22 (*)
├── tracing v0.1.22 (*)
├── tracing-opentelemetry v0.11.0
│   ├── tracing v0.1.22 (*)
│   ├── tracing-core v0.1.17 (*)
│   ├── tracing-log v0.1.2
│   │   └── tracing-core v0.1.17 (*)
│   └── tracing-subscriber v0.2.16
│       ├── tracing v0.1.22 (*)
│       ├── tracing-core v0.1.17 (*)
│       ├── tracing-log v0.1.2 (*)
│       └── tracing-serde v0.1.2
│           └── tracing-core v0.1.17 (*)
├── tracing-subscriber v0.2.16 (*)
    ├── tracing v0.1.22 (*)
    └── tracing-futures v0.2.4 (*)

Platform

Archlinux

Crates

tracing-opentelemetry

Description

the examples in https://github.com/tokio-rs/tracing/tree/master/tracing-opentelemetry doesn't work, jaeger doesn't see the trace data

https://github.com/tokio-rs/tracing/blob/master/examples/examples/opentelemetry.rs this examples should be the right way

Metadata

Metadata

Assignees

Labels

crate/opentelemetryRelated to the `tracing-opentelemetry` crate.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions