Skip to content

Commit da90ce6

Browse files
committed
opentelemetry-api: update OTEL_METRICS_EXPORTER variable
Fixes open-telemetry#2302
1 parent 80f5a20 commit da90ce6

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
- Adds Aggregation and instruments as part of Metrics SDK
1010
([#2234](https://github.com/open-telemetry/opentelemetry-python/pull/2234))
11+
- Update visibility of OTEL_METRICS_EXPORTER environment variable
12+
()
1113

1214
## [1.7.1-0.26b1](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.7.0-0.26b0) - 2021-11-11
1315

opentelemetry-api/src/opentelemetry/environment_variables.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
OTEL_METRICS_EXPORTER = "OTEL_METRICS_EXPORTER"
16+
"""
17+
.. envvar:: OTEL_METRICS_EXPORTER
18+
19+
"""
20+
1521
OTEL_PROPAGATORS = "OTEL_PROPAGATORS"
1622
"""
1723
.. envvar:: OTEL_PROPAGATORS
@@ -42,8 +48,3 @@
4248
.. envvar:: OTEL_PYTHON_METER_PROVIDER
4349
"""
4450

45-
_OTEL_METRICS_EXPORTER = "OTEL_METRICS_EXPORTER"
46-
"""
47-
.. envvar:: OTEL_METRICS_EXPORTER
48-
49-
"""

0 commit comments

Comments
 (0)