AWS EventBridge¶
AWS EventBridge Metrics include event delivery latency, throughput, event scale, and scalability. These Metrics reflect the performance and reliability of EventBridge when handling large-scale event streams and real-time data delivery.
Configuration¶
Install Func¶
It is recommended to enable Guance integration - extension - managed Func: all prerequisites are automatically installed. Please continue with script installation.
If you deploy Func manually, refer to Manual Deployment of Func
Installation Script¶
Note: Please prepare an Amazon AK that meets the requirements in advance (for simplicity, you can directly grant global read-only permissions
ReadOnlyAccess
)
Managed Version Activation Script¶
- Log in to the Guance console.
- Click on the 【Manage】 menu and select 【Cloud Account Management】.
- Click 【Add Cloud Account】, choose 【AWS】, and fill in the required information on the interface. If you have already configured cloud account information, skip this step.
- Click 【Test】, and after a successful test, click 【Save】. If the test fails, check whether the related configuration information is correct and retest.
- In the 【Cloud Account Management】 list, you can see the added cloud accounts. Click on the corresponding cloud account to enter the details page.
- Click the 【Integration】 button on the cloud account details page. Under the
Not Installed
list, findAWS EventBridge
, click the 【Install】 button, and follow the prompts to complete the installation.
Manual Activation Script¶
-
Log in to the Func console, click 【Script Market】, go to the official script market, and search for
guance_aws_eventbridge
. -
After clicking 【Install】, input the relevant parameters: AWS AK ID, AK Secret, and account name.
-
Click 【Deploy Startup Script】, and the system will automatically create a
Startup
script set and automatically configure the corresponding startup script. -
After enabling, you can see the corresponding automatic trigger configuration in 「Management / Automatic Trigger Configuration」. Click 【Execute】 to run it immediately without waiting for the scheduled time. Wait a moment, and you can view the execution task records and corresponding logs.
Verification¶
- In 「Management / Automatic Trigger Configuration」, confirm whether the corresponding tasks have been configured with automatic triggers. You can also view the task records and logs to check for any abnormalities.
- In Guance, under 「Infrastructure / Custom」, check if there is any asset information.
- In Guance, under 「Metrics」, check if there are any corresponding monitoring data.
Metrics¶
After configuring Amazon CloudWatch, the default Metric sets are as follows. You can collect more Metrics through configuration. Amazon CloudWatch Metrics Details
Instance Metrics¶
The AWS/Events
namespace includes the following instance Metrics.
Metric | Description |
---|---|
Invocations |
The number of times rules invoke targets in response to events. This includes both successful and failed invocations but does not include throttled or retried attempts until they permanently fail. It does not include DeadLetterInvocations. Note: EventBridge only sends this metric to CloudWatch when it is not zero. Valid dimension: RuleName. Unit: Count |
TriggeredRules |
The number of rules that have run and matched any events. You will not see this metric until after the rule has triggered CloudWatch. Valid dimension: RuleName. Unit: Count |
Objects¶
The collected AWS EventBridge object data structure can be viewed under 「Infrastructure - Custom」
{
"measurement": "aws_eventbridge",
"tags": {
"Arn": "arn:aws-cn:events:cn-north-1:294654068288:rule/hn-test-lambda",
"class": "aws_eventbridge",
"cloud_provider": "aws",
"EventBusName": "default",
"name": "arn:aws-cn:events:cn-north-1:294654068288:rule/hn-test-lambda",
"RegionId": "cn-north-1",
"RuleName": "hn-test-lambda"
}
}
Note: Fields in
tags
may change with subsequent updates