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

Elastic APM reporting seems to drop spans after a maximum per HTTP endpoint call #23885

Open
iansltx opened this issue Nov 16, 2024 · 0 comments
Labels
~backend Backend-related issue. bug Something isn't working as documented ~engineering-initiated Engineering-initiated story, such as a bug, refactor, or contributor experience improvement. #g-endpoint-ops Endpoint ops product group :release Ready to write code. Scheduled in a release. See "Making changes" in handbook.

Comments

@iansltx
Copy link
Member

iansltx commented Nov 16, 2024

💥  Actual behavior

When looking at a trace for an HTTP call, Elastic APM is missing later spans in the trace when a trace has a bunch of spans (e.g. for N+1 DB calls in a list endpoint).

🧑‍💻  Steps to reproduce

  1. Turn Elastic APM tracing on
  2. Enroll 100 hosts
  3. Call GET /hosts?populate_software=true

🕯️ More info

As of creating this issue, I haven't confirmed whether OpenTelemetry has the same issue, so using OTel as a sink for traces rather than Elastic APM may be a near-term workaround for long traces.

@iansltx iansltx added #g-endpoint-ops Endpoint ops product group :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. bug Something isn't working as documented ~backend Backend-related issue. ~engineering-initiated Engineering-initiated story, such as a bug, refactor, or contributor experience improvement. labels Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
~backend Backend-related issue. bug Something isn't working as documented ~engineering-initiated Engineering-initiated story, such as a bug, refactor, or contributor experience improvement. #g-endpoint-ops Endpoint ops product group :release Ready to write code. Scheduled in a release. See "Making changes" in handbook.
Development

No branches or pull requests

1 participant