-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Meta] Improve APM agent instrumentation #78869
Comments
Pinging @elastic/kibana-platform (Team:Platform) |
In the frontend service, I was expecting the transaction name to be More generally, some alignment on transaction names is in order:
|
@joshdover I'd love to connect and chat about how we can use APM for Kibana Telemetry since our efforts seem to be somewhat aligned. |
@joshdover are we still going ahead with this issue during the 7.12 cycle? It's somewhat related to #78792, where we're working with the Node APM agent team. |
I'm going to push this one out. I'll pick up the remaining work in #78792 on tuning the agent to minimize overhead. Until we have that ironed out, I don't think it makes sense to spend time adding any additional instrumentation. |
One other thing that might be useful is tagging transactions with a plugin label, e.g. plugin: apm or plugin: ml, so teams can filter on that in the UI. |
APM team added API that allows instrumenting a span with a custom context. #90403 |
@restrry the utility functions adds a span as a parent of the spans created in its context. It does not currently replace an automatically generated span. That would require some work in the Node.js agent I think, something that would allow us to intercept spans and rename them. I do think something like that would be better in the long run. @elastic/apm-agent-node-js |
see newly added |
@mshustov fyi we're already reporting the js heap size\limit\used to fullstory. If we want to do some quick analytics there, it's available on page load events only since 7.16. |
This is an issue to track possible improvements we could make to the APM agent instrumentation by adding custom transactions & spans.
Second iteration (7.11)
Backend
Frontend
ApmRoute
component, but has some caveatsMetadata
Future
Backend
These are easy to benchmark in dev
Frontend
The text was updated successfully, but these errors were encountered: