08bf49eaec
ref https://linear.app/tryghost/issue/ANAL-27/setup-tinybird-project-and-cicd ref https://github.com/tinybirdco/web-analytics-starter-kit/blob/main/tinybird/pipes/analytics_sessions.pipe - These datasources and pipes work together to define the main endpoints we need for our stats dashboard - They are based on the web analytics starter kit from tinybird - We've updated them to handle site_uuid - There's more to do to pipe the member-related and post-related data through the system yet
16 lines
453 B
Markdown
16 lines
453 B
Markdown
# Datasource fixtures
|
|
|
|
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
|
|
```
|
|
|
|
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
|
|
```
|