메소드 | 설명 | |
---|---|---|
CreateAndValidateCounter ( string perfCounterName, IEnumerable |
Validates the counter by parsing.
|
|
FormatPerformanceCounter ( |
Formats a counter into a readable string.
|
|
FormatPerformanceCounter ( string categoryName, string counterName, string instanceName ) : string |
Formats a counter into a readable string.
|
|
InvalidatePlaceholderCache ( ) : void |
Invalidates placeholder cache.
|
|
IsWebAppRunningInAzure ( ) : bool |
Searches for the environment variable specific to Azure web applications and confirms if the current application is a web application or not.
|
|
MatchInstancePlaceholder ( string instanceName ) : |
Matches an instance name against the placeholder regex.
|
|
ParsePerformanceCounter ( string performanceCounter, IEnumerable |
Parses a performance counter canonical string into a PerformanceCounter object. This method also performs placeholder expansion. |
|
ParsePerformanceCounter ( string performanceCounter, IEnumerable |
Parses a performance counter canonical string into a PerformanceCounter object. This method also performs placeholder expansion. |
|
SDKVersionPrefix ( ) : string |
Differentiates the SDK version prefix for azure web applications with standard applications.
|
메소드 | 설명 | |
---|---|---|
ExpandInstanceName ( string instanceName, IEnumerable |
||
FindProcessInstance ( int pid, IEnumerable |
||
GetClrProcessInstances ( ) : IList |
||
GetInstanceForClrProcess ( IEnumerable |
||
GetInstanceForCurrentW3SvcWorker ( ) : string | ||
GetInstanceForWin32Process ( IEnumerable |
||
GetInstanceFromApplicationDomain ( string domainFriendlyName ) : string | ||
GetInstances ( string categoryName ) : IList |
||
GetWin32ProcessInstances ( ) : IList |
public static CreateAndValidateCounter ( string perfCounterName, IEnumerable |
||
perfCounterName | string | Performance counter name to validate. |
win32Instances | IEnumerable |
Windows 32 instances. |
clrInstances | IEnumerable |
CLR instances. |
usesInstanceNamePlaceholder | bool | Boolean to check if it is using an instance name place holder. |
error | string | Error message. |
리턴 |
public static FormatPerformanceCounter ( |
||
pc | ||
리턴 | string |
public static FormatPerformanceCounter ( string categoryName, string counterName, string instanceName ) : string | ||
categoryName | string | |
counterName | string | |
instanceName | string | |
리턴 | string |
public static MatchInstancePlaceholder ( string instanceName ) : |
||
instanceName | string | Instance name to match. |
리턴 |
public static ParsePerformanceCounter ( string performanceCounter, IEnumerable |
||
performanceCounter | string | |
win32Instances | IEnumerable |
|
clrInstances | IEnumerable |
|
리턴 |
public static ParsePerformanceCounter ( string performanceCounter, IEnumerable |
||
performanceCounter | string | |
win32Instances | IEnumerable |
|
clrInstances | IEnumerable |
|
usesInstanceNamePlaceholder | bool | |
리턴 |