It’s intended to be a drop-in replacement for the official MySql.Data connector (a big difference is the NuGet package name and DLL name).
After deploying it, the database performance recorded by NewRelic (e.g., at https://rpm.newrelic.com/accounts/X/applications/Y/databases) went to zero. This isn’t surprising, because NewRelic has no way of knowing that my
MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery method is actually accessing a database.
I would like the time spent executing queries through my connector to be recorded and reported by New Relic. Are there New Relic Agent API methods that I should integrate with? Or do the methods in my connector simply need to be recognised by the New Relic agent as DB calls? How can I help make this integration work?
Please share your agent version and other relevant versions below:
New Relic Agent: 188.8.131.52
Windows Server 2012 R2 x64