Build a report
- Define one operational question, such as “Which XMPP counters changed between two labels?”
- Declare the minimum parameters and safe defaults.
- Validate parameter length, range, wildcard use, and permitted prefixes.
- Query or calculate in Script.
- Return a typed table, graph, or document.
- Add empty-state and error output.
- Package the report under the administrative Sources & Nodes tree.
Counter comparison example
Scheduled jobs
The jobs subsystem can run Script on a schedule or in response to application events. A production job should be:- idempotent or protected by a durable operation key;
- bounded by time and batch size;
- explicit about time zone (prefer UTC internally);
- resumable after restart;
- observable through stable event IDs and counters;
- safe when two runtime nodes attempt the same work.