Commit e351e81
committed
fix(logs): correct metricIncomingLogEvents metric name from IncomingLogs to IncomingLogEvents
The metricIncomingLogEvents() method was using 'IncomingLogs' as the
metric name, but the correct CloudWatch metric name per AWS documentation
is 'IncomingLogEvents'. This caused alarms created with this method to
have no datapoints.
Closes #368151 parent 69cf4c9 commit e351e81
File tree
2 files changed
+21
-1
lines changed- packages/aws-cdk-lib/aws-logs
- lib
- test
2 files changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
| 346 | + | |
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
342 | 362 | | |
343 | 363 | | |
344 | 364 | | |
| |||
0 commit comments