Clone this repository
git clone https://github.com/merico-dev/lake.git cd lake
Install dependencies with
npm i
Run the command npm run config to setup your configuration files
For more info on how to configure plugins, please refer to the data source plugins section
To map a custom status for a plugin refer to
/config/plugins.js
Ex: In Jira, if you're using Rejected as a Bug type, refer to thestatusMappingssections for issues mapped to “Bug”
AllstatusMappingscontain 2 objects. an open status (first object), and a closed status (second object)
Start all third-party services and lake's own services with
npm run dev
Your collection jobs should begin collecting data. See that the:
This process will run through each lake plugin, collecting data from each
To create a collection job manually, from Postman (or similar), send a request like below (
branchis optional):
POST http://localhost:3001/ { "jira": { "boardId": 8 }, "gitlab": { "projectId": 8967944, "branch": "<your-branch-name>", } }
Or, using curl:
curl -X POST "http://localhost:3001/" -H 'content-type: application/json' \
-d '{"jira":{"boardId": 8}, "gitlab": {"projectId": 8967944}}'
Visualize data in Grafana dashboard
From here you can see existing data visualized from collected & enriched data
admin, password: admin)lakeMigrations
npx sequelize-cli db:migrate:undo:allnpx sequelize-cli db:migrate