Skip to content

Commit

Permalink
Use custom Attributes object for sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek378521 committed Jul 3, 2024
1 parent e320a9e commit c3e33d7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
from opentelemetry.sdk.resources import Resource
from opentelemetry.sdk.util.instrumentation import InstrumentationScope
from opentelemetry.util._once import Once
from opentelemetry.util.types import Attributes

_logger = getLogger(__name__)

Expand Down Expand Up @@ -518,7 +519,7 @@ def get_meter(
name: str,
version: Optional[str] = None,
schema_url: Optional[str] = None,
attributes: Optional[dict] = None,
attributes: Attributes = None,
) -> Meter:

if self._disabled:
Expand Down

0 comments on commit c3e33d7

Please sign in to comment.