Skip to content

Refactor: hardcoded 500ms threshold in TempoTraceAdapter #80

@Mar10-Labs

Description

@Mar10-Labs

The polling integrity check uses a hardcoded 500ms value to detect if the slow span batch has been flushed. Works for the demo but misses subtle latency regressions.\n\njava\nboolean complete = tree.spans().stream()\n .anyMatch(s -> s.durationMs() > 500); // hardcoded\n\n\nGoal: make threshold configurable via application.properties and investigate a statistical approach instead of a fixed value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorCode that needs cleanup or restructuring

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions