Skip to content

Commit

Permalink
Update opentelemetry-sdk/src/opentelemetry/sdk/_metrics/aggregation.py
Browse files Browse the repository at this point in the history
Co-authored-by: Srikanth Chekuri <[email protected]>
  • Loading branch information
ocelotl and srikanthccv authored Feb 3, 2022
1 parent 2c8b73e commit 8bdbe49
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ def collect(self) -> Optional[Histogram]:


def _convert_aggregation_temporality(
previous_point: Optional[_PointVarT],
current_point: _PointVarT,
aggregation_temporality: AggregationTemporality,
current_point: _PointVarT,
previous_point: Optional[_PointVarT] = None,
) -> _PointVarT:
"""Converts `current_point` to the requested `aggregation_temporality`
given the `previous_point`.
Expand Down

0 comments on commit 8bdbe49

Please sign in to comment.