API Reference
Class
UsageTelemetrySnapshot
Lightweight snapshot returned by UsageTelemetrySnapshotService.
Inheritance
- Object
- UsageTelemetrySnapshot
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
Constructors
public UsageTelemetrySnapshot(IReadOnlyList<UsageEventRecord> events, DateTimeOffset scannedAtUtc, Int32 rootsFound, Int64 scanDurationMs, IReadOnlyList<String> errors, IReadOnlyList<String>? discoveredProviderIds = null, IReadOnlyList<SourceRootRecord>? sourceRoots = null, UsageTelemetrySnapshotHealth? health = null, IReadOnlyList<UsageEventRecord>? rawEvents = null) #Initializes a new snapshot.
Parameters
- events System.Collections.Generic.IReadOnlyList<IntelligenceX.Telemetry.Usage.UsageEventRecord>
- scannedAtUtc System.DateTimeOffset
- rootsFound System.Int32
- scanDurationMs System.Int64
- errors System.Collections.Generic.IReadOnlyList<System.String>
- discoveredProviderIds System.Collections.Generic.IReadOnlyList<System.String>? = null
- sourceRoots System.Collections.Generic.IReadOnlyList<IntelligenceX.Telemetry.Usage.SourceRootRecord>? = null
- health IntelligenceX.Telemetry.Usage.UsageTelemetrySnapshotHealth? = null
- rawEvents System.Collections.Generic.IReadOnlyList<IntelligenceX.Telemetry.Usage.UsageEventRecord>? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public IReadOnlyList<UsageEventRecord> Events { get; } #Gets the discovered usage events.
public IReadOnlyList<UsageEventRecord> RawEvents { get; } #Gets deduplicated per-turn usage events before display rollup merging.
public DateTimeOffset ScannedAtUtc { get; } #Gets the snapshot capture time.
public Int32 RootsFound { get; } #Gets the number of roots discovered before scanning.
public Int64 ScanDurationMs { get; } #Gets the scan duration in milliseconds.
public IReadOnlyList<String> Errors { get; } #Gets non-fatal discovery or scan errors.
public IReadOnlyList<String> DiscoveredProviderIds { get; } #Gets the provider ids discovered during the scan, even when some providers produced no events.
public IReadOnlyList<SourceRootRecord> SourceRoots { get; } #Gets the enabled source roots that were discovered for this snapshot.
public UsageTelemetrySnapshotHealth? Health { get; } #Gets derived health and freshness details for the snapshot when available.