Update go dependencies
This commit is contained in:
parent
14a9e9f3fa
commit
14f4a7b8e8
1349 changed files with 128369 additions and 32627 deletions
4
vendor/go.opencensus.io/internal/internal.go
generated
vendored
4
vendor/go.opencensus.io/internal/internal.go
generated
vendored
|
|
@ -18,12 +18,12 @@ import (
|
|||
"fmt"
|
||||
"time"
|
||||
|
||||
"go.opencensus.io"
|
||||
opencensus "go.opencensus.io"
|
||||
)
|
||||
|
||||
// UserAgent is the user agent to be added to the outgoing
|
||||
// requests from the exporters.
|
||||
var UserAgent = fmt.Sprintf("opencensus-go [%s]", opencensus.Version())
|
||||
var UserAgent = fmt.Sprintf("opencensus-go/%s", opencensus.Version())
|
||||
|
||||
// MonotonicEndTime returns the end time at present
|
||||
// but offset from start, monotonically.
|
||||
|
|
|
|||
5
vendor/go.opencensus.io/internal/tagencoding/tagencoding.go
generated
vendored
5
vendor/go.opencensus.io/internal/tagencoding/tagencoding.go
generated
vendored
|
|
@ -17,6 +17,7 @@
|
|||
// used interally by the stats collector.
|
||||
package tagencoding // import "go.opencensus.io/internal/tagencoding"
|
||||
|
||||
// Values represent the encoded buffer for the values.
|
||||
type Values struct {
|
||||
Buffer []byte
|
||||
WriteIndex int
|
||||
|
|
@ -31,6 +32,7 @@ func (vb *Values) growIfRequired(expected int) {
|
|||
}
|
||||
}
|
||||
|
||||
// WriteValue is the helper method to encode Values from map[Key][]byte.
|
||||
func (vb *Values) WriteValue(v []byte) {
|
||||
length := len(v) & 0xff
|
||||
vb.growIfRequired(1 + length)
|
||||
|
|
@ -49,7 +51,7 @@ func (vb *Values) WriteValue(v []byte) {
|
|||
vb.WriteIndex += length
|
||||
}
|
||||
|
||||
// ReadValue is the helper method to read the values when decoding valuesBytes to a map[Key][]byte.
|
||||
// ReadValue is the helper method to decode Values to a map[Key][]byte.
|
||||
func (vb *Values) ReadValue() []byte {
|
||||
// read length of v
|
||||
length := int(vb.Buffer[vb.ReadIndex])
|
||||
|
|
@ -67,6 +69,7 @@ func (vb *Values) ReadValue() []byte {
|
|||
return v
|
||||
}
|
||||
|
||||
// Bytes returns a reference to already written bytes in the Buffer.
|
||||
func (vb *Values) Bytes() []byte {
|
||||
return vb.Buffer[:vb.WriteIndex]
|
||||
}
|
||||
|
|
|
|||
1
vendor/go.opencensus.io/internal/traceinternals.go
generated
vendored
1
vendor/go.opencensus.io/internal/traceinternals.go
generated
vendored
|
|
@ -22,6 +22,7 @@ import (
|
|||
// TODO(#412): remove this
|
||||
var Trace interface{}
|
||||
|
||||
// LocalSpanStoreEnabled true if the local span store is enabled.
|
||||
var LocalSpanStoreEnabled bool
|
||||
|
||||
// BucketConfiguration stores the number of samples to store for span buckets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue