dbm query monitoring for read replicas
See original GitHub issueThanks for the awesome dbm feature for database monitoring. We use a master/standby system where all the interesting stuff happens on the standby queries since they get the live traffic. I’m integrating the database monitoring and am curious how datadog’s DBM monitoring will work if pointed at a read replica?
If it’s pointed at a read replica, it will be unable to write to the datadog
schema. Does that mean query samples are not supported for read replicas? Any thoughts on how to get query samples for read replicas?
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Working with read replicas - AWS Documentation - Amazon.com
You can monitor the status of a read replica in several ways. The Amazon RDS console shows the status of a read replica...
Read more >Setting Up Database Monitoring for Amazon RDS managed ...
Database Monitoring provides deep visibility into your MySQL databases by exposing query metrics, query samples, explain plans, connection data, ...
Read more >Follower Reads | CockroachDB Docs
A follower read is performed on the nearest replica relative to the SQL gateway that is executing the SQL statement regardless of the...
Read more >RDS monitoring & Read Replicas #40 #HowTo - YouTube
In this video, we go over RDS monitoring metrics and events.We also see what are read replicas, how they are different from multi...
Read more >Optimising Performance with a Read-replica Database
Our use-case for the read-replica is to keep user-facing requests fast by directing less important queries to the read replica.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It does. Thanks so much @alexandre-normand !
You’re correct about the function. That said, there’s a simpler answer to this problem.
Usually, the setup steps which include creating the schema and function happen on the primary instance which then gets replicated to the replica and enables the agent integration to use the function (and schema along with access grants). So unless you don’t want to run the setup on the primary for some reason, you shouldn’t have issues getting the agent integration working.
Let me know if that helps clarify things!