Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

jaeger per-user force-tracing does not work correctly for /sendToDevice and /keys/upload #13567

@richvdh

Description

@richvdh

The on_POST handlers for these two endpoints have some overenthusiastic jaeger annotations (@trace_with_opname). This means that there is an extra layer of spans between the servlet span (which logs the request id) and the call to get_user_by_req (which enables tracing on the active span if the user has force-tracing enabled).

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-TaskRefactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions