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

drop HTTP spans under S3 spans #2125

Closed
trentm opened this issue Jun 22, 2021 · 0 comments · Fixed by #2552
Closed

drop HTTP spans under S3 spans #2125

trentm opened this issue Jun 22, 2021 · 0 comments · Fixed by #2552
Assignees
Labels
agent-nodejs Make available for APM Agents project planning.
Milestone

Comments

@trentm
Copy link
Member

trentm commented Jun 22, 2021

#2112 adds instrumention of S3 (the aws-sdk package). Each S3 span currently also results in an HTTP span for the underlying S3 API call. As with Elasticsearch and SQS, we would like to exclude these HTTP spans, so the S3 spans are exit spans and breakdown metrics point to S3, not somewhat misleadingly to HTTP.

@github-actions github-actions bot added the agent-nodejs Make available for APM Agents project planning. label Jun 22, 2021
@AlexanderWert AlexanderWert added this to the 8.0 milestone Oct 18, 2021
@AlexanderWert AlexanderWert modified the milestones: 8.0, 8.1 Dec 6, 2021
@trentm trentm self-assigned this Jan 28, 2022
trentm added a commit that referenced this issue Jan 28, 2022
trentm added a commit that referenced this issue Jan 31, 2022
Per https://github.com/elastic/apm/blob/main/specs/agents/tracing-spans.md#exit-spans
the result is that HTTP child spans of S3 spans are no longer captured.

Also:
- Add http context to the S3 spans, now that the http spans are gone some
  of this info might be helpful.
- Update TAV versions for aws-sdk to something more reasonable.

Closes: #2125
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-nodejs Make available for APM Agents project planning.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants