Skip to content

Commit

Permalink
Merge branch 'main' into conroy/cm
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Feb 15, 2025
2 parents 54e46b8 + 59470c5 commit 5ddfefd
Show file tree
Hide file tree
Showing 24 changed files with 2,630 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"MetricFilter1B93B6E5": {
"Type": "AWS::Logs::MetricFilter",
"Properties": {
"FilterPattern": "{ $.latency = \"*\" }",
"FilterPattern": "{ ($.latency = \"*\") && ($.message = %bind: address already in use%) }",
"LogGroupName": {
"Ref": "LogGroupF5B46931"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ class MetricFilterIntegStack extends Stack {
metricNamespace: 'MyApp',
metricName: 'Latency',
filterName: 'MyFilterName',
filterPattern: FilterPattern.exists('$.latency'),
filterPattern: FilterPattern.all(
FilterPattern.exists('$.latency'),
FilterPattern.regexValue('$.message', '=', 'bind: address already in use'),
),
metricValue: '$.latency',
});
/// !hide
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5ddfefd

Please sign in to comment.