Skip to content

Commit

Permalink
Remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipb committed Nov 11, 2019
1 parent 0c58994 commit 77dcad5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*/

import { InfraBackendFrameworkAdapter, InfraFrameworkRequest } from '../lib/adapters/framework';
import { InfraTimerangeInput } from '../../public/graphql/types';

interface Options {
indexPattern: string;
Expand All @@ -16,6 +15,10 @@ interface Options {
};
}

/**
* Look at the data from metricbeat and get the max period for a given timerange.
* This is useful for visualizing metric modules like s3 that only send metrics once per day.
*/
export const calculateMetricInterval = async (
framework: InfraBackendFrameworkAdapter,
request: InfraFrameworkRequest,
Expand Down

0 comments on commit 77dcad5

Please sign in to comment.