The widget displays commit activity charts for a GitLab project branch or tag over the selected period.

Configuration

NameRequiredDescriptionDefault value
URLYesGitLab API URL used to retrieve data from GitLab—
Project IDYesID of the project from which the widget retrieves data. Example: 12345—

Displayed data

The widget displays the following charts with the number of commits per month:

  • the total number of commits in the selected branch or tag;
  • a separate chart for each of the 12 authors with the most commits, with the author name, email and number of commits for the period.

The widget header shows the selected period and the branch or tag.

Request parameters

The widget request parameters set the branch or tag and the period:

NameRequiredDescriptionDefault value
RefNoBranch or tag whose commits the widget analyzesProject default branch
fromNoStart date of the periodOne year before the current date
toNoEnd date of the periodCurrent date

Limitations

  • The charts are built from the 1,000 most recent commits of the period. The widget displays the note “Showing the 1,000 most recent commits”.
  • The period is limited to 730 days. If the selected period is longer, the widget shortens it to 730 days before the end date.

Authentication

Authentication configuration is described in the External services section.