200Module resource usage report
Content-Type: application/json
{
"generatedAt": "string",
"startedAt": "string",
"enabled": true,
"bucketIntervalMs": 1,
"totals": {
"modules": 1,
"operations": 1,
"calls": 1,
"errors": 1,
"totalDurationMs": 1,
"totalCpuMs": 1,
"positiveHeapDeltaBytes": 1,
"positiveRssDeltaBytes": 1
},
"thresholds": {
"p95DurationMs": 1,
"cpuMs": 1,
"positiveHeapDeltaBytes": 1,
"positiveRssDeltaBytes": 1,
"errors": 1
},
"modules": [
{
"moduleId": "string",
"calls": 1,
"errors": 1,
"totalDurationMs": 1,
"p95DurationMs": 1,
"totalCpuMs": 1,
"positiveHeapDeltaBytes": 1,
"positiveRssDeltaBytes": 1,
"surfaces": [
{
"surface": "api",
"calls": 1,
"errors": 1,
"totalDurationMs": 1,
"p95DurationMs": 1,
"totalCpuMs": 1,
"positiveHeapDeltaBytes": 1,
"positiveRssDeltaBytes": 1
}
],
"topOperations": [
{
"moduleId": "string",
"surface": "api",
"operation": "string",
"resourceId": null,
"calls": 1,
"errors": 1,
"totalDurationMs": 1,
"maxDurationMs": 1,
"p95DurationMs": 1,
"totalCpuUserMs": 1,
"totalCpuSystemMs": 1,
"maxCpuMs": 1,
"totalHeapDeltaBytes": 1,
"positiveHeapDeltaBytes": 1,
"maxHeapDeltaBytes": 1,
"totalRssDeltaBytes": 1,
"positiveRssDeltaBytes": 1,
"maxRssDeltaBytes": 1,
"firstSeenAt": "string",
"lastSeenAt": "string"
}
],
"candidateReasons": [
"string"
]
}
],
"candidates": [
{
"moduleId": "string",
"calls": 1,
"errors": 1,
"totalDurationMs": 1,
"p95DurationMs": 1,
"totalCpuMs": 1,
"positiveHeapDeltaBytes": 1,
"positiveRssDeltaBytes": 1,
"surfaces": [
{
"surface": "api",
"calls": 1,
"errors": 1,
"totalDurationMs": 1,
"p95DurationMs": 1,
"totalCpuMs": 1,
"positiveHeapDeltaBytes": 1,
"positiveRssDeltaBytes": 1
}
],
"topOperations": [
{
"moduleId": "string",
"surface": "api",
"operation": "string",
"resourceId": null,
"calls": 1,
"errors": 1,
"totalDurationMs": 1,
"maxDurationMs": 1,
"p95DurationMs": 1,
"totalCpuUserMs": 1,
"totalCpuSystemMs": 1,
"maxCpuMs": 1,
"totalHeapDeltaBytes": 1,
"positiveHeapDeltaBytes": 1,
"maxHeapDeltaBytes": 1,
"totalRssDeltaBytes": 1,
"positiveRssDeltaBytes": 1,
"maxRssDeltaBytes": 1,
"firstSeenAt": "string",
"lastSeenAt": "string"
}
],
"candidateReasons": [
"string"
]
}
],
"buckets": [
{
"bucketStart": "string",
"bucketEnd": "string",
"bucketIntervalMs": 1,
"stage": "startup",
"partial": true,
"totals": {
"modules": 1,
"calls": 1,
"errors": 1,
"totalDurationMs": 1,
"totalCpuMs": 1,
"positiveHeapDeltaBytes": 1,
"positiveRssDeltaBytes": 1
},
"modules": [
{
"moduleId": "string",
"calls": 1,
"errors": 1,
"totalDurationMs": 1,
"p95DurationMs": 1,
"totalCpuMs": 1,
"positiveHeapDeltaBytes": 1,
"positiveRssDeltaBytes": 1,
"surfaces": [
{
"surface": "api",
"calls": 1,
"errors": 1,
"totalDurationMs": 1,
"p95DurationMs": 1,
"totalCpuMs": 1,
"positiveHeapDeltaBytes": 1,
"positiveRssDeltaBytes": 1
}
],
"topOperations": [
{
"moduleId": "string",
"surface": "api",
"operation": "string",
"resourceId": null,
"calls": 1,
"errors": 1,
"totalDurationMs": 1,
"maxDurationMs": 1,
"p95DurationMs": 1,
"totalCpuUserMs": 1,
"totalCpuSystemMs": 1,
"maxCpuMs": 1,
"totalHeapDeltaBytes": 1,
"positiveHeapDeltaBytes": 1,
"maxHeapDeltaBytes": 1,
"totalRssDeltaBytes": 1,
"positiveRssDeltaBytes": 1,
"maxRssDeltaBytes": 1,
"firstSeenAt": "string",
"lastSeenAt": "string"
}
],
"candidateReasons": [
"string"
]
}
]
}
]
}