An open API service indexing awesome lists of open source software.

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.

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
```