plexus.plexus_logging.Cloudwatch module
- class plexus.plexus_logging.Cloudwatch.CloudWatchLogger(namespace='Plexus')
Bases:
object
- __init__(namespace='Plexus')
- log_metric(metric_name, metric_value, dimensions)
Log a metric to CloudWatch with the specified dimensions.
- Args:
metric_name (str): Name of the metric metric_value (float): Value of the metric dimensions (dict): Dictionary of dimension names and values