Devart and application insights

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
vmakkenz
Posts: 21
Joined: Tue 26 Aug 2008 13:30

Devart and application insights

Post by vmakkenz » Mon 29 Jul 2019 08:35

Hi,

Is there a way to get Devart calls to show up in application insights as dependency calls?
I would love to see all sqlstatements from dbmonitor with timing in azure .

Regards,

Valentijn

vmakkenz
Posts: 21
Joined: Tue 26 Aug 2008 13:30

Re: Devart and application insights

Post by vmakkenz » Mon 29 Jul 2019 14:00

All I needed to do was add an EventHandler to OracleMonitor.TraceEvent

Shalex
Site Admin
Posts: 9122
Joined: Thu 14 Aug 2008 12:44

Re: Devart and application insights

Post by Shalex » Mon 29 Jul 2019 15:26

That is correct.

To trace SQL events in Application Insights via dotConnect for Oracle, you should:
* create MonitorEventHandler to get SQL events
* send SQL event information to Application Insights or some other logging system

Also, you can trace the database activity via our tool dbMonitor (documentation, download link).

Post Reply