open-telemetry / opentelemetry-erlang-api

Erlang/Elixir OpenTelemetry API
Apache License 2.0
60 stars 13 forks source link

ctx api update and add optional explicit ctx argument to start span functions #83

Closed tsloughter closed 3 years ago

tsloughter commented 3 years ago

This PR contains a few things which I can split up if need be but the first couple commits are simple renaming of shit.

The last commit is about making context how you can pass a specific parent to start span. A corresponding PR will come for the SDK repo -- maybe I should merge the two repos together finally first -- that will remove the parent option from start_opts and instead only support taking the parent span from a context.