AWS EventBridge¶
AWS EventBridge The displayed metrics include event delivery latency, throughput, event scale, and scalability. These metrics reflect the performance and reliability of EventBridge in handling large-scale event streams and real-time data delivery.
Configuration¶
Install Func¶
It is recommended to activate the TrueWatch integration - extension - DataFlux Func (Automata): all preconditions are automatically installed, please proceed with the script installation.
If deploying Func manually, refer to Manual Deployment of Func
Install Script¶
Note: Please prepare the required Amazon AK in advance (for simplicity, you can directly grant the global read-only permission
ReadOnlyAccess
)
Managed Version Activation Script¶
- Log in to the TrueWatch console.
- Click the 【Integration】 menu and select 【Cloud Account Management】.
- Click 【Add Cloud Account】, select 【AWS】, and fill in the required information on the interface. If you have already configured the cloud account information, ignore this step.
- Click 【Test】, and if the test is successful, click 【Save】. If the test fails, please check if the relevant configuration information is correct and retest.
- Click 【Cloud Account Management】, and you can see the added cloud account in the list. Click the corresponding cloud account to enter the details page.
- Click the 【Integration】 button on the cloud account details page. In the
Not Installed
list, findAWS EventBridge
, and click the 【Install】 button to pop up the installation interface for installation.
Manual Activation Script¶
-
Log in to the Func console, click 【Script Market】, and enter the TrueWatch script market. Search for:
integration_aws_eventbridge
. -
Click 【Install】, then enter the corresponding parameters: AWS AK ID, AK Secret, and account name.
-
Click 【Deploy Startup Script】, the system will automatically create the
Startup
script set and automatically configure the corresponding startup scripts. -
After activation, you can see the corresponding automatic trigger configuration in 「Management / Automatic Trigger Configuration」. Click 【Execute】 to immediately execute once without waiting for the scheduled time. After a while, you can view the execution task records and corresponding logs.
Verification¶
- In 「Management / Automatic Trigger Configuration」, confirm whether the corresponding task has the automatic trigger configuration, and you can also view the corresponding task records and logs to check for any exceptions.
- In TrueWatch, check if asset information exists in 「Infrastructure / Custom」.
- In TrueWatch, check if there are corresponding monitoring data in 「Metrics」.
Metrics¶
After configuring Amazon Cloud Monitoring, the default measurement sets are as follows. You can collect more metrics by configuration Amazon Cloud Monitoring Metrics Details
Instance Metrics¶
The AWS/Events
namespace includes the following instance metrics.
Metric | Description |
---|---|
Invocations |
The number of times a rule invokes a target in response to an event. 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 sends this metric to CloudWatch only when it is not zero. Valid dimensions: RuleName. Unit: Count |
TriggeredRules |
The number of rules that have run and matched any event. You will not see this metric in CloudWatch until a rule is triggered. Valid dimensions: RuleName. Unit: Count |
## Objects |
The collected AWS EventBridge object data structure can be seen in 「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: The fields in
tags
may change with subsequent updates.
```