Created by: oblivisheee
This pull request introduces several improvements to the subscription service, including updates to dependencies, enhancements to SQL functions, and the addition of tracing for better observability. The most significant changes are outlined below:
Dependency Updates:
- Updated
tracing-subscriberto include theenv-filterfeature insubscription/Cargo.toml. - Added
tracing-lokidependency insubscription/Cargo.toml.
SQL Function Enhancements:
- Modified SQL functions in
subscription/sql/funcs_plans.surqlandsubscription/sql/funcs_subs.surqlto useRETURNstatements for better consistency and clarity. [1] [2]
Tracing and Instrumentation:
- Added
instrumentmacros andinfologs insubscription/src/db.rsto enhance observability for database operations. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]