Commit 042ea74
Merge | Merge metrics/performance counter methodology (#3251)
* Merge event counters and performance counters
Move functionality into a new Microsoft.Data.SqlClient.Diagnostics.SqlClientMetrics type. This common interface encapsulates both event counters and performance counters.
* Correct null coalescing behaviour
* Widened existing EventCounter tests to include PerformanceCounters
* Merge into one file, reduce conditional compilation branches
* Account for the removal of InternalsVisibleTo
---------
Co-authored-by: Ben Russell <[email protected]>1 parent e4ff371 commit 042ea74
File tree
14 files changed
+836
-1199
lines changed- src/Microsoft.Data.SqlClient
- netcore/src
- Microsoft/Data/SqlClient
- netfx/src
- Microsoft/Data/SqlClient
- src/Microsoft/Data
- ProviderBase
- SqlClient
- ConnectionPool
- Diagnostics
- tests/ManualTests
- TracingTests
14 files changed
+836
-1199
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
230 | 233 | | |
231 | 234 | | |
232 | 235 | | |
| |||
745 | 748 | | |
746 | 749 | | |
747 | 750 | | |
748 | | - | |
749 | 751 | | |
750 | 752 | | |
751 | 753 | | |
| |||
0 commit comments