Metrics
This page explains how to enable the possibility to display and visualize metrics related to DevOps and developers.
By default, the metrics will be displayed at a mid level, but it can be set to:
full: That includes metrics of a general aspect, types of files, users, commits and pull requests.
mid: That includes metrics of a general aspect, users, commits and pull requests.
- GitHub Actions
- GitLab CI
- Azure DevOps
- Bitbucket Pipelines
1. In the main branch you will edit the YAML file named .github/workflows/github-ci.yaml
2. In the github-ci.yaml file search for the Features section, you will find it like this:
## Features -------------------------------------------------------------------------------------#
3. Bellow the section title, add the following configuration and change the values as you need:
# Repository Metrics
repository_metrics_enabled: 'true'
# Repository Metrics | Customizations
# Specify depth of metrics job (full/mid)
# full: Overall & Users & FilesType & CommitsInTime & CommitsLinesInTime & PRInTime
# mid: Overall & Users & CommitsInTime & PRInTime
repository_metrics_depth: 'full'
4. Commit and enjoy! ✨
1. In the main branch you will edit the YAML file named .gitlab-ci.yml
2. In the .gitlab-ci.yml file search for the Features section, you will find it like this:
## Features -------------------------------------------------------------------------------------#
3. Bellow the section title, add the following configuration and change the values as you need:
# Repository Metrics
repository_metrics_enabled: 'true'
# Repository Metrics | Customizations
# Specify depth of metrics job (full/mid)
# full: Overall & Users & FilesType & CommitsInTime & CommitsLinesInTime & PRInTime
# mid: Overall & Users & CommitsInTime & PRInTime
repository_metrics_depth: 'full'
4. Commit and enjoy! ✨
1. In your Azure Repo's main branch you will edit the YAML file named azdevops-ci.yml
2. In the azdevops-ci.yml file search for the Features section, you will find it like this:
## Features -------------------------------------------------------------------------------------#
3. Bellow the section title, add the following configuration and change the values as you need:
# Repository Metrics
- name: repository_metrics_enabled
value: 'true'
# Repository Metrics | Customizations
# Specify depth of metrics job (full/mid)
# full: Overall & Users & FilesType & CommitsInTime & CommitsLinesInTime & PRInTime
# mid: Overall & Users & CommitsInTime & PRInTime
- name: repository_metrics_depth
value: 'full'
4. Commit and enjoy! ✨
1. In the main branch you will edit the YAML file named .bitbucket/envs.yaml
2. In the .bitbucket/envs.yaml file search for the Features section, you will find it like this:
## Features -------------------------------------------------------------------------------------#
3. Bellow the section title, add the following configuration and change the values as you need:
# Repository Metrics
repository_metrics_enabled="true"
# Repository Metrics | Customizations
# Specify depth of metrics job (full/mid)
# full: Overall & Users & FilesType & CommitsInTime & CommitsLinesInTime & PRInTime
# mid: Overall & Users & CommitsInTime & PRInTime
repository_metrics_depth='full'
4. Commit and enjoy! ✨