mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
This commit is contained in:
parent
a7845e5d0f
commit
6ef0f514f4
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ export const reporting = (kibana) => {
|
|||
});
|
||||
|
||||
// Register a function to with Monitoring to manage the collection of usage stats
|
||||
monitoringPlugin.status.once('green', () => {
|
||||
monitoringPlugin && monitoringPlugin.status.once('green', () => {
|
||||
if (monitoringPlugin.collectorSet) {
|
||||
const callCluster = callClusterFactory(server).getCallClusterInternal(); // uses callWithInternal as this is for internal collection
|
||||
monitoringPlugin.collectorSet.register(getReportingUsageCollector(server, callCluster));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue