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

[APM] Provide better guidance for transactions named unknown route #118695

Open
eyalkoren opened this issue Oct 5, 2021 · 9 comments
Open

[APM] Provide better guidance for transactions named unknown route #118695

eyalkoren opened this issue Oct 5, 2021 · 9 comments
Assignees
Labels
apm:inline-help discuss needs design Team:APM All issues that need APM UI Team support

Comments

@eyalkoren
Copy link
Contributor

Summary of the problem
As I user I want a clear hint for possible resolution for transactions that are not properly named, specifically - such named <HTTP_METHOD> unknown route:
unknown_route

Typically, we get such transactions when the capturing agent doesn't support a specific framework or use case. However, we have ways to work around these issues, that are agent specific, for example:

  • Set a config option to fallback to use the URL path for transaction name
  • Use an API to manually name improperly named transactions

Since the unknown route string is aligned across agents (and we will make sure to align if there are exceptions), it would be very useful if the UI will contain a link to the proper troubleshooting documentation (e.g. in the Java agent docs), preferably for the relevant agent based on the event metadata.
This fits well for other efforts we now make to provide such in-UI guidance for data onboarding.

@elasticmachine
Copy link
Contributor

Pinging @elastic/observability-design (design)

@formgeist
Copy link
Contributor

formgeist commented Oct 29, 2021

@eyalkoren Thanks for raising this - I've moved this into our design backlog and will keep it in mind for upcoming planning. I think we'd need an effort to identify possible other "signs of incomplete data or use" but this is a good start.

@formgeist formgeist transferred this issue from elastic/apm Nov 16, 2021
@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 16, 2021
@formgeist formgeist added apm:inline-help needs design Team:APM All issues that need APM UI Team support labels Nov 16, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 16, 2021
@formgeist formgeist changed the title Provide better guidance for transactions named unknown route [APM] Provide better guidance for transactions named unknown route Nov 24, 2021
@formgeist formgeist removed their assignment Mar 14, 2022
@yngrdyn
Copy link
Contributor

yngrdyn commented Jul 31, 2023

I don't know is this is applicable to all apm agents but I tried to find documentation about it for agents like go, python or ruby and I didn't find information related to this. Would it be worthy to align the documentation on this matter for all the agents? If we do, we could easily build an agent based doc link for troubleshooting

@yngrdyn
Copy link
Contributor

yngrdyn commented Aug 7, 2023

@elastic/apm-agent-devs would it be possible to have a troubleshooting section for unknown route for every agent as we have in java agent? This will enable us in the task of generating a link to the proper agent documentation whenever we encounter unknown route.

@gregkalapos
Copy link
Contributor

@yngrdyn what's the idea here? Would we link to those docs from the UI in case we show transactions with unknown route?

Would it be worthy to align the documentation on this matter for all the agents?

If I understand the idea correctly, then yeah, I think that makes sense.

Fyi I added this topic to the next agents weekly. I'll try to figure out which agents have such transactions (I think most of them do), and then create issues to add those docs and link the issues here.

@yngrdyn
Copy link
Contributor

yngrdyn commented Aug 7, 2023

hey @gregkalapos,

yes, the idea is to provide a link for the documentation from the UI whenever we get unknown route transaction name, something for example like
image

@gregkalapos
Copy link
Contributor

Opened an issue to document this for .NET: elastic/apm-agent-dotnet#2179

@trentm
Copy link
Member

trentm commented Sep 8, 2023

I've added elastic/apm-agent-nodejs#3619 for the Node.js APM agent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:inline-help discuss needs design Team:APM All issues that need APM UI Team support
Projects
None yet
Development

No branches or pull requests

8 participants