Skip to content

Advice on local testing strategies #18

Closed
@peacing

Description

@peacing

Hello,

I'm experimenting with utilizing embedded metrics in my Lambda functions, which I usually test locally by passing in a sample event to the lambda handler function. This works well, but when using the aws_embedded_metrics package, i get the following error messagewhen running a put_metric call:

Failed to connect to the socket. [Errno 61] Connection refused
Failed to write metrics to the socket. [Errno 32] Broken pipe

Ideas on a way to more gracefully handle this?
Thank you,

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationin progressSomeone is actively working on this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions