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

Skip to content

Commit c120465

Browse files
alrexmauriciovasquezbernal
andauthored
Apply suggestions from code review
Co-authored-by: Mauricio Vásquez <[email protected]>
1 parent b914995 commit c120465

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

opentelemetry-sdk/src/opentelemetry/sdk/metrics/export/in_memory_metrics_exporter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919

2020

2121
class InMemoryMetricsExporter(MetricsExporter):
22-
""" Implementation of `MetricsExporter` thta stores metrics in memory.
22+
"""Implementation of `MetricsExporter` that stores metrics in memory.
23+
2324
This class can be used for testing purposes. It stores exported metrics
2425
in a list in memory that can be retrieved using the
2526
:func:`.get_exported_metrics` method.

tests/util/src/opentelemetry/test/test_base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ def create_tracer_provider(**kwargs):
7474

7575
@staticmethod
7676
def create_meter_provider(**kwargs):
77-
"""Helper to create a configure meter provider
77+
"""Helper to create a configured meter provider
78+
7879
Creates a `MeterProvider` and an `InMemoryMetricsExporter`.
7980
8081
Returns:

0 commit comments

Comments
 (0)