Skip to content

Commit 420cdab

Browse files
committed
revert change
Signed-off-by: alex boten <[email protected]>
1 parent 30c4638 commit 420cdab

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

otelconf/metric.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,10 @@ func newIncludeExcludeFilter(lists *IncludeExclude) (attribute.Filter, error) {
335335
return false
336336
}
337337

338+
if len(included) == 0 {
339+
return true
340+
}
341+
338342
_, ok := included[kv.Key]
339343
return ok
340344
}, nil

0 commit comments

Comments
 (0)