micrometer-metrics / micrometer-metrics/tracing

Link spans when rpc observation has a parent

Open
#263 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
299
Forks
69
Avg merge
11h 40m
Merged PRs (30d)
31

Description

The use case is e.g. polling mechanism in e.g. RabbitMQ.

We would create an Observation (span X) when polling starts (at which point there is no message). Next, when the message arrives we would create a child Observation. However the span Y will not be a child of the span X, because it will be populated with tracing information from the headers. What we should do though is to link span Y to span X.

cc @acogoluegnes

Contributor guide

Open the 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.

Research direction

The issue names no file, test, or entry point. Begin by locating the Observation handling for RPC spans and RabbitMQ polling, then identify existing tracing-link tests; done means span Y is linked to span X when polling has a parent and tracing headers are present.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
observability-sre
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.