API Reference
Interface
IUsageTelemetryAdapter
Imports usage from a single provider/source strategy.
Methods
public abstract Boolean CanImport(SourceRootRecord root) #Returns:
BooleanReturns true when the adapter can import from the given source root.
Parameters
- root IntelligenceX.Telemetry.Usage.SourceRootRecord
public abstract Task<IReadOnlyList<UsageEventRecord>> ImportAsync(SourceRootRecord root, UsageImportContext context, CancellationToken cancellationToken = null) #Returns:
Task<IReadOnlyList<UsageEventRecord>>Imports normalized usage events from the source root.
Parameters
- root IntelligenceX.Telemetry.Usage.SourceRootRecord
- context IntelligenceX.Telemetry.Usage.UsageImportContext
- cancellationToken System.Threading.CancellationToken = null
Properties
public abstract String AdapterId { get; } #Gets the stable adapter identifier.