App Metrics Fork me on GitHub
Show / Hide Table of Contents

Class ErrorRequestMeterMiddleware

Measures the overall error request rate as well as the rate per endpoint. Also measures these error rates per OAuth2 Client as a separate metric

Inheritance
System.Object
AppMetricsMiddleware<AspNetMetricsOptions>
ErrorRequestMeterMiddleware
Inherited Members
AppMetricsMiddleware<TOptions>.Logger
AppMetricsMiddleware<TOptions>.Metrics
AppMetricsMiddleware<TOptions>.Next
AppMetricsMiddleware<TOptions>.Options
AppMetricsMiddleware<TOptions>.GetOAuthClientIdIfRequired(HttpContext)
AppMetricsMiddleware<TOptions>.PerformMetric(HttpContext)
AppMetricsMiddleware<TOptions>.ShouldTrackHttpStatusCode(Int32)
AppMetricsMiddleware<TOptions>.WriteResponseAsync(HttpContext, String, String, HttpStatusCode, String)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:App.Metrics.Extensions.Middleware
Assembly:cs.temp.dll.dll
Syntax
public class ErrorRequestMeterMiddleware : AppMetricsMiddleware<AspNetMetricsOptions>

Constructors

ErrorRequestMeterMiddleware(RequestDelegate, AspNetMetricsOptions, ILoggerFactory, IMetrics)

Declaration
public ErrorRequestMeterMiddleware(RequestDelegate next, AspNetMetricsOptions aspNetOptions, ILoggerFactory loggerFactory, IMetrics metrics)
Parameters
Type Name Description
RequestDelegate next
AspNetMetricsOptions aspNetOptions
ILoggerFactory loggerFactory
IMetrics metrics

Methods

Invoke(HttpContext)

Declaration
public Task Invoke(HttpContext context)
Parameters
Type Name Description
HttpContext context
Returns
Type Description
Task
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX