Interface IEntityMetricsAdapter

An interface for gathering metrics about the Entity framework. Information about entity load and mutation operations is piped to an instance of this adapter.

interface IEntityMetricsAdapter {
    incrementDataManagerLoadCount(
        incrementLoadCountEvent: IncrementLoadCountEvent,
    ): void;
    logAuthorizationEvent(
        authorizationEvent: EntityMetricsAuthorizationEvent,
    ): void;
    logDataManagerLoadEvent(loadEvent: EntityMetricsLoadEvent): void;
    logMutatorMutationEvent(mutationEvent: EntityMetricsMutationEvent): void;
}

Implemented by

Methods