Skip to main content
Version: 1.x

Interface: ODataEntityStats

Defined in: src/reporters/odata-trace-reporter.ts:103

Aggregated statistics for a single OData entity set.

Example

const stats: ODataEntityStats = {
entitySet: 'A_Product',
totalCalls: 15,
avgDuration: 120,
maxDuration: 450,
errorCount: 1,
byMethod: { GET: 12, POST: 2, PATCH: 1 },
};

Properties

avgDuration

readonly avgDuration: number

Defined in: src/reporters/odata-trace-reporter.ts:106


byMethod

readonly byMethod: Readonly<Record<string, number>>

Defined in: src/reporters/odata-trace-reporter.ts:109


entitySet

readonly entitySet: string

Defined in: src/reporters/odata-trace-reporter.ts:104


errorCount

readonly errorCount: number

Defined in: src/reporters/odata-trace-reporter.ts:108


maxDuration

readonly maxDuration: number

Defined in: src/reporters/odata-trace-reporter.ts:107


totalCalls

readonly totalCalls: number

Defined in: src/reporters/odata-trace-reporter.ts:105