Skip to content

Commit 25b70a3

Browse files
Changing metrics flush decision
1 parent 8b8bc8c commit 25b70a3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

aws_lambda_powertools/metrics/functions.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from __future__ import annotations
22

3-
import logging
43
import os
54
from datetime import datetime
65

@@ -12,8 +11,6 @@
1211
from aws_lambda_powertools.shared import constants
1312
from aws_lambda_powertools.shared.functions import strtobool
1413

15-
logger = logging.getLogger(__name__)
16-
1714

1815
def extract_cloudwatch_metric_resolution_value(metric_resolutions: list, resolution: int | MetricResolution) -> int:
1916
"""Return metric value from CloudWatch metric unit whether that's str or MetricResolution enum

0 commit comments

Comments
 (0)