You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-07-17 01:12:45 +02:00
Update internal/metric/async.go
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
This commit is contained in:
@ -41,8 +41,8 @@ type AsyncCollector interface {
|
|||||||
type AsyncInstrumentState struct {
|
type AsyncInstrumentState struct {
|
||||||
lock sync.Mutex
|
lock sync.Mutex
|
||||||
|
|
||||||
// errorOnce will use the global.Handler to report an error once of an
|
// errorOnce will use the global.Handler to report an error
|
||||||
// invalid runner being attempted to run.
|
// once in case of an invalid runner attempting to run.
|
||||||
errorOnce sync.Once
|
errorOnce sync.Once
|
||||||
|
|
||||||
// runnerMap keeps the set of runners that will run each
|
// runnerMap keeps the set of runners that will run each
|
||||||
|
Reference in New Issue
Block a user