Skip to content

Commit

Permalink
Merge pull request #245 from tsloughter/rc2-ready
Browse files Browse the repository at this point in the history
couple things I caught while starting to publish RC2
  • Loading branch information
tsloughter authored May 4, 2021
2 parents 9274cdb + f62343d commit ac4bae7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/opentelemetry/rebar.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{erl_opts, [debug_info]}.
{deps, [{opentelemetry_api, "~> 1.0.0-rc.1"}]}.
{deps, [{opentelemetry_api, "~> 1.0.0-rc.2"}]}.
2 changes: 2 additions & 0 deletions apps/opentelemetry_api/lib/open_telemetry/ctx.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ defmodule OpenTelemetry.Ctx do
`OpenTelemetry.Baggage` handle updating the Context.
"""

@type t() :: :otel_ctx.t()

defdelegate new(), to: :otel_ctx
defdelegate attach(ctx), to: :otel_ctx
defdelegate detach(token), to: :otel_ctx
Expand Down
2 changes: 1 addition & 1 deletion apps/opentelemetry_api/lib/open_telemetry/tracer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ defmodule OpenTelemetry.Tracer do
end

@doc """
Takes a `t:OpenTelemetry.ctx/0` and the `t:OpenTelemetry.span_ctx/0` and the Tracer sets
Takes a `t:OpenTelemetry.Ctx.t/0` and the `t:OpenTelemetry.span_ctx/0` and the Tracer sets
it to the current span in the pass Context.
"""
def set_current_span(ctx, span_ctx) do
Expand Down

0 comments on commit ac4bae7

Please sign in to comment.