1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-12 02:28:07 +02:00
opentelemetry-go/attribute
Anthony Mirabella eaacfaa801
Fix slice-valued attributes when used as map keys (#2223)
* Fix slice-valued attributes when used as map keys

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* store pointers to slice values to make them usable as map keys

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* Emit slice-typed attribute values as slices, not pointers to slices

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-09-09 08:42:47 -07:00
..
benchmark_test.go Deprecate Array attribute in favor of *Slice types (#2162) 2021-08-12 08:05:42 -07:00
doc.go Pre-release 1.0.0-RC1 (#2013) 2021-06-18 11:22:16 -04:00
encoder.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05:00
iterator_test.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05:00
iterator.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05:00
key_test.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05:00
key.go Deprecate Array attribute in favor of *Slice types (#2162) 2021-08-12 08:05:42 -07:00
kv_test.go Comply with OpenTelemetry attributes specification (#1703) 2021-03-17 20:48:43 -04:00
kv.go Deprecate the attribute.Any function (#2181) 2021-08-13 08:57:33 -07:00
set_test.go Rename otel/label -> otel/attribute (#1541) 2021-02-18 12:59:37 -05:00
set.go remove Set.Encoded(Encoder) enconding cache (#1855) 2021-04-29 11:28:04 -07:00
type_string.go Deprecate Array attribute in favor of *Slice types (#2162) 2021-08-12 08:05:42 -07:00
value_test.go Deprecate Array attribute in favor of *Slice types (#2162) 2021-08-12 08:05:42 -07:00
value.go Fix slice-valued attributes when used as map keys (#2223) 2021-09-09 08:42:47 -07:00