centiservice / mats3

Mats3: Message-based Asynchronous Transactional Staged Stateless Services
https://mats3.io/
Other
62 stars 6 forks source link

Let context/initiate.log[Timing]Measurement(...) be available from ContextLocal. #41

Open stolsvik opened 3 years ago

stolsvik commented 3 years ago

This would be a way to "sub-divide" a stage's time use into its separate operations. The most typical would be queries.

Also make this available from ContextLocal.

Extra-timings should be made available through the Interceptor API.

stolsvik commented 3 years ago

I had evidently forgotten this case when making #45, which is identical - and closed by https://github.com/centiservice/mats3/commit/84ba5747efe4c5dacc01098601f2641a2c196831 So, I'll reuse this for what I had forgotten there: Make it available from ContextLocal.