Skip to content

AWS EventBridge

AWS EventBridge metrics include event delivery latency, throughput, event scale, and scalability, reflecting EventBridge performance and reliability when handling large-scale event streams and real-time data delivery.

Configuration

Install Func

We recommend enabling TrueWatch Integrations - Extensions - Hosted Func: all prerequisites are installed automatically. Continue with script installation.

To deploy Func yourself, see Self-hosted Func.

Install Script

Note: Please prepare the required Amazon AK in advance (for simplicity, you can grant global read-only permissions ReadOnlyAccess)

Activate Script in DataFlux Func (Automata)

  1. Log in to the TrueWatch console
  2. Click the 【Integration】 menu and select 【Cloud Account Management】
  3. Click 【Add Cloud Account】, select 【AWS】, and fill in the required information on the interface. If you have already configured the cloud account information before, ignore this step
  4. Click 【Test】, and if the test is successful, click 【Save】. If the test fails, please check if the relevant configuration information is correct and test again
  5. 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
  6. On the cloud account details page, click [Integrations]. UnderNot InstalledfindAWS EventBridge, click [Install], and complete installation in the dialog.

Activate Script Manually

  1. Sign in to the Func console, click [Script Market], openTrueWatchScript Market, and search for:integration_aws_eventbridge

  2. Click 【Install】, then enter the corresponding parameters: AWS AK ID, AK Secret, and account name.

  3. Click [Deploy Startup Script]. The system creates the Startup script set and configures the corresponding startup script automatically.

  4. Once enabled, view the trigger under Management / Automatic Trigger Configuration. Click [Run] to execute immediately without waiting for the schedule. After a short wait, view the execution records and logs.

Verification

  1. Under [Management / Automatic Trigger Configuration], confirm that an automatic trigger configuration exists for the task, and check the task records and logs for errors.
  2. In TrueWatch, check [Infrastructure / Custom] for asset information.
  3. In TrueWatch, check [Metrics] for the corresponding monitoring data.

Metrics

After configuring Amazon cloud monitoring, the default metrics are listed below. Configure additional metrics as needed. Amazon Cloud Monitoring Metric Details

Instance Metrics

AWS/Events namespace includes the following instance metrics.

Metrics Description
Invocations Target invocations by a rule in response to events, including successful and failed invocations. Throttled or retried attempts are excluded until they fail permanently. Excludes DeadLetterInvocations. EventBridge sends this metric to CloudWatch only when nonzero. Valid dimension: RuleName. Unit: count
TriggeredRules Rules that ran and matched an event. This metric is not visible in CloudWatch until a rule is triggered. Valid dimension: RuleName. Unit: count
MatchedEvents_Sum Events matching the specified rule. Valid dimension: RuleName. Unit: count

Objects

Collected AWS EventBridge object structure. View object data 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