Switch to go modules
This commit is contained in:
parent
461954facb
commit
1720059244
763 changed files with 24896 additions and 177398 deletions
4
vendor/go.opencensus.io/stats/record.go
generated
vendored
4
vendor/go.opencensus.io/stats/record.go
generated
vendored
|
|
@ -18,7 +18,6 @@ package stats
|
|||
import (
|
||||
"context"
|
||||
|
||||
"go.opencensus.io/exemplar"
|
||||
"go.opencensus.io/stats/internal"
|
||||
"go.opencensus.io/tag"
|
||||
)
|
||||
|
|
@ -51,7 +50,8 @@ func Record(ctx context.Context, ms ...Measurement) {
|
|||
if !record {
|
||||
return
|
||||
}
|
||||
recorder(tag.FromContext(ctx), ms, exemplar.AttachmentsFromContext(ctx))
|
||||
// TODO(songy23): fix attachments.
|
||||
recorder(tag.FromContext(ctx), ms, map[string]interface{}{})
|
||||
}
|
||||
|
||||
// RecordWithTags records one or multiple measurements at once.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue