Daml Metrics

On page Daml Sandbox β€” Daml SDK 1.11.0 documentation

What is the details of the validation process in metrics daml.commands.validation and daml.commands.valid_submissions? (e.g. does it cover time spend on validating the token/mTLS etc)

1 Like

daml.commands.validation is the time take to validate that all required fields are present, that the ledger time is specified correctly, etc.

daml.commands.valid_submissions counts how many commands pass the validation and are passed on to the Daml interpreter to possibly be turned into a transaction (which doesn’t necessarily happen – e.g. in case of a double spend).

1 Like

Thanks. So the daml.commands.validation time includes checking client cert and validating the authentication token?

1 Like

No, only the time to validate the actual request.

1 Like