-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: fetch metrics for the dynamo and elasticache resources #303
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Left a few clarifying questions/nits
let metrics = | ||
query_metrics_for_target(&metrics_client, Arc::clone(&limiter), metric_target).await?; | ||
self.set_metrics(metrics); | ||
self.set_metric_period_seconds(60 * 60 * 24); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is 1 day right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is.
Change the get metadata functions for dynamo and elasticache to return a resource that will later be serialized into json. Add code for fetching metrics based on the dynamo and elasticache resources. Change the linter cli to print out the full json including the metrics.
Properly populate the region field in the resources.
Add progress bars/indicators for the different steps.
7527a71
to
f32a95f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the get metadata functions for dynamo and elasticache to return a resource that will later be serialized into json.
Add code for fetching metrics based on the dynamo and elasticache resources.
Change the linter cli to print out the full json including the metrics.