File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
opentelemetry-api/src/opentelemetry/metrics/_internal
opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -430,6 +430,7 @@ def create_histogram(
430430 name : str ,
431431 unit : str = "" ,
432432 description : str = "" ,
433+ * ,
433434 explicit_bucket_boundaries_advisory : Optional [Sequence [float ]] = None ,
434435 ) -> Histogram :
435436 """Creates a :class:`~opentelemetry.metrics.Histogram` instrument
@@ -578,6 +579,7 @@ def create_histogram(
578579 name : str ,
579580 unit : str = "" ,
580581 description : str = "" ,
582+ * ,
581583 explicit_bucket_boundaries_advisory : Optional [Sequence [float ]] = None ,
582584 ) -> Histogram :
583585 with self ._lock :
@@ -586,7 +588,7 @@ def create_histogram(
586588 name ,
587589 unit ,
588590 description ,
589- explicit_bucket_boundaries_advisory ,
591+ explicit_bucket_boundaries_advisory = explicit_bucket_boundaries_advisory ,
590592 )
591593 proxy = _ProxyHistogram (
592594 name , unit , description , explicit_bucket_boundaries_advisory
@@ -743,6 +745,7 @@ def create_histogram(
743745 name : str ,
744746 unit : str = "" ,
745747 description : str = "" ,
748+ * ,
746749 explicit_bucket_boundaries_advisory : Optional [Sequence [float ]] = None ,
747750 ) -> Histogram :
748751 """Returns a no-op Histogram."""
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ def create_histogram(
199199 name : str ,
200200 unit : str = "" ,
201201 description : str = "" ,
202+ * ,
202203 explicit_bucket_boundaries_advisory : Optional [Sequence [float ]] = None ,
203204 ) -> APIHistogram :
204205 if explicit_bucket_boundaries_advisory is not None :
You can’t perform that action at this time.
0 commit comments