Read counters
Each persistedRuntimeCounter has ObjectId, Key, and Counter. List keys and fetch their live value:
RuntimeCounters, quote it because the same name is also a .NET namespace:
GetCounter, GetCounters, IncCounter, DecCounter, and the counter flush function available in the installed build.
Compare snapshots
Create a dictionary keyed by counter name:Counter reports
The administrative Sources & Nodes view can expose file-based reports for labelled snapshots and comparisons. Standard reports include general counter comparison and a billable-counter view. Typical business counters include account creation, remote login, legal-identity states, contract/template states, and KYC provider operations. Treat the exact keys as versioned runtime output: discover them from the server instead of hard-coding an exhaustive list.Reporting guidance
- Record snapshot time, Neuron identity, build, and counter prefix.
- Use monotonically increasing counters for rates by comparing two labelled snapshots.
- Expect resets after database restoration or deliberate counter maintenance.
- Do not use counters as a financial ledger; use auditable domain events for settlement.
- Alert on rates and trends, not a single cumulative value.