1
0
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:
Tyler Yahn
2026-03-02 13:25:05 -08:00
committed by GitHub
parent f1f16bcb62
commit d5febb955e
50 changed files with 130 additions and 235 deletions
+1 -1
View File
@@ -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
View File
@@ -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()
}