feat: Add os_distro information to events#467
feat: Add os_distro information to events#467parinporecha wants to merge 4 commits intoPostHog:masterfrom
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 |
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)
