Skip to content

Configuration

The configuration file smm_config.json is the central place to change features available in the software metrics machine. With the configuration file in json format you can set the provider you are using, the repository location and more. The following table depicts the supported configuration options.

KeySectionDescriptionRequiredDefault Value
PROVIDERS
git_providerProviderThe git provider to use (github, gitlab, etc)Yesgithub
github_tokenProviderThe personal access token for GitHubYes
REPOSITORY
github_repositoryRepositoryThe GitHub repository in the format user/repoYes
git_repository_locationRepositoryThe local path to the git repository (for codemaat)Yes
METRICS
deployment_frequency_target_pipelineMetricsThe personal access token for GitLabNo
deployment_frequency_target_jobMetricsThe personal access token for GitLabNo
main_branchMetricsThe main branch repository, usually main by defaultNo
DASHBOARD
dashboard_start_dateDashboardSpecifies the start date to start the dashboardNo
dashboard_end_dateDashboardSpecifies the end date to start the dashboardNo
loggin_levelCLISpecifies the logging level to print in the terminal (INFO, CRITICAL, DEBUG)NoCRITICAL

Released under the MIT License.