Skip to content

Reduce cardinality of traces/spans for running tests #32

Open
@mdelapenya

Description

We are currently creating a span per test (https://github.com/mdelapenya/junit2otlp/blame/ede48c1865c6a23ce58bf03dfb4fca3c913f0cb5/main.go#L119) and per test suite (https://github.com/mdelapenya/junit2otlp/blame/ede48c1865c6a23ce58bf03dfb4fca3c913f0cb5/main.go#L99) which leads to have different spans per test name and test suite, increasing the cardinality of those spans.

I'd suggest decreasing it naming both spans as run-test and run-suite (or similar) and declaring the test name and test suite name as an attribute of the span.

@v1v @cyrille-leclerc @kuisathaverat wdyt?

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions