-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add rds metricset into aws module #11620
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.
This is looking good!, I left a few comments. Will try to test it today
I'm missing some unit testing here, any chance you can add some? |
@exekias Thanks for your review! This PR is only ready for some initial testing 😄 not fully done yet. Also some unit tests need to be added in the future and a dashboard. But comments/testing is always welcome for sure! |
ups sorry, I didn't notice the |
This can wait till #11882 is merged. |
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.
I haven't looked a lot around the code, only some comments about the dashboard. It looks great, but I'd show the number of connections and blocked transactions also as histograms, so you can see the evolution along the time period.
x-pack/metricbeat/module/aws/_meta/kibana/7/dashboard/Metricbeat-aws-rds-overview.json
Outdated
Show resolved
Hide resolved
} | ||
} | ||
}, | ||
"title": "AWS RDS Select Throughput", |
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.
Is queries per second the unit of these throughputs? We could probably consider Queries Per Second
visualization also throughput, but they have inconsistent titles. If all them are throughput in queries per second, could we use consistent naming like Throughput in queries per second
, Select throughput in queries per second
...
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.
Yes, the unit is Count/Second
which is the same as Queries per Second
:-) But I just realized this Queries
metric is only for Aurora-MySQL. I will remove this from the overview dashboard since it is not a general metric for all types of databases.
I haven't manually tested this but it LGTM |
I tested it plenty times 😬after all the rebasing haha |
This is the PR to implement #10054 to add
rds metricset
into aws module.rds metricset
queries AWS DescribeDBInstances to get a list of RDS for each region and loop through each RDS to query Cloudwatch for monitoring metrics.Also added an overview dashboard for RDS. It shows basic latency, throughput and queries information as well as if there are any blocked transactions and whats the number of database connections in use.
closes: #10054