Skip to content

Latest commit

 

History

History

mock-data

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Mock Data

This package adds mock data into the Faros CE allowing users to understand what the canned Faros CE metrics (especially DORA) will look like and insights they can get.

When you're ready to configure your own sources, you can delete the mock data.

🏁 Quickstart

Running the script requires the Faros CE environment to be running. Follow our 🏁 Quickstart Guide to get it running, if you already haven't.

Running the script:

$ npm i # Install all dependencies, only needed once.

🚄 Uploading mock data (assuming you use the default Hasura admin password)

$ ./bin/mock-data upload --admin-secret admin

Access the Welcome dashboard in Metabase on port 3000 to start exploring the mock data.

❌ Deleting mock data (assuming you use the default Hasura admin password)

$ ./bin/mock-data delete --admin-secret admin

📋 Note: You can also optionally specify the Hasura service url using the -u flag. If this flag is not specified, the script will upload to the the default service url http://localhost:8080