cli.metrics_arguments
A jadpo metrics command is given something it doesn't take, or a filter it can't read.
Area 14, Tools; not declinable; the next step is usually the agent's.
Why Jadpo refuses it
jadpo metrics adds up the metrics jadpo dev keeps of your app's requests, chosen by its filters. A filter it can't read would choose nothing, or
everything, without saying so.
What it looks like
--slower-than is given a number with no unit:
jadpo metrics --slower-than 2 error 2 isn't a duration
- reason
--slower-thantakes a duration, as Jadpo writes one:200ms,2s,1m.- next
- Give a duration such as
--slower-than 200ms(agent) - rule
- cli.
metrics_ arguments - help
- https://jadpo.
dev/docs/errors/cli. metrics_ arguments
(agent) at the end of the next: line means your coding agent can make
the fix itself.
How to fix it
If you meant seconds, give the duration as Jadpo writes one, with its unit:
jadpo metrics --slower-than 2sIt now adds up only the requests that took longer than 2 seconds.
Related
Markdown for agents: /docs/errors/cli.metrics_arguments.md.Built from Jadpo's main branch at commit 9080dc3.