Table of Contents

AddServerTiming Method

Definition

Namespace
Cuemon.AspNetCore.Diagnostics
Assemblies
Cuemon.AspNetCore.dll
Source
src/Cuemon.AspNetCore/Diagnostics/ServerTiming.cs

AddServerTiming(string)

Adds a ServerTimingMetric to the Metrics.

public IServerTiming AddServerTiming(string name)

Parameters

name string

The server-specified metric name.

Returns

IServerTiming

A reference to this instance after the operation has completed.

AddServerTiming(string, TimeSpan)

Adds a ServerTimingMetric to the Metrics.

public IServerTiming AddServerTiming(string name, TimeSpan duration)

Parameters

name string

The server-specified metric name.

duration TimeSpan

The server-specified metric duration.

Returns

IServerTiming

A reference to this instance after the operation has completed.

AddServerTiming(string, TimeSpan, string)

Adds a ServerTimingMetric to the Metrics.

public IServerTiming AddServerTiming(string name, TimeSpan duration, string description)

Parameters

name string

The server-specified metric name.

duration TimeSpan

The server-specified metric duration.

description string

The server-specified metric description.

Returns

IServerTiming

A reference to this instance after the operation has completed.