Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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. |
return |
public static FormatPerformanceCounter ( |
||
pc | ||
return | string |
public static FormatPerformanceCounter ( string categoryName, string counterName, string instanceName ) : string | ||
categoryName | string | |
counterName | string | |
instanceName | string | |
return | string |
public static InvalidatePlaceholderCache ( ) : void | ||
return | void |
public static IsWebAppRunningInAzure ( ) : bool | ||
return | bool |
public static MatchInstancePlaceholder ( string instanceName ) : |
||
instanceName | string | Instance name to match. |
return |
public static ParsePerformanceCounter ( string performanceCounter, IEnumerable |
||
performanceCounter | string | |
win32Instances | IEnumerable |
|
clrInstances | IEnumerable |
|
return |
public static ParsePerformanceCounter ( string performanceCounter, IEnumerable |
||
performanceCounter | string | |
win32Instances | IEnumerable |
|
clrInstances | IEnumerable |
|
usesInstanceNamePlaceholder | bool | |
return |