https://github.com/netdata/posthog-netdata-event-processing
A Posthog plugin to do some data processing on our Posthog events as they arrive.
https://github.com/netdata/posthog-netdata-event-processing
Last synced: 5 months ago
JSON representation
A Posthog plugin to do some data processing on our Posthog events as they arrive.
- Host: GitHub
- URL: https://github.com/netdata/posthog-netdata-event-processing
- Owner: netdata
- License: gpl-3.0
- Created: 2021-03-01T11:48:25.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-21T12:56:12.000Z (over 2 years ago)
- Last Synced: 2025-07-23T15:57:23.403Z (6 months ago)
- Language: JavaScript
- Size: 332 KB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# posthog-netdata-event-processing
A Posthog plugin to do some data processing on our Posthog events as they arrive.
## Description
An example of doing some event attribute processing using the PostHog plugin approach.
All logic and imports are defined in `process.js`. [rollup.js](https://rollupjs.org/guide/en/) is then used to generate the `index.js` file for the plugin.
### index.js
To generate `index.js` use `rollup`:
```bash
rollup process.js --file index.js
```
### Tests
To run tests:
```bash
yarn test
```