Skip to main content

Interface: ODataTraceReport

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

The complete OData trace report written to odata-trace.json.

Example​

const report: ODataTraceReport = {
timestamp: new Date().toISOString(),
totalRequests: 42,
totalDuration: 6300,
entityStats: [{ entitySet: 'A_Product', totalCalls: 42, avgDuration: 150, maxDuration: 450, errorCount: 0, byMethod: { GET: 42 } }],
traces: [],
};

Properties​

entityStats​

readonly entityStats: readonly ODataEntityStats[]

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


timestamp​

readonly timestamp: string

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


totalDuration​

readonly totalDuration: number

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


totalRequests​

readonly totalRequests: number

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


traces​

readonly traces: readonly ODataTraceEntry[]

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