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​
readonlyavgDuration:number
Defined in: src/reporters/odata-trace-reporter.ts:95
byMethod​
readonlybyMethod:Readonly<Record<string,number>>
Defined in: src/reporters/odata-trace-reporter.ts:98
entitySet​
readonlyentitySet:string
Defined in: src/reporters/odata-trace-reporter.ts:93
errorCount​
readonlyerrorCount:number
Defined in: src/reporters/odata-trace-reporter.ts:97
maxDuration​
readonlymaxDuration:number
Defined in: src/reporters/odata-trace-reporter.ts:96
totalCalls​
readonlytotalCalls:number
Defined in: src/reporters/odata-trace-reporter.ts:94