Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,3 @@
The OpenTelemetry SDK package is an implementation of the OpenTelemetry
API
"""
from . import metrics, trace, util
Comment thread
aabmass marked this conversation as resolved.

__all__ = ["metrics", "trace", "util"]
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
import threading
from typing import Sequence

from . import MetricRecord, MetricsExporter, MetricsExportResult
from opentelemetry.sdk.metrics.export import (
MetricRecord,
MetricsExporter,
MetricsExportResult,
)


class InMemoryMetricsExporter(MetricsExporter):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@

from opentelemetry.configuration import Configuration
from opentelemetry.context import attach, detach, set_value
from opentelemetry.sdk.trace import Span, SpanProcessor
from opentelemetry.util import time_ns

from .. import Span, SpanProcessor

logger = logging.getLogger(__name__)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
import threading
import typing

from .. import Span
from . import SpanExporter, SpanExportResult
Comment thread
aabmass marked this conversation as resolved.
from opentelemetry.sdk.trace import Span
from opentelemetry.sdk.trace.export import SpanExporter, SpanExportResult


class InMemorySpanExporter(SpanExporter):
Expand Down