This library provides support for InfluxDB reporters in the Metrics.NET monitoring and reporting library. Supports InfluxDB Line Protocol for InfluxDB v0.9.1 and above, and JSON Protocol for InfluxDB v0.9.1 and below.
Normalizes a Duration Pattern.
Converts a Duration Pattern into a TimeSpan or DurationStruct.
Converts a DurationStruct into a TimeSpan or Duration Pattern.
Converts a TimeSpan into a DurationStruct or Duration Pattern.
Works with a DurationStruct easily instead of use TimeSpan that not covers Years...
Library to extend the functionality of the TimeSpan structure to be comparable, serializable, and convertible. It also supports localized string formatting and parsing so a TimeSpan can be represented by something like "3 days, 2 hours, 19 minutes" instead of "3:02:19:00".
It is well known that DateTime.Now is often used inappropriately. For example, it may be used together with TimeSpan to produce a task's timeout point or subtracted from another DateTime to calculate a duration. This can cause subtle bugs because DateTime is not monotonic: the system clock can...