Skip to content

Commit

Permalink
fix cherry pick
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Sebastian <paulstn@amazon.com>
  • Loading branch information
paulstn committed Apr 25, 2024
1 parent ad47112 commit b5b1af2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions public/components/common/query_utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,6 @@ export const getDescribeQueryIndexFromRawQuery = (query: string): string | undef
return undefined;
};

function extractSpanAndResolution(query: string) {
if (!query) return;

const match = query.match(SPAN_RESOLUTION_REGEX);
return match ? { span: parseInt(match[1], 10), resolution: match[2] } : null;
}

export const preprocessMetricQuery = ({ metaData, startTime, endTime }) => {
// convert to moment
const start = convertDateTime(startTime, true);
Expand Down

0 comments on commit b5b1af2

Please sign in to comment.