cloudstateio / cloudstate

Distributed State Management for Serverless
https://cloudstate.io
Apache License 2.0
763 stars 97 forks source link

Add instrumentation for value-based entities (Entity) #474

Open ralphlaude opened 3 years ago

ralphlaude commented 3 years ago

Add some metrics for value-based entities using the already available prometheus client. Metrics should be tagged by the user function entity name (such as "shopping-cart") so they're aggregated metrics for an entity type on a node.

Count metrics include:

Timing metrics include:

Please see #220