splice-topology-key-monitor Helm chart deploys a small service that watches the topology state of a participant and logs a warning whenever a topology transaction or proposal signed by one of a configured set of keys appears. Use it to get alerted when one such key is used.
The chart is available starting with Splice 0.9.5.
How it works
The monitor runs a Canton console script against the admin API of your participant. On every poll it:- Looks up the synchronizers registered on the participant under the configured aliases (
globalby default). - Lists the topology transactions and the topology proposals on each of these synchronizers that became effective since the previous poll.
- Logs a
WARNline for every transaction or proposal that carries a signature from one of the tracked keys. The line states whether it is a transaction or a proposal, the synchronizer, the matched key fingerprints and the full transaction.
Installing the monitor
Create a values file, for exampletopology-key-monitor-values.yaml:
sv namespace:
Configuration
Alerting
The monitor logs JSON to stdout from thetopology-key-monitor container. Configure your log-based alerting to fire on every log line with level WARN or higher from that container.
If your alerting already fires on all warnings from the namespace of your participant, exclude the topology-key-monitor container from that alert and add a dedicated one, so that a tracked-key match is not hidden among other warnings.