type go.opentelemetry.io/otel/attribute.Filter
7 uses
go.opentelemetry.io/otel/attribute (current package)
filter.go#L11: type Filter func(KeyValue) bool
filter.go#L17: func NewAllowKeysFilter(keys ...Key) Filter {
filter.go#L36: func NewDenyKeysFilter(keys ...Key) Filter {
set.go#L230: func NewSetWithFiltered(kvs []KeyValue, filter Filter) (Set, []KeyValue) {
set.go#L293: func NewSetWithSortableFiltered(kvs []KeyValue, _ *Sortable, filter Filter) (Set, []KeyValue) {
set.go#L301: func filteredToFront(slice []KeyValue, keep Filter) int {
set.go#L315: func (l *Set) Filter(re Filter) (Set, []KeyValue) {
 |
The pages are generated with Golds v0.8.4. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |