hyperium / hyperium/hyper

RFC: Debug/tracing feature flags

Open
#2,698 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-feature
Dominant language
Rust
Stars
16.3k
Forks
1.8k
Avg merge
1d 22h
Merged PRs (30d)
14

Description

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I can't get conclusive debug output.

Describe the solution you'd like
A clear and concise description of what you want to happen.

I run a command and the debug output reveals root cause of the problem.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

See PR #2697

Proposal

Feature flags:

These flags are not part of the full feature:

  • spans: activates tracing spans/events/logs.
  • debug: Activate debug level spans targeting app-hyper debugging
  • trace: Activate debug and trace level spans targeting hyper internal debugging.
  • jaeger: Setup the stack required to consume Hyper trace output in Jaeger

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 reading PR #2697 alongside this RFC to understand the proposed debugging and tracing feature flags. Then locate how feature flags and tracing are currently defined in the repository and clarify the intended scope and acceptance checks before implementation. Done means the agreed design is implemented and the debug output provides the requested diagnostic detail.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.