-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
It seems that in the latest update (2.0.0), metrics are no longer emitting to cloudwatch. As well the current "How to use" is no longer functional and outdated.
fn main() {
let metrics_builder = metrics_cloudwatch::Builder::new();
metrics_builder =
metrics_cloudwatch::Builder::cloudwatch_namespace(metrics_builder, "namespace");
init_thread(metrics_builder, metrics::set_boxed_recorder).unwrap();
metrics::counter!("ErrorCount", 1);
}Whereas in this previous iteration the following will work:
metrics = "0.16"
metrics_cloudwatch = "0.15.0"
fn main() {
metrics_cloudwatch::builder(metrics_cloudwatch::Region::default())
.cloudwatch_namespace("namespace")
.init_thread(metrics::set_boxed_recorder)
.unwrap();
metrics::counter!("ErrorCount", 1);
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels