-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add frame count to pprof message attributes #217
Conversation
What's about already released implementation without this parameter? Will it be handled correctly? |
LGTM, thanks |
@Kielek yes, we will still support agents that do not report this attribute. No hard date on how long, but my gut feeling suggests that at least for a year. |
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.
@gsmirnov-splk, I suppose you should support as long as we support any already released library.
Breaking it could break environment for our customers.
I am fine with adding new attribute as long as you agreed deprecation date with PMs.
@seemk Can you please take a look as well? |
Per discussion with @gsmirnov-splk the messages without support will continue to be supported by backend for at lest 12 months from now. Additional recommendations for release tagging will be made to indicate releases deprecated and no longer supported |
Node.js already does sample coalescing, i.e. in memory profiling we multiply the sample count with allocation size per sample. Does this mean the total number reported here should be the amount of samples before this multiplication? |
My understanding is that this is used to estimate pprof data size, so it should be the number after coalescing. |
@seemk The backend limiting factor is the number of (non-unique) frames coming from all the stack traces. If you coalesce 10 stack traces into one (such that when we read the pprof, we read one |
Thanks! |
Profiling team requests that
pprof
messages should be accompanied by the number of stack frames (non-unique) represented in thepprof
.@gsmirnov-splk please review