What does the FailedInvocation metric refer to for a custom EventBus rule?

0

We have a custom EventBus "A" with a rule to forward to a global EventBus "B" in another AWS account. A lambda makes a request to EventBus "A" with data that should eventually flow to EventBus "B".

Currently, EventBus "B" does not have EventBus "A" allow listed as we are using a testing environment for EventBus "A" infrastructure. This is fine for our testing purposes. However we're seeing that "FailedInvocation" metric in the AWS console under the "Monitoring tab" of the rule is being incremented as the lambda is triggered and we're confused on what this refers to.

Does this "FailedInvocation" metric refer to "lambda-to-EventBus-A" data flow or "EventBus-A-to-EventBus-B" data flow?

The former if true is unexpected for us and the latter if true would be expected.

Enter image description here

已提問 1 個月前檢視次數 161 次
1 個回答
0
已接受的答案

Hello.

This metric is counted when a target execution fails from EventBridge.
In other words, I think it is counted when "EventBus-A-to-EventBus-B" fails.
https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-monitoring.html

The FailedInvocations metric will increase if the target (EventBus-B) is unavailable.
https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-troubleshooting.html

profile picture
專家
已回答 1 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南