Skip to content

[Question] warnings.filterwarnings("ignore", "No metrics to publish*"). Document metric/logger testing #161

Closed
@patrickwerz

Description

@patrickwerz

Hi guys,
thanks for this great tool. Unfortunately, I have some problems with the metric functionality. I get the following exception.
[ERROR] SchemaValidationError: Invalid format. Error: data._aws.CloudWatchMetrics[0].Dimensions[0] must contain at least 1 items, Invalid item

The documentation states that you can suppress this error with "warnings.filterwarnings("ignore", "No metrics to publish*")" . Unfortunately, I still get this Exception.
Where in my code do I have to put the filterwarning to get my handler working?
Thanks in advance,
Patrick

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

Status

Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions