Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenTelemetry Warn Level #275

Open
Modularius opened this issue Nov 24, 2024 · 0 comments
Open

OpenTelemetry Warn Level #275

Modularius opened this issue Nov 24, 2024 · 0 comments
Assignees

Comments

@Modularius
Copy link
Contributor

Problem this feature will solve

When the data pipeline is set to emit OpenTelemetry spans, the only spans emitted at at the info level. Consequently, this results in a large number of spans being emitted even during normal running. Storing such a large number of spans is not feasible for longer than a few hours, making this inefficient for long-term bug testing.

Description of solution

A new set of spans emitted at the warn level should be emitted solely during abnormal behaviour. These should aim to avoid frequent repetition of details likely to be irrelevant to bug testing. The general rule is that the warn span should include enough to be able to reproduce the conditions of the error without necessarily being able to diagnose it. More thorough testing can then be done with tracing at the info level.

The warn spans to emit should include (but not be limited to):

  • When frames expire in digitiser-aggregator.
  • When frames not belonging to any known run are received by nexus-writer.
  • Any fatal error (i.e. anything that results in a call to error!).
@Modularius Modularius self-assigned this Nov 24, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Super-MuSR Nov 24, 2024
@Modularius Modularius moved this from Backlog to In Progress in Super-MuSR Nov 24, 2024
@Modularius Modularius moved this from In Progress to Backlog in Super-MuSR Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant