Skip to content

Name HTTPX request spans according to convention #3769

@vrslev

Description

@vrslev

Describe your environment

~

What happened?

~

Steps to Reproduce

~

Expected Result

~

Actual Result

~

Additional context

Recent OpenTelemetry article recommends naming HTTP spans this way: GET /api/users/:id. Currently, HTTPX spans include only the method (GET), which is inconsistent with other instrumentations such as Litestar or FastAPI.

Would you like to implement a fix?

None

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions