Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7a8ef36

Browse files
author
Alex Boten
authored
opentelemetry-api: update OTEL_METRICS_EXPORTER variable (open-telemetry#2303)
* opentelemetry-api: update OTEL_METRICS_EXPORTER variable Fixes open-telemetry#2302 * Update CHANGELOG.md * fix lint
1 parent 80f5a20 commit 7a8ef36

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
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+
([#2303](https://github.com/open-telemetry/opentelemetry-python/pull/2303))
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 & 6 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
@@ -41,9 +47,3 @@
4147
"""
4248
.. envvar:: OTEL_PYTHON_METER_PROVIDER
4349
"""
44-
45-
_OTEL_METRICS_EXPORTER = "OTEL_METRICS_EXPORTER"
46-
"""
47-
.. envvar:: OTEL_METRICS_EXPORTER
48-
49-
"""

0 commit comments

Comments
 (0)