-
Notifications
You must be signed in to change notification settings - Fork 32
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
allow configurable accumulation_cycle #21
Conversation
ad5793d
to
0d7fab0
Compare
@drahnr Great PR. Changing the u64 (was using 0 as a kill signal!) to an enum was a todo goal already. Some thoughts:
|
Fair point.
Sure. No preference here.
What do you mean "supports"? Is that a hardcoded limit in the backend? If so, what's the rationale behind it?
Yeah, I'll move them to feature parity soon. |
Regarding 3: This should be a limit on the Pyroscope server (it only accepts 10s chunks of time) but @petethepig can confirm that. Either case, why should this value be collected by the "PyroscopeAgent" struct? If it is set by the user, it's passed through the configuration (maybe through PyroscopeConfig) and then the agent is largely indifferent to its value (it then only affects the Timer). |
Because the The 10s are too coarse for our purposes. It would be great to understand where the 10s originate from and if that can be reduced, and if not, how the resolution can be increased. |
Sorry, I thought I've seen it in the PyroscopeAgent struct -_-
My guess is that's how the Pyroscope server stores the data. I think 1s (or 100 profiles per second) will just consume too much data. But I think it's better to discuss this on Slack (https://join.slack.com/t/pyroscope/shared_invite/zt-12sji9gc2-dV0l__SwDIyqY47~UhTELQ) or https://github.com/pyroscope-io/pyroscope/issues as that's where the developers for the server are. |
Extracted from #20
Ref #19