type go.opentelemetry.io/otel/attribute.Key
30 uses
go.opentelemetry.io/otel/attribute (current package)
filter.go#L28: func NewAllowKeysFilter(keys ...Key) Filter {
filter.go#L33: allowed := make(map[Key]struct{})
filter.go#L47: func NewDenyKeysFilter(keys ...Key) Filter {
filter.go#L52: forbid := make(map[Key]struct{})
key.go#L19: type Key string
key.go#L25: func (k Key) Bool(v bool) KeyValue {
key.go#L36: func (k Key) BoolSlice(v []bool) KeyValue {
key.go#L47: func (k Key) Int(v int) KeyValue {
key.go#L58: func (k Key) IntSlice(v []int) KeyValue {
key.go#L69: func (k Key) Int64(v int64) KeyValue {
key.go#L80: func (k Key) Int64Slice(v []int64) KeyValue {
key.go#L91: func (k Key) Float64(v float64) KeyValue {
key.go#L102: func (k Key) Float64Slice(v []float64) KeyValue {
key.go#L113: func (k Key) String(v string) KeyValue {
key.go#L124: func (k Key) StringSlice(v []string) KeyValue {
key.go#L132: func (k Key) Defined() bool {
kv.go#L23: Key Key
kv.go#L34: return Key(k).Bool(v)
kv.go#L39: return Key(k).BoolSlice(v)
kv.go#L44: return Key(k).Int(v)
kv.go#L49: return Key(k).IntSlice(v)
kv.go#L54: return Key(k).Int64(v)
kv.go#L59: return Key(k).Int64Slice(v)
kv.go#L64: return Key(k).Float64(v)
kv.go#L69: return Key(k).Float64Slice(v)
kv.go#L74: return Key(k).String(v)
kv.go#L79: return Key(k).StringSlice(v)
kv.go#L85: return Key(k).String(v.String())
set.go#L109: func (l *Set) Value(k Key) (Value, bool) {
set.go#L130: func (l *Set) HasValue(k Key) bool {
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |