In the marathon of software development, teams can be overwhelmed by the complexity of tasks and the pressure to perform. The real challenge lies in understanding which efforts lead to success and which need refinement. That's the power of metrics. They transform endless streams of data into actionable insights. Apache DevLake provides the means to harness these insights, offering a metrics dashboard that aligns daily tasks with strategic goals. This guide is your first step towards a more informed and intentional approach to development. Let’s embark on this journey to make every commit, issue, and pull request an opportunity for improvement.
Before setting up your first Engineering Metrics Dashboard with Apache DevLake, ensure you have the following pre-requisites ready:
After installation, connect to your first repository by opening the Config UI or localhost:4000/onboard and you will start the onboarding session as shown in the screenshot below
In this step, you'll define a project that aims to enhance your software development process within your organization or team. Remember, the true value lies in the goals behind the metrics rather than the metrics themselves. Focus on setting clear, strategic objectives to ensure that the metrics you track are meaningful and directly contribute to your broader organizational goals.
Adding your data scope is a crucial step where you select the specific repository you want to monitor. Once selected, the dashboard aggregates data pertaining to issues, deployments, pull requests (PRs), workflow runs, GitHub actions, and more, giving you a comprehensive view of your operations. To streamline the onboarding experience and swiftly deliver your initial metrics, the system is configured to collect only the last 14 days of data by default. This ensures a rapid setup so you can start analyzing your metrics almost immediately. However, this setting is flexible— you can adjust the data collection window at any time to suit your project’s needs and objectives.
This metrics dashboard provides a clear visualization of the development processes by tracking various key performance indicators from GitHub. The dashboard covers:
By consolidating these metrics, the dashboard serves as a crucial tool for teams to evaluate their development lifecycle and make data-driven improvements.
Congratulations on setting up your first engineering metrics dashboard using GitHub and Grafana in just a few minutes! As an open-source tool, DevLake supports various data sources and plugins while ensuring that your data remains securely under your control. Learn more about how DevLake can help you by checking the DORA guide, how to customize dashboards, and how to customize data model.
If you haven't already, star DevLake GitHub repository to follow the updates and feel free to post your queries on slack - our vibrant community includes engineering leaders, users, experts, and contributors from diverse backgrounds around the world.
Watch this tutorial on YouTube