The performance configuration section controls Windows Performance Counter configuration.
| Configuration Type | Path |
|---|---|
| JSON File | Loupe.Performance |
| Environment Variable Prefix | Loupe__Performance |
| Option | Description | Default Value | Required |
|---|---|---|---|
| Enabled | When true, Loupe will record performance counter data. | true | false |
| EnableDiskMetrics |
When true, disk performance information will be automatically captured. |
true | false |
| EnableMemoryMetrics |
When true, extended .NET memory utilization information will be automatically captured. |
true | false |
| EnableNetworkMetrics |
When true, network performance information will be automatically captured.
|
true | false |
| EnableProcessMetrics | When true, process performance information will be automatically captured for the current process. | true | false |
| EnableSystemMetrics | When true, system performance information will be automatically captured. | true | false |
| Performance Configuration |
Copy Code
|
|---|---|
{
"Loupe": {
"Publisher": {
"ProductName": "AspNetCore2.Sandbox",
"ApplicationName": "Test",
"ApplicationType": "AspNet",
"ApplicationVersionNumber": "1.0.1"
},
"Performance": {
"EnableDiskMetrics" : false
}
}
}
|
|
| Environment Configuration |
Copy Code
|
|---|---|
Loupe__Performance__EnableDiskMetrics=False |
|