TBD54566975 / ftl

FTL - Towards a 𝝺-calculus for large-scale systems
https://tbd54566975.github.io/ftl/
Apache License 2.0
21 stars 7 forks source link

Think about whether events table serves the role of audit logs #1236

Open matt2e opened 5 months ago

matt2e commented 5 months ago

Do we want individual tables for different kinds of audit logs (eg cronjob executions)? Or is the combined events table good for this purpose? What is missing from the events/requests table at the moment? Possibly deployment key rather than just module name.

alecthomas commented 5 months ago

I was thinking about this a bit more, and I believe we should get rid of the requests table. The events table is used for the user-experience aspect of FTL, so that should stay, but it is not an audit log.

When we do end up needing audit logs, we should just dump data into some external system like Kafka.