-
Notifications
You must be signed in to change notification settings - Fork 539
docs: Transaction metrics reference #4345
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
Conversation
axw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
|
|
||
| [[sampling-keep_unsampled]] | ||
| [float] | ||
| ==== `keep_unsampled` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if we should document this one. I think this will end up going away in favour of the updating the agents to stop sending unsampled transactions. Also, I suspect this config might be incompatible with RUM/User Experience monitoring, where we probably want to record individual requests without a full sampled trace.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we do remove this config from the docs, do the apm-server.aggregation.transactions.* configs still result in storage reduction? I want to make sure your previous suggested change still holds true if we remove this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh good point. Indeed, storage reduction relies on us discarding the unsampled transaction docs.
I guess we should keep it then, and just mark it as experimental.
|
This feature is also opt-in in Kibana. Do we need docs for that as well? |
Yes. Is it Also, question: When I enable this, how do I know that it's working? What can I look for? |
With the example config apm-server:
aggregation:
transactions:
enabled: true
interval: 1m
sampling:
keep_unsampled: falseConfigure the agent to sample, and you should end up with a distribution chart that looks roughly correct. If Kibana were not configured with |
Co-authored-by: Andrew Wilkins <[email protected]>
|
Perfect. Thanks for your help, @axw. Kib PR: elastic/kibana#82379 |
Co-authored-by: Andrew Wilkins <[email protected]>
Co-authored-by: Andrew Wilkins <[email protected]>
Co-authored-by: Andrew Wilkins <[email protected]>
Co-authored-by: Andrew Wilkins <[email protected]>
|
@bmorelli25 I searched how to create a graph from Transaction as Histograms and didn't find the docs searching on Google. Do we have an SEO question here? |
@cyrille-leclerc That's a result of only adding reference documentation for this feature. There's no how-to guide with a Googlable H1. This plays into the thread on Slack... Would you mind opening an issue? |
Summary
Alphabetizes the config reference and adds reference docs for transaction metrics.
For a number of good reasons, this is still opt-in. How much do we want to publicize this? Better worded: do we need more than just reference documentation for this feature yet?
Related issues
Closes #4031