-
Notifications
You must be signed in to change notification settings - Fork 267
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
Why is AggregationTemporality redefined pprofextended.proto #547
Comments
I think this profiler's proto enum was copied from the metrics proto because we expected that it would need some customization. That customization hasn't happened yet. TBH the current For profiling, common metric types are:
There is also a flavor of 1) where the profiler returns a snapshot of the data, but the data is actually cumulative since the process start. I think this still fits the |
Thinking more about this, I think we do need to distinguish "delta over the profiling duration" (example: CPU time over 10 seconds in a CPU profile), "cumulative since process start" (example: cumulative alloc bytes in Go heap profiles) and "gauge aka instantaneous value" (example: current heap live bytes in a C++ or Go heap profile's "in use" metrics). I also wonder if the "aggregation temporality" name could be clearer. |
Why is AggregationTemporality redefined in this file instead of reusing the definition in
metrics.proto
?Originally posted by @jack-berg in #534 (comment)
The text was updated successfully, but these errors were encountered: