1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-04 09:43:23 +02:00
opentelemetry-go/api
Krzesimir Nowak 8ebc7bbad0
Name context functions consistently (#481)
It would be nice to follow a single schema for naming context
functions. In the trace package we followed the form FooFromContext
and ContextWithFoo. Do the same in the correlation package. The schema
WithFoo is mainly used for functions following the options pattern.

Not sure about a name of the NewContext function, though. For now I
have left it alone.

Co-authored-by: Rahul Patel <rghetia@yahoo.com>
2020-02-27 09:10:52 -08:00
..
core Add comments and test for 64-bit field alignment (#418) 2020-01-06 13:08:40 -05:00
correlation Name context functions consistently (#481) 2020-02-27 09:10:52 -08:00
global Fix a possible nil-dereference crash (#478) 2020-02-20 13:05:19 -08:00
key Namespace import path under "/otel" (#274) 2019-11-01 11:40:29 -07:00
metric Update metric types to not use pointer receivers (#462) 2020-02-04 10:27:03 -08:00
propagation Refactor propagators (#467) 2020-02-13 23:16:04 -08:00
testharness Replace span relationship with a potentially remote parent context (#451) 2020-02-04 08:55:03 -08:00
trace Move correlation context propagation to correlation package (#479) 2020-02-20 10:31:21 -08:00
unit Namespace import path under "/otel" (#274) 2019-11-01 11:40:29 -07:00