Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* you may not use this file except in compliance with the Elastic License.
*/

import { LOGGING_TAG, KIBANA_MONITORING_LOGGING_TAG } from '../../../../common/constants';
import { EventRoller } from './event_roller';
import { CloudDetector } from '../../../cloud';

Expand All @@ -13,7 +12,7 @@ import { CloudDetector } from '../../../cloud';
* @param {Object} server HapiJS server instance
* @return {Object} the revealed `push` and `flush` modules
*/
export function opsBuffer({ config, log, getOSInfo }) {
export function opsBuffer({ config, getOSInfo }) {
// determine the cloud service in the background
const cloudDetector = new CloudDetector();

Expand All @@ -26,7 +25,6 @@ export function opsBuffer({ config, log, getOSInfo }) {
return {
push(event) {
eventRoller.addEvent(event);
log(['debug', LOGGING_TAG, KIBANA_MONITORING_LOGGING_TAG], 'Received Kibana Ops event data');
},

hasEvents() {
Expand Down