Skip to content

Commit f587610

Browse files
authored
Merge pull request #728 from whatyouhide/al/otel-docs
Group and hide modules in "opentelemetry" app
2 parents cf12a3c + 5132d62 commit f587610

File tree

8 files changed

+29
-15
lines changed

8 files changed

+29
-15
lines changed

apps/opentelemetry/docs.config

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,24 @@
22
{extras, [<<"apps/opentelemetry/README.md">>, <<"apps/opentelemetry/LICENSE">>, <<"VERSIONING.md">>]}.
33
{main, <<"readme">>}.
44
{proglang, erlang}.
5+
{groups_for_modules, [
6+
{'Span', [otel_span_ets,
7+
otel_span_limits,
8+
otel_span_sweeper]},
9+
{'Span Processing', [otel_span_processor,
10+
otel_simple_processor,
11+
otel_batch_processor]},
12+
{'Exporter', [otel_exporter,
13+
otel_exporter_pid,
14+
otel_exporter_stdout,
15+
otel_exporter_tab]},
16+
{'Resource', [otel_resource,
17+
otel_resource_detector,
18+
otel_resource_app_env,
19+
otel_resource_env_var]},
20+
{'Sampling', [otel_sampler,
21+
otel_sampler_always_on,
22+
otel_sampler_always_off,
23+
otel_sampler_parent_based,
24+
otel_sampler_trace_id_ratio_based]}
25+
]}.

apps/opentelemetry/src/opentelemetry_app.erl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
%% See the License for the specific language governing permissions and
1313
%% limitations under the License.
1414
%%
15-
%% @doc
16-
%% @end
15+
%% @private
1716
%%%-------------------------------------------------------------------------
1817
-module(opentelemetry_app).
1918

apps/opentelemetry/src/opentelemetry_sup.erl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
%% See the License for the specific language governing permissions and
1313
%% limitations under the License.
1414
%%
15-
%% @doc
16-
%% @end
15+
%% @private
1716
%%%-------------------------------------------------------------------------
1817
-module(opentelemetry_sup).
1918

apps/opentelemetry/src/otel_configuration.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
%% See the License for the specific language governing permissions and
1313
%% limitations under the License.
1414
%%
15-
%% @doc Merges environment variable configuration values with application
15+
%% Merges environment variable configuration values with application
1616
%% configuration. The OS environment variables take precedence over the
1717
%% application environment.
18-
%% @end
18+
%% @private
1919
%%%-------------------------------------------------------------------------
2020
-module(otel_configuration).
2121

apps/opentelemetry/src/otel_span_sup.erl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
%% See the License for the specific language governing permissions and
1313
%% limitations under the License.
1414
%%
15-
%% @doc
16-
%% @end
15+
%% @private
1716
%%%-------------------------------------------------------------------------
1817
-module(otel_span_sup).
1918

apps/opentelemetry/src/otel_span_utils.erl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
%% See the License for the specific language governing permissions and
1313
%% limitations under the License.
1414
%%
15-
%% @doc
16-
%% Functional interface for span_ctx and span records.
17-
%% @end
15+
%% @private
1816
%%%-------------------------------------------------------------------------
1917
-module(otel_span_utils).
2018

apps/opentelemetry/src/otel_tracer_provider_sup.erl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
%% See the License for the specific language governing permissions and
1313
%% limitations under the License.
1414
%%
15-
%% @doc
16-
%% @end
15+
%% @private
1716
%%%-------------------------------------------------------------------------
1817
-module(otel_tracer_provider_sup).
1918

apps/opentelemetry/src/otel_tracer_server_sup.erl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
%% See the License for the specific language governing permissions and
1313
%% limitations under the License.
1414
%%
15-
%% @doc
16-
%% @end
15+
%% @private
1716
%%%-------------------------------------------------------------------------
1817
-module(otel_tracer_server_sup).
1918

0 commit comments

Comments
 (0)