Search…
⌃K
Links

Sharing database metrics with Tonic

You can automatically share database metrics from your source and destination databases with Tonic engineers in a secure and safe way.

How Tonic uses database metrics

Tonic uses the shared metrics to identify bottlenecks, troubleshoot issues, and optimize performance.
If do not share these metrics, then to diagnose performance issues, Tonic might require you to get these metrics manually. This takes longer and requires action from you.

What is shared

If you enable metrics sharing, Tonic gets the the associated CloudWatch metrics from your cloud provider for your database configuration.

What is not shared

The metrics do not contain any information related to the database connection itself, such as connection strings and passwords.
The metrics also do not include any information about the actual data in the database.

Setting up metrics sharing

Setting up Amazon CloudWatch for RDS or Aurora

To share CloudWatch metrics with Tonic, add the following permissions to the IAM role that is assigned to the EC2 instance that either runs Tonic directly or that powers the Kubernetes or EKS cluster that runs Tonic.
{
"Sid": "CloudwatchPerms",
"Effect": "Allow",
"Action": [
"cloudwatch:GetMetricData",
"cloudwatch:GetMetricStatistics",
"cloudwatch:ListMetrics",
"rds:DescribeDBInstances"
],
"Resource": ["*"]
}
If you do not want to share your database metrics, make sure that the EC2 instance does not have permissions to access CloudWatch metrics.