I'm a little confused by the documentation around metrics callbacks for Datomic https://docs.datomic.com/operation/monitoring.html#custom. The docs say that you can configure a callback on either a transactor or a peer. But the https://docs.datomic.com/operation/monitoring.html#available-cloudwatch-metrics shows only transactor metrics. Are there separate peer metrics? If I configure a metrics callback on a peer, what metrics will it receive?
pretty much anything on that list that isn't related to GC, writes (storage, index, log), or heartbeats will also be reported by the peer
importantly, you will get storage and (mem/val/object)cache metrics
Got it, thanks Francis!