mishima-nexus-client-csharp/src/Robotico.Nexus.Client/Time/TimeSeriesCatalogEntry.cs

16 lines
680 B
C#
Raw Normal View History

namespace Robotico.Nexus.Client.Time;
/// <summary>
/// One registered series from <see cref="NexusTimeSession.ListSeries"/>.
/// Not on <c>ITimeSession</c> (ISP): catalog ops are Nexus wire extras for explorers/ops.
/// </summary>
/// <param name="SeriesId">Engine-assigned series id.</param>
/// <param name="MetricName">Metric name (Prometheus-style).</param>
/// <param name="Labels">Series labels (sorted as returned by the engine).</param>
/// <param name="SampleCount">Current sample count for the series.</param>
public sealed record TimeSeriesCatalogEntry(
ulong SeriesId,
string MetricName,
IReadOnlyDictionary<string, string> Labels,
int SampleCount);