Interface IVersionMatrixService
- Namespace
- Quilt4Net.Toolkit.Features.ApplicationInsights
- Assembly
- Quilt4Net.Toolkit.dll
public interface IVersionMatrixService
Methods
GetAsync(IApplicationInsightsContext, TimeSpan?, CancellationToken)
Get the version matrix for a workspace. Uses an in-memory cache keyed by (workspaceId, lookback).
Task<VersionMatrixView> GetAsync(IApplicationInsightsContext context, TimeSpan? lookback = null, CancellationToken cancellationToken = default)
Parameters
contextIApplicationInsightsContextlookbackTimeSpan?cancellationTokenCancellationToken
Returns
RefreshAsync(IApplicationInsightsContext, TimeSpan?, CancellationToken)
Force a fresh fetch from Application Insights, bypassing the in-memory cache.
Task<VersionMatrixView> RefreshAsync(IApplicationInsightsContext context, TimeSpan? lookback = null, CancellationToken cancellationToken = default)
Parameters
contextIApplicationInsightsContextlookbackTimeSpan?cancellationTokenCancellationToken