Skip to main content

Interface: ODataEntityStats

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

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:95


byMethod​

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

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


entitySet​

readonly entitySet: string

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


errorCount​

readonly errorCount: number

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


maxDuration​

readonly maxDuration: number

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


totalCalls​

readonly totalCalls: number

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