1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-04 09:43:23 +02:00
opentelemetry-go/attribute
Tyler Yahn 69611bd01a
Switch Stream back to having an AttributeFilter field and add New*Filter functions (#4444)
* Add allow/deny attr filters

* Revert "Replace `Stream.AttributeFilter` with `AllowAttributeKeys` (#4288)"

This reverts commit 1633c74aea.

* Rename new attr filter funcs

Do not include the term "Attribute" in a creation function of the
"attribute" pkg.

* Update the AttributeFilter field documentation

* Add tests for filter creation funcs

* Add change to changelog

* Apply feedback

* Use NewDenyKeysFilter for allow-all and deny-list filters

* Remove links from field docs

These links do not render.

---------

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
2023-08-25 07:39:43 -07:00
..
benchmark_test.go Remove deprecated Array from attribute package (#2235) 2021-09-10 11:51:02 -04:00
doc.go Prerelease v1.0.0 (#2250) 2021-09-20 13:02:46 -07:00
encoder.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
filter_test.go Switch Stream back to having an AttributeFilter field and add New*Filter functions (#4444) 2023-08-25 07:39:43 -07:00
filter.go Switch Stream back to having an AttributeFilter field and add New*Filter functions (#4444) 2023-08-25 07:39:43 -07:00
iterator_test.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
iterator.go Replace use of old term label with attribute (#2790) 2022-04-18 07:31:31 -07:00
key_test.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05:00
key.go Remove deprecated Array from attribute package (#2235) 2021-09-10 11:51:02 -04:00
kv_test.go Make the AsType functions not panic (#3489) 2022-11-25 15:27:47 -08:00
kv.go refactor: use Key's Defined method (#2593) 2022-02-10 19:41:34 -05:00
set_test.go Guard zero value Set methods (#3957) 2023-04-04 08:06:10 -07:00
set.go Switch Stream back to having an AttributeFilter field and add New*Filter functions (#4444) 2023-08-25 07:39:43 -07:00
type_string.go Bump github.com/jcchavezs/porto from 0.2.1 to 0.3.0 in /internal/tools (#2288) 2021-10-15 11:36:56 -07:00
value_test.go attribute: fix slice related function bug (#3252) 2022-10-13 09:34:02 -05:00
value.go Refactor package internal/attribute to not use generics. (#3725) 2023-02-15 10:37:07 -08:00