.NET API
TimeSeriesPoint
Tracon.Abstractions.dllA summary of the runs in a time bucket. The result unit of
/api/stats/timeseries; empty buckets are also returned (with zero events).
public sealed record TimeSeriesPoint : IEquatable<TimeSeriesPoint>- Inheritance
- object ← TimeSeriesPoint
- Implements
- IEquatable<TimeSeriesPoint>
- Inherited Members
- object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”TimeSeriesPoint()
Section titled “ TimeSeriesPoint()”public TimeSeriesPoint()Properties
Section titled “Properties”AverageDurationMs
Section titled “ AverageDurationMs”The average duration of settled runs (milliseconds).
public double? AverageDurationMs { get; init; }Property Value
Section titled “Property Value”Bucket
Section titled “ Bucket”The bucket’s start time (UTC).
public required DateTimeOffset Bucket { get; init; }Property Value
Section titled “Property Value”The total cost. null if no run was ever priced.
public decimal? Cost { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Also null on every point when the series spans more than one currency (TimeSeriesPoint.CurrencyCount).
CurrencyCount
Section titled “ CurrencyCount”The number of currencies the priced runs of the WHOLE series are in.
public int CurrencyCount { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”A point carries no currency, so the series is judged as one: above one, no point
carries a Cost, since a chart would draw amounts in two currencies on one
line. The value is the same on every point.
FailedRuns
Section titled “ FailedRuns”The number of runs that ended in an error in this bucket.
public long FailedRuns { get; init; }Property Value
Section titled “Property Value”InputTokens
Section titled “ InputTokens”The total input tokens.
public long InputTokens { get; init; }Property Value
Section titled “Property Value”OutputTokens
Section titled “ OutputTokens”The total output tokens.
public long OutputTokens { get; init; }Property Value
Section titled “Property Value”The number of runs that started in this bucket.
public long Runs { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(TimeSeriesPoint?)
Section titled “ Equals(TimeSeriesPoint?)”public bool Equals(TimeSeriesPoint? other)Parameters
Section titled “Parameters”other TimeSeriesPoint?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(TimeSeriesPoint?, TimeSeriesPoint?)
Section titled “ operator ==(TimeSeriesPoint?, TimeSeriesPoint?)”public static bool operator ==(TimeSeriesPoint? left, TimeSeriesPoint? right)Parameters
Section titled “Parameters”left TimeSeriesPoint?
right TimeSeriesPoint?
Returns
Section titled “Returns”operator !=(TimeSeriesPoint?, TimeSeriesPoint?)
Section titled “ operator !=(TimeSeriesPoint?, TimeSeriesPoint?)”public static bool operator !=(TimeSeriesPoint? left, TimeSeriesPoint? right)Parameters
Section titled “Parameters”left TimeSeriesPoint?
right TimeSeriesPoint?