feat: Add os_distro information to events#467
Conversation
|
26fba83 to
b1877fb
Compare
b1877fb to
2dc52b0
Compare
|
@marandaneto can you maybe take a look? |
marandaneto
left a comment
There was a problem hiding this comment.
left a suggestion otherwise lgtm
|
CI is having the same issue as |
|
This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the |
Bringing to parity with
posthog-go(PostHog/posthog-go#167)Context
Currently events carry
$osand$os_versionproperties. While that's fine for Windows and Mac OS, it needs distro level information for Linux to make the system context more diagnostic.Changes
$os_distroproperty is now added tosystem_context()if os is Linux.Tests
distro_infoparam in the same test.Tests are successful locally.
Screenshots (created through example script)
Linux

Mac OS (property not added)
