open-telemetry / opentelemetry-erlang-api

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

Add callbacks for getting the Resource from a tracer provider #40

Closed tsloughter closed 4 years ago

tsloughter commented 4 years ago

This change has made me think we'll want to move the genserver to the SDK and only have the callbacks in the API. But for now this provides a way for the Resource to be fetched so it can be used at span export time.