Runtime instrumentation supports float64 runtime/metrics #7237
Labels
area: instrumentation
Related to an instrumentation package
enhancement
New feature or request
instrumentation: runtime
Problem Statement
The current runtime instrumentation supports some
int64
andfloat64Histogram
metrics from theruntime/metrics
standard lib. Some of the metrics in the standard lib such as/sync/mutex/wait/total:seconds
are float64. What would be required to support such metrics in the runtime instrumentation?Proposed Solution
I am not entirely sure of a solution yet. It seems straightforward to add to the current runtime instrumentation code, and I'd be happy to contribute. However, I want to proceed in line with OTEL and the code owners of the runtime instrumentation. I'm hoping to start a conversation on how we could move forward. Any OTEL spec docs that are blocking here would be very helpful to me.
Alternatives
If nothing else, more documentation on why specific
runtime/metrics
are not provided would be helpful.Prior Art
Not sure.
Additional Context
https://pkg.go.dev/runtime/[email protected]
The text was updated successfully, but these errors were encountered: