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
readonlyavgDuration:number
Defined in: src/reporters/odata-trace-reporter.ts:106
byMethod
readonlybyMethod:Readonly<Record<string,number>>
Defined in: src/reporters/odata-trace-reporter.ts:109
entitySet
readonlyentitySet:string
Defined in: src/reporters/odata-trace-reporter.ts:104
errorCount
readonlyerrorCount:number
Defined in: src/reporters/odata-trace-reporter.ts:108
maxDuration
readonlymaxDuration:number
Defined in: src/reporters/odata-trace-reporter.ts:107
totalCalls
readonlytotalCalls:number
Defined in: src/reporters/odata-trace-reporter.ts:105