跳至内容

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

已提问 2 年前448 查看次数

1 回答
1
已接受的回答

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

专家

已回答 2 年前

专家

已审核 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。