Skip to content

Commit e5ef817

Browse files
committed
Fixes
1 parent 4bc737a commit e5ef817

File tree

5 files changed

+19
-1
lines changed

5 files changed

+19
-1
lines changed

apps/opentelemetry/src/otel_sampler.erl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
%%
2020
%% For more information on the concept of <i>Sampling</i>, see
2121
%% <a href="https://opentelemetry.io/docs/concepts/sampling/">Sampling in the OpenTelemetry
22-
%% documentation</a>. For examples of configuring samplers or implementing your own sampler,
22+
%% documentation</a> or the
23+
%% <a href="https://opentelemetry.io/docs/specs/otel/trace/sdk/#sampling">Sampling spec</a>.
24+
%% For examples of configuring samplers or implementing your own sampler,
2325
%% see <a href="https://opentelemetry.io/docs/languages/erlang/sampling/">the OpenTelemetry
2426
%% Erlang documentation</a>.
2527
%% @end

apps/opentelemetry/src/otel_sampler_always_off.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
%% limitations under the License.
1414
%%
1515
%% @doc An {@link otel_sampler} that drops all spans.
16+
%%
17+
%% This is one of the
18+
%% <a href="https://opentelemetry.io/docs/specs/otel/trace/sdk/#built-in-samplers">built-in
19+
%% samplers</a> provided by the OpenTelemetry SDK.
1620
%% @end
1721
%%%-------------------------------------------------------------------------
1822
-module(otel_sampler_always_off).

apps/opentelemetry/src/otel_sampler_always_on.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
%% limitations under the License.
1414
%%
1515
%% @doc An {@link otel_sampler} that records and samples all spans.
16+
%%
17+
%% This is one of the
18+
%% <a href="https://opentelemetry.io/docs/specs/otel/trace/sdk/#built-in-samplers">built-in
19+
%% samplers</a> provided by the OpenTelemetry SDK.
1620
%% @end
1721
%%%-------------------------------------------------------------------------
1822
-module(otel_sampler_always_on).

apps/opentelemetry/src/otel_sampler_parent_based.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
%%
2626
%% For each of these cases a different sampler can be configured.
2727
%% For options, see {@link opts()}.
28+
%%
29+
%% This is one of the
30+
%% <a href="https://opentelemetry.io/docs/specs/otel/trace/sdk/#built-in-samplers">built-in
31+
%% samplers</a> provided by the OpenTelemetry SDK.
2832
%% @end
2933
%%%-------------------------------------------------------------------------
3034
-module(otel_sampler_parent_based).

apps/opentelemetry/src/otel_sampler_trace_id_ratio_based.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
%% This sampler samples a configured percentage of spans, where the sampling
1818
%% decision is <i>deterministic</i> with respect to the span trace ID. That means
1919
%% the sampler always makes the same decision for the same trace ID.
20+
%%
21+
%% This is one of the
22+
%% <a href="https://opentelemetry.io/docs/specs/otel/trace/sdk/#built-in-samplers">built-in
23+
%% samplers</a> provided by the OpenTelemetry SDK.
2024
%% @end
2125
%%%-------------------------------------------------------------------------
2226
-module(otel_sampler_trace_id_ratio_based).

0 commit comments

Comments
 (0)