Feed Mock Data

It is possible to populate mock data into Faros CE, which can be useful to understand what the canned metrics require (especially DORA metrics).

Install the dependencies

From the Faros CE root directory:

cd mock-data && npm i

Upload mock data

./bin/mock-data upload --admin-secret <secret>

πŸ“˜

Use the -u flag to specify the Hasura service url if using a different endpoint than http://localhost:8080

The Hasura Admin secret (if any) can be found in the .env file. Look for HASURA_GRAPHQL_ADMIN_SECRET

Delete mock data

./bin/mock-data delete --admin-secret <secret>