-
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
[APM] Investigate possibility of using edge metrics to build service map #81454
Comments
Pinging @elastic/apm-ui (Team:apm) |
These spans record almost the same information as the spans that we use to build the service map. The following fields are available:
However, we also need |
Certainly, feel free to open an issue on apm-server 👍 |
What's missing from the span metrics that you extract from trace events? If possible I think we should consider moving away from walking traces, and instead store enough information in the metrics to reconstruct the aggregated graph structure. |
@axw Without a trace ID we can't get paths, only connections (one hop downstream). Agree that storing the path (somewhere) is a better approach, as this is essentially just a performance optimisation of an untenable strategy (walking traces). |
As it stands, span (service map edge) metrics are not sufficient to build a service map. Discussion continues in elastic/apm#364. |
We currently use an approach where we sample spans based on their fingerprint, via a composite aggregation. In some cases this can be rather slow. We should look into whether we can use service map edge metrics to generate a service map, under the assumption that it will be faster.
The text was updated successfully, but these errors were encountered: