Skip to content

Is it intended that new copies of MetricContext retain error details #74

Open
@awsbillz

Description

@awsbillz

Am using and extending the MetricsLogger and discovered that error details also get copied to fresh MetricsContext objects. Is it the intended behavior for all properties, including error details to be carried forward on new and copied MetricsContext objects?

https://github.com/awslabs/aws-embedded-metrics-python/blob/master/aws_embedded_metrics/logger/metrics_logger.py#L104
https://github.com/awslabs/aws-embedded-metrics-python/blob/master/aws_embedded_metrics/logger/metrics_context.py#L127

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions