File tree 3 files changed +2
-3
lines changed
3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ You can also pass a service name via `service` param or `POWERTOOLS_SERVICE_NAME
39
39
from aws_lambda_powertools.metrics import Metrics, MetricUnit
40
40
41
41
# POWERTOOLS_METRICS_NAMESPACE and POWERTOOLS_SERVICE_NAME defined
42
- metrics = Metrics() # highlight-line
42
+ metrics = Metrics() # highlight-line
43
43
44
44
# Explicit definition
45
45
Metrics(namespace = " ServerlessAirline" , service = " orders" ) # creates a default dimension {"service": "orders"} under the namespace "ServerlessAirline"
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ def lambda_handler(env_vars):
20
20
return app .lambda_handler
21
21
22
22
23
-
24
23
@pytest .fixture ()
25
24
def apigw_event ():
26
25
""" Generates API GW Event"""
Original file line number Diff line number Diff line change 1
1
[pytest]
2
2
addopts = -ra --cov --cov-config =.coveragerc
3
- testpaths = ./tests ./example/tests
3
+ testpaths = ./tests ./example/tests
You can’t perform that action at this time.
0 commit comments