IntelligenceX

API Reference

Class

GitHubRepositorySnapshotAnalytics

Namespace IntelligenceX.Telemetry.GitHub
Assembly IntelligenceX
Modifiers static

Analytics helpers for repository snapshots.

Inheritance

  • Object
  • GitHubRepositorySnapshotAnalytics

Methods

public static IReadOnlyList<GitHubRepositorySnapshotDelta> BuildDailyDeltas(IEnumerable<GitHubRepositorySnapshotRecord> snapshots) #
Returns: IReadOnlyList<GitHubRepositorySnapshotDelta>

Builds day-over-day deltas for the supplied snapshots, using the latest capture per UTC day.

Parameters

snapshots System.Collections.Generic.IEnumerable{IntelligenceX.Telemetry.GitHub.GitHubRepositorySnapshotRecord} requiredposition: 0
Snapshots to analyze.

Returns

Daily deltas grouped by repository.

public static GitHubRepositorySnapshotDelta CreateDelta(GitHubRepositorySnapshotRecord previous, GitHubRepositorySnapshotRecord current) #
Returns: GitHubRepositorySnapshotDelta

Creates a delta from two snapshots of the same repository.

Parameters

previous IntelligenceX.Telemetry.GitHub.GitHubRepositorySnapshotRecord requiredposition: 0
Previous snapshot when available.
current IntelligenceX.Telemetry.GitHub.GitHubRepositorySnapshotRecord requiredposition: 1
Current snapshot.

Returns

Snapshot delta.