Is it intended that new copies of MetricContext retain error details
awsbillz opened this issue · 0 comments
awsbillz commented
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