Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit 8100e26

Browse files
RobReusrmfitzpatrick
authored andcommitted
Corrected wrong decorator name (#20)
@signalfx_lambda.emit_metrics should be @signalfx_lambda.emits_metrics
1 parent 6203bbd commit 8100e26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ Wrapping a function
7979

8080
There are two wrappers provided.
8181

82-
For metrics, decorate your handler with @signalfx_lambda.emit_metrics
82+
For metrics, decorate your handler with @signalfx_lambda.emits_metrics
8383

8484
::
8585

8686
import signalfx_lambda
8787

88-
@signalfx_lambda.emit_metrics
88+
@signalfx_lambda.emits_metrics
8989
def handler(event, context):
9090
# your code
9191

0 commit comments

Comments
 (0)