From 94a9b349bd3bd62f9b3e733cefe38b88961a0f35 Mon Sep 17 00:00:00 2001 From: Vasilis Xouris Date: Fri, 28 Jun 2024 13:53:56 -0700 Subject: [PATCH] chore(gql): add sev3 alert fix --- bin/stacks/routing-api-stack.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/stacks/routing-api-stack.ts b/bin/stacks/routing-api-stack.ts index 6397ef43a8..3cdccae393 100644 --- a/bin/stacks/routing-api-stack.ts +++ b/bin/stacks/routing-api-stack.ts @@ -369,17 +369,17 @@ export class RoutingAPIStack extends cdk.Stack { alarmName: 'RoutingAPI-SEV3-GQLTokenFeeFetcherFailureRate', metric: new MathExpression({ expression: - '100*(GraphQLTokenFeeFetcherFetchFeesFailure/(GraphQLTokenFeeFetcherFetchFeesSuccess+GraphQLTokenFeeFetcherFetchFeesFailure))', + '100*(graphQLTokenFeeFetcherFetchFeesFailure/(graphQLTokenFeeFetcherFetchFeesSuccess+graphQLTokenFeeFetcherFetchFeesFailure))', period: Duration.minutes(5), usingMetrics: { - GraphQLTokenFeeFetcherFetchFeesSuccess: new aws_cloudwatch.Metric({ + graphQLTokenFeeFetcherFetchFeesSuccess: new aws_cloudwatch.Metric({ namespace: 'Uniswap', metricName: `GraphQLTokenFeeFetcherFetchFeesSuccess`, dimensionsMap: { Service: 'RoutingAPI' }, unit: aws_cloudwatch.Unit.COUNT, statistic: 'sum', }), - GraphQLTokenFeeFetcherFetchFeesFailure: new aws_cloudwatch.Metric({ + graphQLTokenFeeFetcherFetchFeesFailure: new aws_cloudwatch.Metric({ namespace: 'Uniswap', metricName: `GraphQLTokenFeeFetcherFetchFeesFailure`, dimensionsMap: { Service: 'RoutingAPI' },