Custom Database Queries got deprecated and now we have the Extensions 2.0 but I’m not being able to monitor some query results with this extention.
Does anyone have a tip on how to do it?
You better be ready to create your own Extension for this:
Here’s what worked for me:
I was able to replicate the Custom Query DB extension from 1.0 to 2.0 after Dynatrace updated their docs.
Here are the pages I have used that helped me achieve this:
How to deploy your first extension using VSCode: https://developer.dynatrace.com/extensions-v2/dynatrace-extensions-vscode/guides/getting-started/
Sample Yaml to run DB queries: SQL data source reference — Dynatrace Docs
It was quite simple to be fair. I have not yet tested in production, but at least now I have the proper guidance.
In the next month or so we’re going to release an observability clinic Youtube video on how to do this as well. Good to hear that you managed yourself!