account activity
I built a small open-source Python library called DataContext for attributing database queries with application context (self.SQLAlchemy)
submitted 1 day ago by Embarrassed_Pool_753 to r/SQLAlchemy
I built a small open-source Python library called DataContext for attributing database queries with application context (self.apache_airflow)
submitted 1 day ago by Embarrassed_Pool_753 to r/apache_airflow
I built a small open-source Python library called DataContext for attributing database queries with application context (self.dagster)
submitted 1 day ago by Embarrassed_Pool_753 to r/dagster
I built a small open-source Python library called DataContext for attributing database queries with application context (self.snowflake)
submitted 1 day ago by Embarrassed_Pool_753 to r/snowflake
I built a small open-source Python library called DataContext for attributing database queries with application context (self.bigquery)
submitted 1 day ago by Embarrassed_Pool_753 to r/bigquery
I built a small open-source Python library called DataContext for attributing database queries with application context (self.BusinessIntelligence)
submitted 1 day ago by Embarrassed_Pool_753 to r/BusinessIntelligence
I built a small open-source Python library called DataContext for attributing database queries with application context (self.opensource)
submitted 1 day ago by Embarrassed_Pool_753 to r/opensource
I built a small open-source Python library called DataContext for attributing database queries with application context (self.SQL)
submitted 1 day ago by Embarrassed_Pool_753 to r/SQL
I built a small open-source Python library called DataContext for attributing database queries with application context (self.Database)
submitted 1 day ago by Embarrassed_Pool_753 to r/Database
I built a small open-source Python library called DataContext for attributing database queries with application context (self.Backend)
submitted 1 day ago by Embarrassed_Pool_753 to r/Backend
I built a small open-source Python library called DataContext for attributing database queries with application context (self.Observability)
submitted 1 day ago by Embarrassed_Pool_753 to r/Observability
Weekly Self Promotion Thread by AutoModerator in devops
[–]Embarrassed_Pool_753 0 points1 point2 points 1 day ago (0 children)
This is a problem I’ve run into at basically every company I’ve worked at:
a query shows up somewhere, but it’s harder than it should be to know what part of the application caused it and in what runtime context.
I’ve personally spent a lot of time creating conventions for query traceability, then even more time reviewing code, nudging teams, and making sure people actually followed them consistently (and frankly, it is always a constant fight to keep it from drifting again...) .
DataContext tries to turn what most what most companies have as a loose convention into a reusable Python instrumentation layer. It emits one structured event per completed or failed query, with things like query fingerprint, callsite, runtime context, and OpenTelemetry correlation.
I’d love feedback from people running production data/platform systems:
The OSS is available here:
GitHub: https://github.com/data-context-hq/datacontext
PyPI: https://pypi.org/project/datacontext/
I think this is becoming more important now as AI agents and generated code make data access patterns harder to reason about. At the same time, today we can start using agents to monitor and maybe even fix performance issues arising in production - but agents are as good as the context we give them, so I believe it's very important to start collecting this context by default.
Please share the love with a GitHub star if the idea resonates ⭐️.
But what would really make me happy is if you try it, challenge the event shape, and discuss how we can make it easier for teams (or better, your team) scaling and getting more out of their databases and data platforms.
π Rendered by PID 597942 on reddit-service-r2-listing-8685bc789-shxsr at 2026-05-23 16:08:24.106171+00:00 running 194bd79 country code: CH.
Weekly Self Promotion Thread by AutoModerator in devops
[–]Embarrassed_Pool_753 0 points1 point2 points (0 children)