-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move from processing '$elements' to '$elements_chain' #136
Comments
@Ancairon this might break the Netdata PostHog plugin I think. @davemurphysf what might be a good way for us to test this, is there some way to pass/use the flag on some feature branch we could make here and adapt our tests for? |
I can turn on the flag for a dev project if you give me the project ID (located at the bottom of the page on https://app.posthog.com/settings/project-details) |
hi @davemurphysf , have one doubt since we have multiple projects for each of our environments (Testing, Staging and PROD) and one for a specific component which is the Agent
|
Hey @hugovalente-pm / @andrewm4894, I enabled this behavior for both your Testing ( |
@andrewm4894 how would we go about this? Is it a change in https://github.com/netdata/posthog-netdata-event-processing/blob/main/process_elements_testing.js#L4C29-L7 and then testing it? I am alien to this repo, but with the reading I did it seems that we need to alter that logic (?) Also, where would we define |
@Ancairon i think all the process_elements_* scripts would need to be updated. The thing is that this repo is really based around test driven development. So i think steps would need to be:
@davemurphysf is it just that |
@Ancairon of course another option could be to just disable the app and see what breaks. Retiring this posthog custom app we had been using in the past could also be something to consider too. There are more other official apps that could also be used not to give maybe most of the functionality we need. Or worse case you can just recreate any logic in the downstream bigquery etl if we really need it and would be ok with losing the custom property from the posthog UI. |
@andrewm4894 So if you go into the Event Explorer for any Posthog team, you'll see both of these values on any |
👋 Hello!
We recently merged a change in the posthog-js client to process the list autocaptured elements as a string, rather than an object. We noticed in your plugin that you are using
$elements
, and wanted to give you a heads up that you will need to update your code to use$elements_chain
instead.Right now, this change is behind a flag, and only internal Posthog traffic is using
$elements_chain
. Our plan is to expand this usage over the next couple of weeks, but we didn't want to break your plugin :-).Let me know if you have any questions!
The text was updated successfully, but these errors were encountered: