Agent Maturity Compass API - v1.2.0
Guides
HTTP API
GitHub
Preparing search index...
index
checkUsageViolations
Function checkUsageViolations
checkUsageViolations
(
usage
:
Pick
<
PluginResourceUsage
,
"cpuTimeMs"
|
"peakMemoryMb"
|
"ioBytesMb"
|
"networkAttempts"
,
>
,
limits
:
{
cpuTimeoutMs
:
number
;
ioRateMbps
:
number
;
memoryLimitMb
:
number
;
networkEnabled
:
boolean
;
}
,
)
:
LimitViolation
[]
Validate resource usage against limits and return violations.
Parameters
usage
:
Pick
<
PluginResourceUsage
,
"cpuTimeMs"
|
"peakMemoryMb"
|
"ioBytesMb"
|
"networkAttempts"
,
>
limits
:
{
cpuTimeoutMs
:
number
;
ioRateMbps
:
number
;
memoryLimitMb
:
number
;
networkEnabled
:
boolean
;
}
Returns
LimitViolation
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
HTTP API
GitHub
Agent Maturity Compass API - v1.2.0
Loading...
Validate resource usage against limits and return violations.