Class AspNetMetricsOptions
Inheritance
Inherited Members
Namespace:App.Metrics.Extensions.Middleware.DependencyInjection.Options
Assembly:cs.temp.dll.dll
Syntax
public class AspNetMetricsOptions
Constructors
AspNetMetricsOptions()
Declaration
public AspNetMetricsOptions()
Properties
ApdexTrackingEnabled
Gets or sets a value indicating whether the [overall web application's apdex should be measured].
Declaration
public bool ApdexTrackingEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ApdexTSeconds
Gets or sets the apdex t seconds
Declaration
public double ApdexTSeconds { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The apdex t seconds. |
DefaultTrackingEnabled
Gets or sets a value indicating whether the [default http metric tracking enabled].
Declaration
public bool DefaultTrackingEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnvironmentInfoEndpoint
Gets or sets the environment info endpoint, defaults to /env.
Declaration
public string EnvironmentInfoEndpoint { get; set; }
Property Value
Type | Description |
---|---|
System.String | The environment info endpoint. |
EnvironmentInfoEndpointEnabled
Gets or sets a value indicating whether [environment info endpoint should be enabled], if disabled endpoint responds with 404.
Declaration
public bool EnvironmentInfoEndpointEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
HealthEndpoint
Gets or sets the health endpoint, defaults to /health.
Declaration
public string HealthEndpoint { get; set; }
Property Value
Type | Description |
---|---|
System.String | The health endpoint. |
HealthEndpointEnabled
Gets or sets a value indicating whether [health endpoint should be enabled], if disabled endpoint responds with 404.
Declaration
public bool HealthEndpointEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IgnoredHttpStatusCodes
Gets or sets the ignored HTTP status codes as a result of a request where metrics should not be measured.
Declaration
public IList<int> IgnoredHttpStatusCodes { get; set; }
Property Value
Type | Description |
---|---|
IList<System.Int32> | The ignored HTTP status codes. |
IgnoredRoutesRegexPatterns
Gets or sets the ignored request routes where metrics should not be measured.
Declaration
public IList<string> IgnoredRoutesRegexPatterns { get; set; }
Property Value
Type | Description |
---|---|
IList<System.String> | The ignored routes regex patterns. |
MetricsEndpoint
Gets or sets the metrics endpoint, defaults to /metrics.
Declaration
public string MetricsEndpoint { get; set; }
Property Value
Type | Description |
---|---|
System.String | The metrics endpoint. |
MetricsEndpointEnabled
Gets or sets a value indicating whether [metrics endpoint should be enabled], if disabled endpoint responds with 404.
Declaration
public bool MetricsEndpointEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
MetricsTextEndpoint
Gets or sets the metrics text endpoint, defaults to metrics-text.
Declaration
public string MetricsTextEndpoint { get; set; }
Property Value
Type | Description |
---|---|
System.String | The metrics text endpoint. |
MetricsTextEndpointEnabled
Gets or sets a value indicating whether [metrics text endpoint should be enabled], if disabled endpoint responds with 404.
Declaration
public bool MetricsTextEndpointEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
OAuth2TrackingEnabled
Gets or sets a value indicating whether [oauth2 client tracking should be enabled], if disabled endpoint responds with 404.
Declaration
public bool OAuth2TrackingEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
PingEndpoint
Gets or sets the ping endpoint, defaults to /ping.
Declaration
public string PingEndpoint { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ping endpoint. |
PingEndpointEnabled
Gets or sets a value indicating whether [ping endpoint should be enabled], if disabled endpoint responds with 404.
Declaration
public bool PingEndpointEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|