Skip to content

Commit

Permalink
add new api functions to the elixir module
Browse files Browse the repository at this point in the history
  • Loading branch information
tsloughter committed Mar 25, 2021
1 parent da13b97 commit 5cfe8a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/opentelemetry_api/lib/open_telemetry/baggage.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ defmodule OpenTelemetry.Baggage do
"""

defdelegate set(keyvalues), to: :otel_baggage
defdelegate set(key, values), to: :otel_baggage
defdelegate set(ctx_or_key, keyvalues), to: :otel_baggage
defdelegate set(ctx, key, values), to: :otel_baggage
defdelegate get_all(), to: :otel_baggage
defdelegate get_all(ctx), to: :otel_baggage
defdelegate clear(), to: :otel_baggage
defdelegate clear(ctx), to: :otel_baggage
defdelegate get_text_map_propagators(), to: :otel_baggage
end

0 comments on commit 5cfe8a4

Please sign in to comment.