Skip to content

Commit

Permalink
Merge branch 'main' into website_docs-instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tsloughter authored May 8, 2021
2 parents a94c96e + ac4bae7 commit 94b08c6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 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: 1 addition & 1 deletion apps/opentelemetry_api/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0-rc.1
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 94b08c6

Please sign in to comment.