dolittle / Runtime

Runtime for Dolittle
https://dolittle.io
MIT License
14 stars 10 forks source link

Execution tracing #24

Closed einari closed 5 years ago

einari commented 6 years ago

We want to be able to trace execution paths - not as logging, but more concrete and useful. Every request that gets sent to the runtime (Commands, Queries) should be associated with a correlation ID automatically.

Every trace should include the GIT commit SHA of the source it represents. This way we would be able to navigate back to the code.

The things we want to record are typically something like:

einari commented 6 years ago

Interesting thing here is to use something like Append Blobs in Azure for this - we should have a relative time from entry into a process that we add. This time can then be sorted out when we pull the blob out as a single entity in memory.