Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
neptunian committed Jan 20, 2022
1 parent 648d582 commit 2379e9e
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,16 +291,6 @@ function getUuidBucketName(productName: string) {
}
}

function matchesMetricbeatIndex(metricbeatIndex: string, index: string) {
if (index.includes(metricbeatIndex)) {
return true;
}
if (metricbeatIndex.includes('*')) {
return new RegExp(metricbeatIndex).test(index);
}
return false;
}

function isBeatFromAPM(bucket: Bucket) {
const beatType = get(bucket, 'single_type.beat_type');
if (!beatType) {
Expand Down

0 comments on commit 2379e9e

Please sign in to comment.