Skip to content

Collector 'AWS-Keyspaces' Configuration Manual

Before reading this document, please read:

Tip

Before using this collector, you must install the 'Integration Core Package' and its accompanying third-party dependencies

Tip

Multithreading is enabled by default (default five threads). If you need to change the thread size, you can set the environment variable COLLECTOR_THREAD_POOL_SIZE

1. Configuration Structure

The configuration structure of this collector is as follows:

Field Type Required Description
regions list Required List of regions to be collected
regions[#] str Required Region ID. For example: 'cn-north-1'
See appendix for full list

2. Configuration Example

Collect instance data from the Beijing region

collector_configs = {
    'regions': ['cn-north-1' ]
}

3. Data Reporting Format

After data is successfully synchronized, you can view the data in the 'Infrastructure-Resource Catalog' of TrueWatch.

An example of the reported data is as follows:

{
  "measurement": "aws_keyspaces",
  "tags": {
    "name"                 : "xxxxx",
    "keyspaceName"         : "xxxxx",
    "resourceArn"          : "xxxx",
    "RegionId"             : "cn-north-1",
    "replicationStrategy"  : "SINGLE_REGION",
  },
  "fields": {
    "message"              : "{Instance JSON Data}"
  }
}
Note

Fields in tags and fields may change with subsequent updates

X. Appendix

Please refer to the AWS official documentation: