[CSHARP-3082] Publish performance counters using EventSource API Created: 29/Apr/20  Updated: 31/Mar/22

Status: Backlog
Project: C# Driver
Component/s: Diagnostics
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Seif Attar Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible

 Description   

The driver currently provider performance counters on windows but there is no equivalent if running on .net core on linux.

 

Ideally it would use the EventCounters api and EventSource, similar to what is in npgsql driver. Then those counters would be available on all platforms ().

 

I had a look at the driver code and I think I can have a go at this hopefully re-using the existing code and recorders.

 

Alternatively I could implement the IEventSubscriber in a different package.

 

Let me know if I should look into implementing this some more and I'm happy to take it on.


Generated at Wed Feb 07 21:44:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.