elastic / elastic/apm

Add span links for message tracing

Open
#605 0 comments 0 reactions 0 assignees View on GitHub
8.3-candidate apm-agents meta
Dominant language
Gherkin
Stars
427
Forks
125
PR merge metrics
No merged PRs in 30d

Description

We are discussing adding [span link](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/overview.md#links-between-spans) support. One of the motivations for this is to be able to represent the batch processing of several messages. A transaction/span cannot have multiple parents, so span links are a mechanism to link that transaction to the many initiating messages.

This includes:
- [ ] Adding span links to messaging system instrumentation
- [ ] Revert the special case for SQS triggered AWS Lambda instrumentation that invocations with a single message are handled differently from invocations with batch messages.

## Spec issue
- [x] https://github.com/elastic/apm/issues/606 Milestone

## Agent issues
- [x] https://github.com/elastic/apm-agent-java/issues/2489 Milestone
- [x] https://github.com/elastic/apm-agent-dotnet/issues/1638 Milestone
- [x] https://github.com/elastic/apm-agent-go/issues/1222 Milestone
- [x] https://github.com/elastic/apm-agent-nodejs/issues/2593 Milestone
- [x] https://github.com/elastic/apm-agent-python/issues/1473 Milestone
- [ ] https://github.com/elastic/apm-agent-ruby/issues/1239 Milestone
- [ ] https://github.com/elastic/apm-agent-php/issues/633 Milestone

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.