Skip to content

Commit

Permalink
Make necessary metrics API symbols private
Browse files Browse the repository at this point in the history
Fixes #2622
  • Loading branch information
ocelotl committed Apr 20, 2022
1 parent faf8868 commit eec8162
Show file tree
Hide file tree
Showing 13 changed files with 1,085 additions and 973 deletions.
2 changes: 1 addition & 1 deletion docs/api/metrics.instrument.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
opentelemetry._metrics.instrument
=================================

.. automodule:: opentelemetry._metrics.instrument
.. automodule:: opentelemetry._metrics._instrument
:members:
:private-members:
:undoc-members:
Expand Down
2 changes: 1 addition & 1 deletion docs/api/metrics.observation.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
opentelemetry._metrics.observation
==================================

.. automodule:: opentelemetry._metrics.observation
.. automodule:: opentelemetry._metrics._observation
:members:
:undoc-members:
:show-inheritance:
4 changes: 2 additions & 2 deletions docs/api/metrics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ opentelemetry._metrics package

.. warning::
OpenTelemetry Python metrics are in an experimental state. The APIs within
:mod:`opentelemetry._metrics` are subject to change in minor/patch releases and make no
:mod:`opentelemetry._metrics.___init__` are subject to change in minor/patch releases and make no
backward compatability guarantees at this time.

Once metrics become stable, this package will be be renamed to ``opentelemetry.metrics``.
Expand All @@ -19,4 +19,4 @@ Submodules
Module contents
---------------

.. automodule:: opentelemetry._metrics
.. automodule:: opentelemetry._metrics.___init__
Loading

0 comments on commit eec8162

Please sign in to comment.