Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3 from aslihanozfidan/master
Browse files Browse the repository at this point in the history
Refactor metric charts
  • Loading branch information
burakolgun authored Aug 8, 2020
2 parents b46258a + 7faa168 commit b8fc8e1
Show file tree
Hide file tree
Showing 2 changed files with 335 additions and 511 deletions.
4 changes: 2 additions & 2 deletions helpers/repository_metric_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ func CalculateMetrics(repo *git.Repository, request MetricsRequest) (FourKeyMetr
tagMetricDto := TagMetricDto{
TagName: tagNameParse[len(tagNameParse)-1],
TagDate: tagMetricDateRange.tagDate,
MeanTimeRestoreAverage: GetSecondsToHour(tagMetricDateRange.tagMeanTimeRestoreAverageSeconds),
LeadTime: GetSecondsToHour(tagMetricDateRange.tagLeadTimeSeconds),
MeanTimeRestoreAverage: tagMetricDateRange.tagMeanTimeRestoreAverageSeconds,
LeadTime: tagMetricDateRange.tagLeadTimeSeconds,
ChangeFailPercentage: tagMetricDateRange.tagChangeFailPercentage,
}
tagMetricDtoList = append(tagMetricDtoList, tagMetricDto)
Expand Down
Loading

0 comments on commit b8fc8e1

Please sign in to comment.