Raise a connection error if status code 200 is not returned
Problem
Right now we only check status codes for ResourceMetric instead of for all metrics.
Solution
Raise a connection error in the BaseMetric class's hit_metric method to be handled by the apply_metric_and_store_data method and print the error to stdout.
Raise a connection error if status code 200 is not returned
Problem
Right now we only check status codes for ResourceMetric instead of for all metrics.
Solution
Raise a connection error in the BaseMetric class's hit_metric method to be handled by the apply_metric_and_store_data method and print the error to stdout.