You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-12-01 23:12:29 +02:00
Both functions receive parameters from an expoHistogramDataPoint and are only ever used by other methods of an expoHistogramDataPoint. Make the functions methods of expoHistogramDataPoint so the parameter arguments can be dropped and the functions are scoped to the type they are used for. Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>