Skip to content

Ability to control traces such that push trace data only for pytest functions that exceed a particular run time limit #31

@jayakumar-mohan-fk

Description

@jayakumar-mohan-fk

This is a suggestion to have a threshold so that trace data is pushed only for pytest functions that exceed a particular run time limit.

Background : I have a test suite that has 6000 odd pytest functions that are run by a single pytest process.

90% of these are quite fast. However the rest take longer.

Using pytest-opentelemetry we were able push the traces to Jaegar UI, but analysing the statistics to identify some of the most used test helper operations was difficult due to the volume of spans under a single trace.

I understand this is a drawback on Jaeger UI, but if we have a control to push only the traces for long running test functions it would be helpful.

A sample snapshot of Jaeger UI statistics that I am trying to view.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions