type go.opentelemetry.io/otel/label.KeyValue
132 uses
go.opentelemetry.io/otel/label (current package)
iterator.go#L30: current KeyValue
iterator.go#L36: label KeyValue
iterator.go#L48: func (i *Iterator) Label() KeyValue {
iterator.go#L54: func (i *Iterator) Attribute() KeyValue {
iterator.go#L60: func (i *Iterator) IndexedLabel() (int, KeyValue) {
iterator.go#L72: func (i *Iterator) ToSlice() []KeyValue {
iterator.go#L78: slice := make([]KeyValue, 0, l)
iterator.go#L141: func (m *MergeItererator) Label() KeyValue {
key.go#L27: func (k Key) Bool(v bool) KeyValue {
key.go#L28: return KeyValue{
key.go#L40: func (k Key) Int64(v int64) KeyValue {
key.go#L41: return KeyValue{
key.go#L53: func (k Key) Uint64(v uint64) KeyValue {
key.go#L54: return KeyValue{
key.go#L66: func (k Key) Float64(v float64) KeyValue {
key.go#L67: return KeyValue{
key.go#L79: func (k Key) Int32(v int32) KeyValue {
key.go#L80: return KeyValue{
key.go#L92: func (k Key) Uint32(v uint32) KeyValue {
key.go#L93: return KeyValue{
key.go#L105: func (k Key) Float32(v float32) KeyValue {
key.go#L106: return KeyValue{
key.go#L118: func (k Key) String(v string) KeyValue {
key.go#L119: return KeyValue{
key.go#L132: func (k Key) Int(v int) KeyValue {
key.go#L133: return KeyValue{
key.go#L146: func (k Key) Uint(v uint) KeyValue {
key.go#L147: return KeyValue{
key.go#L164: func (k Key) Array(v interface{}) KeyValue {
key.go#L165: return KeyValue{
kv.go#L24: type KeyValue struct {
kv.go#L31: func Bool(k string, v bool) KeyValue {
kv.go#L37: func Int64(k string, v int64) KeyValue {
kv.go#L43: func Uint64(k string, v uint64) KeyValue {
kv.go#L49: func Float64(k string, v float64) KeyValue {
kv.go#L55: func Int32(k string, v int32) KeyValue {
kv.go#L61: func Uint32(k string, v uint32) KeyValue {
kv.go#L67: func Float32(k string, v float32) KeyValue {
kv.go#L73: func String(k, v string) KeyValue {
kv.go#L79: func Stringer(k string, v fmt.Stringer) KeyValue {
kv.go#L86: func Int(k string, v int) KeyValue {
kv.go#L93: func Uint(k string, v uint) KeyValue {
kv.go#L99: func Array(k string, v interface{}) KeyValue {
kv.go#L105: func Any(k string, value interface{}) KeyValue {
set.go#L56: Filter func(KeyValue) bool
set.go#L64: Sortable []KeyValue
set.go#L69: keyValueType = reflect.TypeOf(KeyValue{})
set.go#L74: iface: [0]KeyValue{},
set.go#L104: func (l *Set) Get(idx int) (KeyValue, bool) {
set.go#L106: return KeyValue{}, false
set.go#L113: return value.Index(idx).Interface().(KeyValue), true
set.go#L116: return KeyValue{}, false
set.go#L128: return rValue.Index(idx).Interface().(KeyValue).Key >= k
set.go#L133: keyValue := rValue.Index(idx).Interface().(KeyValue)
set.go#L159: func (l *Set) ToSlice() []KeyValue {
set.go#L240: func NewSet(kvs ...KeyValue) Set {
set.go#L253: func NewSetWithSortable(kvs []KeyValue, tmp *Sortable) Set {
set.go#L268: func NewSetWithFiltered(kvs []KeyValue, filter Filter) (Set, []KeyValue) {
set.go#L300: func NewSetWithSortableFiltered(kvs []KeyValue, tmp *Sortable, filter Filter) (Set, []KeyValue) {
set.go#L340: func filterSet(kvs []KeyValue, filter Filter) (Set, []KeyValue) {
set.go#L341: var excluded []KeyValue
set.go#L366: func (l *Set) Filter(re Filter) (Set, []KeyValue) {
set.go#L381: func computeDistinct(kvs []KeyValue) Distinct {
set.go#L393: func computeDistinctFixed(kvs []KeyValue) interface{} {
set.go#L396: ptr := new([1]KeyValue)
set.go#L400: ptr := new([2]KeyValue)
set.go#L404: ptr := new([3]KeyValue)
set.go#L408: ptr := new([4]KeyValue)
set.go#L412: ptr := new([5]KeyValue)
set.go#L416: ptr := new([6]KeyValue)
set.go#L420: ptr := new([7]KeyValue)
set.go#L424: ptr := new([8]KeyValue)
set.go#L428: ptr := new([9]KeyValue)
set.go#L432: ptr := new([10]KeyValue)
set.go#L442: func computeDistinctReflect(kvs []KeyValue) interface{} {
set.go#L445: *(at.Index(i).Addr().Interface().(*KeyValue)) = keyValue
go.opentelemetry.io/otel/api/correlation
context.go#L153: func NewContext(ctx context.Context, keyvalues ...label.KeyValue) context.Context {
correlation_context_propagator.go#L48: correlationCtx.Foreach(func(kv label.KeyValue) bool {
correlation_context_propagator.go#L72: keyValues := make([]label.KeyValue, 0, len(contextValues))
map.go#L41: SingleKV label.KeyValue
map.go#L44: MultiKV []label.KeyValue
map.go#L167: func (m Map) Foreach(f func(label.KeyValue) bool) {
map.go#L169: if !f(label.KeyValue{
go.opentelemetry.io/otel/api/global/internal
meter.go#L111: labels []label.KeyValue
meter.go#L230: func (inst *syncImpl) Bind(labels []label.KeyValue) metric.BoundSyncImpl {
meter.go#L302: func (m *meterImpl) RecordBatch(ctx context.Context, labels []label.KeyValue, measurements ...metric.Measurement) {
meter.go#L308: func (inst *syncImpl) RecordOne(ctx context.Context, number metric.Number, labels []label.KeyValue) {
go.opentelemetry.io/otel/api/metric
async.go#L60: function func([]label.KeyValue, ...Observation)
async.go#L67: function func([]label.KeyValue, ...Observation)
async.go#L73: function func([]label.KeyValue, ...Observation)
async.go#L78: func (ir Int64ObserverResult) Observe(value int64, labels ...label.KeyValue) {
async.go#L87: func (fr Float64ObserverResult) Observe(value float64, labels ...label.KeyValue) {
async.go#L96: func (br BatchObserverResult) Observe(labels []label.KeyValue, obs ...Observation) {
async.go#L117: Run(ctx context.Context, single AsyncImpl, capture func([]label.KeyValue, ...Observation))
async.go#L127: Run(ctx context.Context, capture func([]label.KeyValue, ...Observation))
async.go#L161: func (i *Int64ObserverFunc) Run(ctx context.Context, impl AsyncImpl, function func([]label.KeyValue, ...Observation)) {
async.go#L169: func (f *Float64ObserverFunc) Run(ctx context.Context, impl AsyncImpl, function func([]label.KeyValue, ...Observation)) {
async.go#L177: func (b *BatchObserverFunc) Run(ctx context.Context, function func([]label.KeyValue, ...Observation)) {
counter.go#L49: func (c Float64Counter) Bind(labels ...label.KeyValue) (h BoundFloat64Counter) {
counter.go#L56: func (c Int64Counter) Bind(labels ...label.KeyValue) (h BoundInt64Counter) {
counter.go#L75: func (c Float64Counter) Add(ctx context.Context, value float64, labels ...label.KeyValue) {
counter.go#L81: func (c Int64Counter) Add(ctx context.Context, value int64, labels ...label.KeyValue) {
meter.go#L55: func (m Meter) RecordBatch(ctx context.Context, ls []label.KeyValue, ms ...Measurement) {
noop.go#L53: func (NoopSync) Bind([]label.KeyValue) BoundSyncImpl {
noop.go#L57: func (NoopSync) RecordOne(context.Context, Number, []label.KeyValue) {
sdkapi.go#L27: RecordBatch(context.Context, []label.KeyValue, ...Measurement)
sdkapi.go#L62: Bind(labels []label.KeyValue) BoundSyncImpl
sdkapi.go#L65: RecordOne(ctx context.Context, number Number, labels []label.KeyValue)
sync.go#L85: func (s syncInstrument) bind(labels []label.KeyValue) syncBoundInstrument {
sync.go#L97: func (s syncInstrument) directRecord(ctx context.Context, number Number, labels []label.KeyValue) {
updowncounter.go#L50: func (c Float64UpDownCounter) Bind(labels ...label.KeyValue) (h BoundFloat64UpDownCounter) {
updowncounter.go#L57: func (c Int64UpDownCounter) Bind(labels ...label.KeyValue) (h BoundInt64UpDownCounter) {
updowncounter.go#L76: func (c Float64UpDownCounter) Add(ctx context.Context, value float64, labels ...label.KeyValue) {
updowncounter.go#L82: func (c Int64UpDownCounter) Add(ctx context.Context, value int64, labels ...label.KeyValue) {
valuerecorder.go#L49: func (c Float64ValueRecorder) Bind(labels ...label.KeyValue) (h BoundFloat64ValueRecorder) {
valuerecorder.go#L56: func (c Int64ValueRecorder) Bind(labels ...label.KeyValue) (h BoundInt64ValueRecorder) {
valuerecorder.go#L76: func (c Float64ValueRecorder) Record(ctx context.Context, value float64, labels ...label.KeyValue) {
valuerecorder.go#L83: func (c Int64ValueRecorder) Record(ctx context.Context, value int64, labels ...label.KeyValue) {
go.opentelemetry.io/otel/api/metric/registry
registry.go#L78: func (u *uniqueInstrumentMeterImpl) RecordBatch(ctx context.Context, labels []label.KeyValue, ms ...metric.Measurement) {
go.opentelemetry.io/otel/api/trace
api.go#L106: AddEvent(ctx context.Context, name string, attrs ...label.KeyValue)
api.go#L109: AddEventWithTimestamp(ctx context.Context, timestamp time.Time, name string, attrs ...label.KeyValue)
api.go#L134: SetAttributes(...label.KeyValue)
api.go#L146: Attributes []label.KeyValue
api.go#L167: Attributes []label.KeyValue
api.go#L235: func WithAttributes(attrs ...label.KeyValue) StartOption {
api.go#L262: func LinkedTo(sc SpanContext, attrs ...label.KeyValue) StartOption {
noop_span.go#L49: func (NoopSpan) SetAttributes(attributes ...label.KeyValue) {
noop_span.go#L70: func (NoopSpan) AddEvent(ctx context.Context, name string, attrs ...label.KeyValue) {
noop_span.go#L74: func (NoopSpan) AddEventWithTimestamp(ctx context.Context, timestamp time.Time, name string, attrs ...label.KeyValue) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |