Skip to content

AWS EventBridge

AWS EventBridge display Metrics include event delivery latency, throughput, event size, 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 TrueWatch integration - extension - DataFlux Func (Automata): all prerequisites are automatically installed. Please continue with script installation.

If you deploy Func yourself, refer to Self-deployed Func

Installation Script

Note: Please prepare an Amazon AK that meets the requirements in advance (for simplicity, you can directly grant global read-only permission ReadOnlyAccess)

To synchronize monitoring data for AWS EventBridge cloud resources, we install the corresponding collection script: "TrueWatch Integration (AWS-EventBridge Collection)" (ID: truewatch_aws_eventbridge)

After clicking [Install], enter the corresponding parameters: Amazon AK, Amazon account name.

Click [Deploy Startup Script], and the system will automatically create a Startup script set and automatically configure the corresponding startup script.

Then, in the collection script, change the regions in collector_configs and cloudwatch_configs to the actual regions.

In addition, you can see the corresponding automatic trigger configuration in "Manage / 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.

We default collect some configurations, for details, see the Metrics column Custom Cloud Object Metrics Configuration

Verification

  1. In "Manage / Automatic Trigger Configuration", confirm whether the corresponding automatic trigger configuration exists for the corresponding task. You can also check the corresponding task records and logs to check for any abnormalities.
  2. On the TrueWatch platform, under "Infrastructure / Custom", check if there is asset information.
  3. On the TrueWatch platform, under "Metrics", check if there is corresponding monitoring data.

Metrics

After configuring Amazon-CloudWatch, the default Measurement set is 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 successful and failed invocations, but does not include throttling or retry attempts until they permanently fail. It does not include DeadLetterInvocations. Note: EventBridge only sends this metric to CloudWatch when it is not zero. Valid dimensions: RuleName. Unit: Count
TriggeredRules The number of rules that have run and matched any events. You will not see this metric until after rules have triggered CloudWatch. 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: Fields in tags may vary with subsequent updates