You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-06 09:09:44 +02:00
Refactor exemplars to not use generic argument (#5285)
* Refactor exemplars to not use generic argument * Update internal/aggregate * Update metric SDK * Test exemplar value type * Add TestCollectExemplars * Fix lint --------- Co-authored-by: Sam Xie <sam@samxie.me>
This commit is contained in:
@@ -49,8 +49,8 @@ var (
|
||||
}
|
||||
)
|
||||
|
||||
func dropExemplars[N int64 | float64]() exemplar.Reservoir[N] {
|
||||
return exemplar.Drop[N]()
|
||||
func dropExemplars[N int64 | float64]() exemplar.Reservoir {
|
||||
return exemplar.Drop()
|
||||
}
|
||||
|
||||
func TestBuilderFilter(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user