Skip to content

AWS Timestream

The displayed Metrics of AWS Timestream include the number of system errors (internal service errors), the sum of invalid requests for the current AWS region and current AWS account, the time and sample count of successful requests, the amount of data stored in memory, and the amount of data stored in magnetic storage, etc.

Configuration

Install Func

It is recommended to activate the TrueWatch integration - extension - DataFlux Func (Automata): all prerequisites are automatically installed, please continue with the script installation.

If deploying Func manually, refer to Manual Func Deployment

Install Script

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

Managed Version Activation Script

  1. Log in to the TrueWatch console
  2. Click on the 【Integration】 menu, select 【Cloud Account Management】
  3. Click on 【Add Cloud Account】, select 【AWS】, and fill in the required information on the interface. If the cloud account information has been configured before, ignore this step
  4. Click on 【Test】, if the test is successful, click on 【Save】. If the test fails, please check if the relevant configuration information is correct and retest
  5. In the 【Cloud Account Management】 list, you can see the added cloud account. Click on the corresponding cloud account to enter the details page
  6. Click on the 【Integration】 button on the cloud account details page, find AWS Timestream under the Not Installed list, click on the 【Install】 button, and the installation interface will pop up for installation.

Manual Activation Script

  1. Log in to the Func console, click on 【Script Market】, enter the TrueWatch script market, and search for integration_aws_timestream

  2. After clicking on 【Install】, input the corresponding parameters: AWS AK ID, AK Secret, and account name.

  3. Click on 【Deploy Startup Script】, the system will automatically create the Startup script set and automatically configure the corresponding startup script.

  4. After activation, you can see the corresponding automatic trigger configuration in 「Management / Automatic Trigger Configuration」. Click on 【Execute】 to immediately execute once without waiting for the scheduled time. After a while, you can check the execution task records and corresponding logs.

Verification

  1. In 「Management / Automatic Trigger Configuration」, confirm whether the corresponding task has the corresponding automatic trigger configuration, and you can also check the corresponding task records and logs to see if there are any exceptions
  2. In TrueWatch, check if asset information exists in 「Infrastructure / Custom」
  3. In TrueWatch, check if there are corresponding monitoring data in 「Metrics」

Metrics

After configuring Amazon CloudWatch, the default Measurement is as follows. More Metrics can be collected through configuration:

Amazon CloudWatch AWS Timestream Metrics Details

Metric Name Description Unit Valid Statistics
SystemErrors Requests to Timestream that generate system errors during the specified period. System errors usually indicate internal service errors. Count Sum, SampleCount (displayed as sample count in Amazon Timestream console)
UserErrors Requests to Timestream that generate InvalidRequest errors during the specified period. InvalidRequest usually indicates client errors, such as invalid parameter combinations, attempts to update non-existent tables, or incorrect request signatures. UserErrors represent the sum of invalid requests for the current AWS region and current AWS account. Count Sum, SampleCount (displayed as sample count in Amazon Timestream console)
SuccessfulRequestLatency Successful requests to Timestream during the specified period. SuccessfulRequestLatency can provide two types of information: the running time of successful requests (Minimum, Maximum, Sum, or Average). The number of successful requests (SampleCount). SuccessfulRequestLatency only reflects activities within Timestream, not including network latency or client activities. Milliseconds Average, Minimum, Maximum, Sum, SampleCount (displayed as sample count in Amazon Timestream console)
MemoryCumulativeBytesMetered The amount of data stored in memory, in bytes. Bytes Average
MagneticCumulativeBytesMetered The amount of data stored in magnetic storage, in bytes. Bytes Average