Show / Hide Table of Contents

Class HttpMetrics

Represents metrics reported by the System.Net.Http event counters.

Inheritance
Object
HttpMetrics
Namespace: Yarp.Telemetry.Consumption
Assembly: Yarp.Telemetry.Consumption.dll
Syntax
public sealed class HttpMetrics : object

Constructors

| Improve this Doc View Source

HttpMetrics()

Declaration
public HttpMetrics()

Properties

| Improve this Doc View Source

CurrentHttp11Connections

Number of currently open HTTP 1.1 connections.

Declaration
public long CurrentHttp11Connections { get; }
Property Value
Type Description
Int64
| Improve this Doc View Source

CurrentHttp20Connections

Number of currently open HTTP 2.0 connections.

Declaration
public long CurrentHttp20Connections { get; }
Property Value
Type Description
Int64
| Improve this Doc View Source

CurrentRequests

Number of active HTTP requests that have started but not yet completed or failed.

Declaration
public long CurrentRequests { get; }
Property Value
Type Description
Int64
| Improve this Doc View Source

Http11RequestsQueueDuration

Average time spent on queue for HTTP 1.1 requests that hit the MaxConnectionsPerServer limit in the last metrics interval.

Declaration
public TimeSpan Http11RequestsQueueDuration { get; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

Http20RequestsQueueDuration

Average time spent on queue for HTTP 2.0 requests that hit the MAX_CONCURRENT_STREAMS limit on the connection in the last metrics interval.

Declaration
public TimeSpan Http20RequestsQueueDuration { get; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

RequestsFailed

Number of HTTP requests that failed since telemetry was enabled.

Declaration
public long RequestsFailed { get; }
Property Value
Type Description
Int64
| Improve this Doc View Source

RequestsFailedRate

Number of HTTP requests that failed in the last metrics interval.

Declaration
public long RequestsFailedRate { get; }
Property Value
Type Description
Int64
| Improve this Doc View Source

RequestsStarted

Number of HTTP requests started since telemetry was enabled.

Declaration
public long RequestsStarted { get; }
Property Value
Type Description
Int64
| Improve this Doc View Source

RequestsStartedRate

Number of HTTP requests started in the last metrics interval.

Declaration
public long RequestsStartedRate { get; }
Property Value
Type Description
Int64
| Improve this Doc View Source

Timestamp

Timestamp of when this KestrelMetrics instance was created.

Declaration
public DateTime Timestamp { get; }
Property Value
Type Description
DateTime
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX