RunTimeSeriesQuery
AgentPrism.Abstractions.dllFilter for a time-series query.
public sealed record RunTimeSeriesQuery : IEquatable<RunTimeSeriesQuery>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<RunTimeSeriesQuery>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”RunTimeSeriesQuery()
Section titled “ RunTimeSeriesQuery()”public RunTimeSeriesQuery()Properties
Section titled “Properties”AgentName
Section titled “ AgentName”Gets the agent whose runs are counted.
public string? AgentName { get; init; }Property Value
Section titled “Property Value”Bucket
Section titled “ Bucket”Gets the bucket width. Defaults to hourly.
public TimeSeriesBucket Bucket { get; init; }Property Value
Section titled “Property Value”Gets the start of the range (UTC, inclusive).
public required DateTimeOffset From { get; init; }Property Value
Section titled “Property Value”Gets the kind whose runs are counted. null includes every kind — unlike IRunStore.GetStatisticsAsync, this query does not exclude eval and workflow runs by default.
public RunKind? Kind { get; init; }Property Value
Section titled “Property Value”ModelId
Section titled “ ModelId”Gets the model whose runs are counted.
public string? ModelId { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant filter. When empty, the current tenant is used.
public string? TenantId { get; init; }Property Value
Section titled “Property Value”Gets the end of the range (UTC, exclusive).
public required DateTimeOffset To { 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(RunTimeSeriesQuery?)
Section titled “ Equals(RunTimeSeriesQuery?)”public bool Equals(RunTimeSeriesQuery? other)Parameters
Section titled “Parameters”other RunTimeSeriesQuery?
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 ==(RunTimeSeriesQuery?, RunTimeSeriesQuery?)
Section titled “ operator ==(RunTimeSeriesQuery?, RunTimeSeriesQuery?)”public static bool operator ==(RunTimeSeriesQuery? left, RunTimeSeriesQuery? right)Parameters
Section titled “Parameters”left RunTimeSeriesQuery?
right RunTimeSeriesQuery?
Returns
Section titled “Returns”operator !=(RunTimeSeriesQuery?, RunTimeSeriesQuery?)
Section titled “ operator !=(RunTimeSeriesQuery?, RunTimeSeriesQuery?)”public static bool operator !=(RunTimeSeriesQuery? left, RunTimeSeriesQuery? right)Parameters
Section titled “Parameters”left RunTimeSeriesQuery?
right RunTimeSeriesQuery?