You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2026-06-03 18:35:08 +02:00
Drop support for Go 1.24 (#7984)
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
module go.opentelemetry.io/otel/metric
|
||||
|
||||
go 1.24.0
|
||||
go 1.25.0
|
||||
|
||||
require (
|
||||
github.com/stretchr/testify v1.11.1
|
||||
|
||||
+12
-24
@@ -98,44 +98,32 @@ func TestWithAttributesConcurrentSafe(*testing.T) {
|
||||
}
|
||||
|
||||
var wg sync.WaitGroup
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
wg.Go(func() {
|
||||
opt := []AddOption{WithAttributes(attrs...)}
|
||||
_ = NewAddConfig(opt)
|
||||
}()
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
})
|
||||
wg.Go(func() {
|
||||
opt := []AddOption{WithAttributes(attrs...)}
|
||||
_ = NewAddConfig(opt)
|
||||
}()
|
||||
})
|
||||
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
wg.Go(func() {
|
||||
opt := []RecordOption{WithAttributes(attrs...)}
|
||||
_ = NewRecordConfig(opt)
|
||||
}()
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
})
|
||||
wg.Go(func() {
|
||||
opt := []RecordOption{WithAttributes(attrs...)}
|
||||
_ = NewRecordConfig(opt)
|
||||
}()
|
||||
})
|
||||
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
wg.Go(func() {
|
||||
opt := []ObserveOption{WithAttributes(attrs...)}
|
||||
_ = NewObserveConfig(opt)
|
||||
}()
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
})
|
||||
wg.Go(func() {
|
||||
opt := []ObserveOption{WithAttributes(attrs...)}
|
||||
_ = NewObserveConfig(opt)
|
||||
}()
|
||||
})
|
||||
|
||||
wg.Wait()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user