more metrics
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 31s

This commit is contained in:
matst80
2024-11-09 11:49:11 +01:00
parent cfbb2e29c2
commit 23c3cae9b9
3 changed files with 12 additions and 2 deletions

View File

@@ -112,6 +112,7 @@ func (c *CartGrain) HandleMessage(message *Message, isReplay bool) ([]byte, erro
now := time.Now().Unix()
message.TimeStamp = &now
}
grainMutations.Inc()
var err error
switch message.Type {
case AddRequestType: