Closed jeffchuber closed 2 years ago
One such example of how to do this in fastapi https://github.com/Blueswen/fastapi-observability
Metrics
Logs
I'm asking around in the YC OSS slack community about this
In retrospect, this has more to do with containerization / docker than I realized. I would also really like @levand 's thoughts here!
Logging - skip for now Monitoring - only for the user themselves or, in the case of Chroma, for internal debugging and development. Don't report metrics back to a chroma telemetry service however Traces/Error reporting - we do want to capture anonymized errors.
Tools
So I think I should focus this PR on error reporting / traces only for now... Integrate sentry, and make it talk to posthog. Allow the user to add their own sentry api tokens optionally as well.
When the user deploys this service, they will want to:
We should offer some smart defaults around this.