mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-02-03 13:11:53 +02:00
Update internal/metric/async.go
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
This commit is contained in:
parent
50f0f85c79
commit
5fa286d44d
@ -41,8 +41,8 @@ type AsyncCollector interface {
|
||||
type AsyncInstrumentState struct {
|
||||
lock sync.Mutex
|
||||
|
||||
// errorOnce will use the global.Handler to report an error once of an
|
||||
// invalid runner being attempted to run.
|
||||
// errorOnce will use the global.Handler to report an error
|
||||
// once in case of an invalid runner attempting to run.
|
||||
errorOnce sync.Once
|
||||
|
||||
// runnerMap keeps the set of runners that will run each
|
||||
|
Loading…
x
Reference in New Issue
Block a user