AddServerTiming Method
Definition
- Namespace
- Cuemon.AspNetCore.Diagnostics
- Assemblies
- Cuemon.AspNetCore.dll
AddServerTiming(string)
Adds a ServerTimingMetric to the Metrics.
public IServerTiming AddServerTiming(string name)
Parameters
namestringThe 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
namestringThe server-specified metric name.
durationTimeSpanThe 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
namestringThe server-specified metric name.
durationTimeSpanThe server-specified metric duration.
descriptionstringThe server-specified metric description.
Returns
- IServerTiming
A reference to this instance after the operation has completed.