Skip to content

Commit

Permalink
Typo in metric name
Browse files Browse the repository at this point in the history
  • Loading branch information
Whyeasy committed Jul 13, 2020
1 parent 8b06607 commit 4ac44e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/collector/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func New(c *client.ExporterClient) *Collector {
mergeRequestMerged: prometheus.NewDesc("gitlab_merge_request_merged", "Date of merging the merge request", []string{"merge_request_id", "project_id"}, nil),
mergeRequestChangedFiles: prometheus.NewDesc("gitlab_merge_request_changed_files", "Amount of changed files within the merge request", []string{"merge_request_id", "project_id"}, nil),
mergeRequestAssignees: prometheus.NewDesc("gitlab_merge_request_assignees", "Amount of assignees assigned to the MR", []string{"merge_request_id", "project_id"}, nil),
mergeRequestDuration: prometheus.NewDesc("gitllab_merge_request_duration", "Duration between creating and closing or merging a merge request", []string{"merge_request_id", "project_id"}, nil),
mergeRequestDuration: prometheus.NewDesc("gillab_merge_request_duration", "Duration between creating and closing or merging a merge request", []string{"merge_request_id", "project_id"}, nil),

//Details for Open Merge Requests
mergeRequestApprovals: prometheus.NewDesc("gitlab_merge_request_approvals", "Amount of approvals left for approving MR", []string{"merge_request_id", "project_id"}, nil),
Expand Down

0 comments on commit 4ac44e6

Please sign in to comment.