API Reference
UsageTelemetrySnapshotHealth
Shared snapshot health summary used by tray and reports.
Inheritance
- Object
- UsageTelemetrySnapshotHealth
Constructors
public UsageTelemetrySnapshotHealth(Boolean isCachedSnapshot, Boolean isPartialScan, Int32 providerCount, Int32 rootsCount, IReadOnlyList<String> accountLabels, Int32 eventsCount, Int32 parsedArtifacts, Int32 reusedArtifacts, Int32 duplicateRecordsCollapsed, Nullable<DateTimeOffset> latestEventUtc, Int32 issueCount, IReadOnlyList<UsageTelemetryProviderHealth> providerHealth = null) #Initializes a new instance of the UsageTelemetrySnapshotHealth class.
Parameters
- isCachedSnapshot System.Boolean
- Indicates whether the snapshot came from persisted cache instead of a live scan.
- isPartialScan System.Boolean
- Indicates whether some providers or roots were only partially scanned.
- providerCount System.Int32
- The number of providers represented by the snapshot.
- rootsCount System.Int32
- The number of discovered source roots represented by the snapshot.
- accountLabels System.Collections.Generic.IReadOnlyList{System.String}
- The distinct account labels detected across providers.
- eventsCount System.Int32
- The total number of usage events represented by the snapshot.
- parsedArtifacts System.Int32
- The number of artifacts parsed during the scan.
- reusedArtifacts System.Int32
- The number of cached artifacts reused during the scan.
- duplicateRecordsCollapsed System.Int32
- The number of duplicate records collapsed during aggregation.
- latestEventUtc System.Nullable{System.DateTimeOffset}
- The latest event timestamp represented by the snapshot, when known.
- issueCount System.Int32
- The number of non-fatal scan or discovery issues recorded for the snapshot.
- providerHealth System.Collections.Generic.IReadOnlyList{IntelligenceX.Telemetry.Usage.UsageTelemetryProviderHealth} = null
- Provider-scoped health details that compose this snapshot.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public Boolean IsCachedSnapshot { get; } #Gets a value indicating whether the snapshot was loaded from persisted cache.
public Boolean IsPartialScan { get; } #Gets a value indicating whether one or more providers were only partially scanned.
public Int32 ProviderCount { get; } #Gets the number of providers represented by the snapshot.
public Int32 RootsCount { get; } #Gets the number of discovered roots represented by the snapshot.
public IReadOnlyList<String> AccountLabels { get; } #Gets the distinct account labels detected across providers.
public Int32 AccountCount { get; } #Gets the number of distinct account labels detected across providers.
public Int32 EventsCount { get; } #Gets the total number of usage events represented by the snapshot.
public Int32 ParsedArtifacts { get; } #Gets the number of artifacts parsed during the scan.
public Int32 ReusedArtifacts { get; } #Gets the number of cached artifacts reused during the scan.
public Int32 DuplicateRecordsCollapsed { get; } #Gets the number of duplicate records collapsed during aggregation.
public Nullable<DateTimeOffset> LatestEventUtc { get; } #Gets the latest event timestamp represented by the snapshot, when known.
public Int32 IssueCount { get; } #Gets the number of non-fatal discovery or scan issues recorded for the snapshot.
public IReadOnlyList<UsageTelemetryProviderHealth> ProviderHealth { get; } #Gets provider-scoped health details that compose the snapshot.