Skip to content

Commit

Permalink
chore(gql): add sev3 alert fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xrsv committed Jun 28, 2024
1 parent 06a9548 commit 94a9b34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/stacks/routing-api-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down

0 comments on commit 94a9b34

Please sign in to comment.