Keep failures and timeouts when tracing at 100%?

Open
#9,155 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
java

Research direction

Start by reviewing the tracing-at-100% context in issue #9154 and the OpenTelemetry SDK batch span processor behavior described here. Prototype the proposed Storm stream and collector bolt, including async-bolt completion, then measure failure, timeout, sampling, and overload behavior against OTLP; the open questions about retention, overload handling, and worker-local versus central reduction still need decisions.

Written by the indexing model from the issue text.

Description

With tracing at 100% (#9154), the OpenTelemetry SDK's batch span processor can't keep up on a fast topology: in my runs it exported 5–11% of the spans and dropped the rest, and tuning it raised that only to 13%. It drops spans whatever the outcome, so failures and timeouts go too.

@GGraziadei suggested sending the spans down a Storm stream to a collector bolt that keeps failures, timeouts and a sample of the rest. The bolt would also need to know when the work for a tuple ends in an async bolt; otherwise it can't tell where a timed-out tuple stopped.

Open questions: what the bolt holds and for how long, what it does under overload, and whether reducing near each worker beats one central bolt. I'd prototype it first and measure it against OTLP.

What do you think?

Dominant language
Java
Stars
6.7k
Forks
4k
Avg merge
1d 5h
Merged PRs (30d)
86

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/storm

All issues in apache/storm

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.