Skip to content

Commit

Permalink
Added stat tracking for onprem and added a backup feature
Browse files Browse the repository at this point in the history
  • Loading branch information
frikky committed Oct 17, 2023
1 parent 196e7dc commit 80343d4
Show file tree
Hide file tree
Showing 4 changed files with 238 additions and 445 deletions.
2 changes: 1 addition & 1 deletion dashboards.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ func HandleGetStatistics(resp http.ResponseWriter, request *http.Request) {
// Should remove the FIRST day as it's very scewed
// Do this based on the Timestamp (date)

if len(info.DailyStatistics) > 0 {
if len(info.DailyStatistics) > 1 {
skipIndex := 0
lowestTimestamp := info.DailyStatistics[0].Date
for _, timestamp := range info.DailyStatistics{
Expand Down
Loading

0 comments on commit 80343d4

Please sign in to comment.