grpc / grpc/grpc-rust

Parent spans at the middleware using OpenTelemetry

Open
#919 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
12.5k
Forks
1.3k
Avg merge
4d 7h
Merged PRs (30d)
24

Description

## Bug Report

### Version
└── tonic v0.6.2
└── tonic-build v0.6.2
├── tonic v0.6.2 (*)

### Platform

MINGW64_NT-10.0-19043 3.1.7-340.x86_64 2021-03-26 22:17 UTC x86_64 Msys

### Description

I tried to create spans using `OpenTelemetry`, `tonic`, and `tower-http`.
However, I couldn't create a parent span at the middleware.

I prepared my simple [example](https://github.com/arttet/simple-service).

![2022-02-22_14-14-41](https://user-images.githubusercontent.com/51746822/155121511-e50c12d9-4847-4cc3-8261-96fe22f49706.png)

I expected to see one span.

P.S. Maybe I did something wrong.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.