You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the metric package, we provide different flavors of the aggregator types, such as Float64SumObserver
vs BoundFloat64UpDownCounter. This is adding some mental overhead for the developer and requiring them to see another type. Instead of exporting various concrete types, would it be better to turn Float64SumObserver into an interface and provide two unexported concrete types?
The text was updated successfully, but these errors were encountered:
In the metric package, we provide different flavors of the aggregator types, such as Float64SumObserver
vs BoundFloat64UpDownCounter. This is adding some mental overhead for the developer and requiring them to see another type. Instead of exporting various concrete types, would it be better to turn Float64SumObserver into an interface and provide two unexported concrete types?
The text was updated successfully, but these errors were encountered: