[Logs UI] Restore call to UsageCollector.countLogs
(#67051)
This commit is contained in:
parent
a9234ef034
commit
7f88453242
|
@ -20,6 +20,7 @@ import {
|
|||
logEntriesSummaryResponseRT,
|
||||
} from '../../../common/http_api/log_entries';
|
||||
import { parseFilterQuery } from '../../utils/serialized_query';
|
||||
import { UsageCollector } from '../../usage/usage_collector';
|
||||
|
||||
const escapeHatch = schema.object({}, { unknowns: 'allow' });
|
||||
|
||||
|
@ -47,6 +48,8 @@ export const initLogEntriesSummaryRoute = ({ framework, logEntries }: InfraBacke
|
|||
parseFilterQuery(query)
|
||||
);
|
||||
|
||||
UsageCollector.countLogs();
|
||||
|
||||
return response.ok({
|
||||
body: logEntriesSummaryResponseRT.encode({
|
||||
data: {
|
||||
|
|
Loading…
Reference in a new issue