Closed Bug 1201063 Opened 9 years ago Closed 1 year ago

Get the Amazon RDS instance used by Heroku reporting to New Relic

Categories

(Tree Management :: Treeherder: Infrastructure, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: emorley, Unassigned)

References

Details

...or alternatively set up some RDS alerts using the Amazon dashboard in the meantime.
In the meantime I've set up a CloudWatch alert for if there is <20GB free space on RDS.
As an alternative, we can enable RDS's new enhanced monitoring feature, which feeds into cloudwatch:
https://aws.amazon.com/blogs/aws/new-enhanced-monitoring-for-amazon-rds-mysql-5-6-mariadb-and-aurora/

I'm unable to switch it on now, since I don't have enough permissions.
(In reply to Ed Morley [:emorley] from comment #2)
> As an alternative, we can enable RDS's new enhanced monitoring feature,
> which feeds into cloudwatch:
> https://aws.amazon.com/blogs/aws/new-enhanced-monitoring-for-amazon-rds-
> mysql-5-6-mariadb-and-aurora/
> 
> I'm unable to switch it on now, since I don't have enough permissions.

Enabled enhanced monitoring on both the treeherder-heroku and treeherder-stage instances.
The treeherder-stage RDS instance event log says:

Amazon RDS has been unable to create credentials for enhanced monitoring and this feature has been disabled. This is likely due to the rds-monitoring-role not being present and configured correctly in your account. Please refer to the troubleshooting section in the Amazon RDS documentation for further details.

Was this before all the changes were made, and as such can be ignored? :-)
Blocks: 1059325
Are we cool with cloudwatch, or do we still want to look at getting RDS data into newrelic?
Flags: needinfo?(emorley)
Bug 1306597 is now for the CloudWatch alerts, I guess it depends on how useful we think the MySQL-specific stats (like breakdown of SELECTS vs ... and things like temp table counts, innodb mutexes etc) are.

We have some of them at the app level in NR, via the python agent, but it doesn't have everything.

If we were to do this, it would mean running an EC2 instance somewhere that used the third party NR MySQL plugin to poll the RDS instances and report to NR.

Perhaps just not worth the hassle?
Flags: needinfo?(emorley)
This would have sped up the diagnosis of bug 1386331.
Priority: P3 → P2
Blocks: 1386331
Priority: P2 → P3

cleaning up old bugs we haven't fixed

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.