mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-12 10:04:29 +02:00
670b0365d8
This is to make tag.Map an immutable type, so it is safe to use concurrently. The safety is not yet fully achieved because of the functions returning contents of the map (Value and Foreach). The functions give callers an access to core.Value objects, which contain a byte slice, which has pointer like semantics. So to avoid accidental changes, we will need to copy the value if it is of BYTES type. Fixes #59 |
||
---|---|---|
.. | ||
internal | ||
basetypes.go | ||
benchmark_test.go | ||
config_test.go | ||
config.go | ||
doc.go | ||
evictedqueue_test.go | ||
evictedqueue.go | ||
examples_test.go | ||
export.go | ||
id_generator.go | ||
lrumap.go | ||
sampling.go | ||
span.go | ||
trace_go11.go | ||
trace_nongo11.go | ||
trace_test.go | ||
trace.go | ||
tracer.go |