Revert "Add new clients into the monthly breakdown (#18629)" (#18726)

This reverts commit d641bbc28e5e8cc12b81d409e5d5fc1f2cb7f66c.
This commit is contained in:
Peter Wilson 2023-01-16 15:51:19 +00:00 committed by GitHub
parent 3ff530e001
commit 59450ecb82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -1,3 +0,0 @@
```release-note:bug
core/activity: add namespace breakdown for new clients when date range spans multiple months, including the current month.
```

View File

@ -1664,7 +1664,6 @@ func (a *ActivityLog) handleQuery(ctx context.Context, startTime, endTime time.T
a.logger.Warn("no month data found, returning query with no namespace attribution for current month")
} else {
currentMonth.Namespaces = currentMonthNamespaceAttribution[0].Namespaces
currentMonth.NewClients = currentMonthNamespaceAttribution[0].NewClients
}
pq.Months = append(pq.Months, currentMonth)
distinctEntitiesResponse += pq.Months[len(pq.Months)-1].NewClients.Counts.EntityClients