-
Notifications
You must be signed in to change notification settings - Fork 34
Description
π Hi folks, I'm Olly. I work on the error tracking team, and have taken ownership of this library, for the foreseeable future. That means you should feel free to ping me on PR's or issues if they've been open for a while and haven't gotten attention.
I'm opening this issue to ask, if you use posthog-rs, what would you like to see added or changed? What do you feel is missing? What pain points around using it do you encounter? If you don't use it, and do use rust, what's stopping you from adopting it?
I'll edit this comment with common themes in replies, and try to respond to any questions or feedback.
On my side, my priorities are roughly as follows:
- Maintain backwards compatibility where possible. That means no changing existing interfaces, but it also means e.g. not exposing the "guts" of the library where possible (for example, rather than making all fields of the
Eventtype pub, if something needs to be user settable, expose a setter). - Keep it simple and flexible - I've seen proposals for adopting queue-based or actor-based systems, or generally extending what I'd call the "architecture" of the library significantly. I think there are pro's and cons here (event batching "for free", but the overall library becomes more complex, particularly around e.g. error handling), and am interested in hearing opinions.
- Extend support to other posthog features - integrating with features like user identification, feature flags, experiments or error tracking.
- Maintain parity between sync and async interfaces
- Keep the dependency list low, if possible
That priority list is mostly out of an awareness that my bandwidth is fairly limited, and that means I'd rather this library "cover" less, but be more stable/bulletproof.