We have apache camel sftp route in application, Dynatrace is able to detect and provide us metrics related to file processing. But I am looking for a way to see the number of connections from our application to FTP server. If application is opening too many connections to Database or FTP server, is there a way to alert through Dynatrace?
In general yes. Apache camel is java application so you should be able to expose DB connection pool as JMX. Than you can use JMX editor in DT to create custom metric. For this custom metric you can define custom threshold. After reaching upper severe you will see alerts. I don't know if this is possible for SFTP connections, I suppose your developers should have such possibility. This will work the same.