16 Dec 2017 06:36 AM - last edited on 18 Oct 2022 12:43 PM by MaciejNeumann
Hi
In AppMon, for example, we have possibility to run custom SQL queries to get some business metrics from SQLSever or some database. AppMon runs them periodically and we can create dashboards based on those custom metrics.
Can we do the same thing with Dynatrace SaaS, if yes how it is done?
thanks
br,
Farid
Solved! Go to Solution.
18 Dec 2017 07:35 AM
This is (currently) not possible. Only possible approach I know about is to use oneagent plugin using SDK to fetch your custom metrics. Since you are referring to running custom SQL, you will need to handle all aspects such as connection, running SQL and returning results. You will also need to manually configure connection parameters for the plugin, as you can't retrieve this information from running applications.
18 Dec 2017 07:50 AM
@Julius L. can we push custom metrics at least via some API?
18 Dec 2017 08:39 AM
Sure, you can. Use the custom metrics api. There are some limits such as number of allowed metrics.