Ghost/ghost/tinybird/datasources/fixtures
Hannah Wolfe 60443726c9 Fixed tinybird test fixture data
ref https://linear.app/tryghost/issue/ANAL-96/data-discrepancy-between-charts-when-filtering

- This fixes the test data so that the session first hit and subsequent hits are in chronological order
- It also makes sure there isn't more than 30 minutes between hits, as our tracking script is only designed to keep sessions alive for 30 minutes so the data wasn't realistic
- NOTE: This data was generated by a script https://gist.github.com/ErisDS/25bb36f38d4c5a3f01d86f34ea5be707 - which didn't take these things into account

Co-authored-by: alejandromav <hi@alejandromav.com>
2024-10-02 17:04:24 +01:00
..
utils Updated tinybird tooling with usability improvements (#21185) 2024-10-02 15:28:39 +01:00
analytics_events.ndjson Fixed tinybird test fixture data 2024-10-02 17:04:24 +01:00
mockingbird-schema.json Added full suite of tinybird datasources and pipes (#20882) 2024-08-29 22:03:31 +01:00
README.md Added a set of tests for our tinybird setup 2024-09-27 14:30:42 +01:00

Datasource fixtures

NDJSON files

These files are fixtures used for running tests

Schema JSON files

The file mockingbird-schema.json is a schema for generating fake data using the Mockingbird CLI.

The CLI is installed via npm:

npm install -g @tinybirdco/mockingbird-cli

The command I'm currently using to generate the data is:

mockingbird-cli tinybird --schema ghost/tinybird/datasources/fixtures/mockingbird-schema.json --endpoint gcp_europe_west3 --token xxxx --datasource analytics_events --eps 50 --limit 5000