open-telemetry / open-telemetry/opentelemetry-python-contrib

Baggage propagation tests are missing for Flask and WSGI

Open
#268 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

after-ga good first issue help wanted triaged
Dominant language
Python
Stars
1.1k
Forks
1.1k
Avg merge
4d 15h
Merged PRs (30d)
16

Description

Flask and the OpenWSGIMiddleware should extract the baggage from the incoming request and make it active. The implementation appears to be working but there is not any unit test checking that.

The criteria to close this issue is

  • Test implemented for Flask
  • Test implemented for WSGI

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing Flask instrumentation tests and the OpenWSGIMiddleware entry point. Add unit coverage that sends baggage in an incoming request and verifies it becomes active for both integrations, then run the relevant test suite.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, python
Domain
backend, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.