This might be completely dumb, but would like to get some feedback on it.
How about a cryptocurrency that is given away freely to all your microservices, and then each transaction “costs” a certain amount relative to the processing time it took. The proof-of-work algo can be minimal (ROT13? :D) since there’s implicit trust. And the miners would just gather transactions and bunch them up in blocks, making the blockchain a source of truth for your whole system. Transactions could also maybe have the HTTP logs for the request and the response.
So, advantages would be: blockchain as source of truth, checking microservices' wallets would allow you to pinpoint the more hardware intensive services.
Makes sense? Please comment. Thanks!