Integrate Tair (Redis OSS-compatible)
Integrate Tair (Redis OSS-compatible) metrics and logs into CloudMonitor 2.0 for centralized instance monitoring.
Prerequisites
To integrate metrics, you must activate Prometheus Service and Hybrid Cloud Monitoring.
Only Community or Enterprise (Performance-enhanced) instances running Redis 4.0 or later with the latest minor version are supported.
Limitations
If you use a RAM user to set up the integration, grant the
AliyunCloudMonitorFullAccesssystem policy to the RAM user.You cannot write other data to the dedicated LogStore, modify or delete its index, or change its properties. Queries, statistics, and alerts are fully supported.
You cannot change the data retention period for a dedicated LogStore in the Simple Log Service console or by using an API or SDK. You can change it in the ApsaraDB for Redis console.
Simple Log Service must be active and have no overdue payments. Otherwise, the full-log analysis feature is suspended.
Billing
Integrating Tair involves different fees for metrics and logs. Integrating only metrics does not incur database log delivery fees. If you integrate logs, the following fees may apply depending on the features that you enable.
Metric integration incurs real-time export fees for Hybrid Cloud Monitoring and usage fees for Prometheus Service. Integrating second-level metrics incurs second-level monitoring fees for Hybrid Cloud Monitoring.
Audit log fees: Tair (Redis OSS-compatible) audit logs incur pay-as-you-go fees based on storage space and retention period. Pricing varies by region. For details, see Tair (Redis OSS-compatible) billing items.
Log delivery service fees: Charged by Database Autonomy Service (DAS). The DAS log delivery service has changed from free to paid and will be gradually rolled out starting in November 2026. The billing start time, applicable products, and log types are subject to the DAS announcement. For more information, see DAS log delivery service commercialization.
Writing, storing, or querying slow query logs and running logs is free of charge. This free scope covers only writing, storage, and queries on the SLS side. It does not include DAS log delivery service fees. Logs delivered through DAS are charged additional delivery fees based on DAS billing rules.
If the LogStore uses the pay-by-function billing mode, sending Redis logs to Simple Log Service incurs charges for data transformation, data shipping, and outbound traffic. You incur outbound traffic fees when you stream data from a public endpoint. These are SLS data shipping fees and are different from DAS log delivery service fees. For more information, see Billing items for the pay-by-function mode.
If the LogStore uses the pay-by-data-volume billing mode, sending Redis logs to Simple Log Service incurs charges based on factors such as the volume of raw data written. For more information, see Billing items for the pay-by-data-volume mode.
Integrate data
Log on to the CloudMonitor 2.0 console. Select the target workspace and, in the left-side navigation pane, click Integration Center. Click Tair (Redis OSS-compatible) to start the integration.
Create or select a Policy Name. Select the Entity Scope for the integration.
Select the observable data to integrate, and then click OK.
NoteBefore you select observable data, review the billing information. Integrating only Tair metrics does not incur database log delivery fees. If you integrate Tair logs, audit log fees, DAS log delivery service fees, and SLS fees may apply.
Observable data
Configuration
Tair metrics
Tag Keys: Specify instance tag keys to enrich your metrics. The tag key-value pairs are automatically injected into the metric labels.
Second-level monitoring: Integrates second-level metrics from the cloud service. Enabled by default.
After the integration is complete, view the integrated entities and observability data in Entity Explorer or Database Observability.
Storage policy
When you integrate Tair, CloudMonitor 2.0 automatically creates a Simple Log Service LogStore and a Prometheus instance to store observability data.
Type | Default storage location | Notes |
Metrics | Prometheus instance: RegionShare:{{workspaceName}}:{{regionId}} | None |
Audit log | SLS Project:nosql-{{userId}}-{{regionId}} SLS LogStore:redis_audit_log_standard | Stores ApsaraDB for Redis audit logs for operational review and security compliance.
|
Slow query log and running log | SLS Project:nosql-{{userId}}-{{regionId}} SLS LogStore:redis_slow_run_log | Stores slow query logs and running logs from Tair (Redis OSS-compatible).
|
Delete or modify an integration policy
To cancel the Tair (Redis OSS-compatible) integration, go to the Integration Management page in the Integration Center. Find the integration policy and click Edit or Delete.
Editing or deleting an integration policy affects only the collection and storage configuration on the CloudMonitor 2.0 side. It does not automatically disable the log audit feature on the Tair side, nor does it automatically stop log delivery tasks that have been created. To stop the corresponding fees, take the following actions:
Stop log delivery service fees: Close the delivery task for the relevant logs on the DAS log delivery page or at the corresponding CloudLens entry. Whether you close the delivery task for audit logs, slow query logs, or running logs, no more delivery service fees are incurred after the task is closed, and historical data that has been delivered is retained.
Stop audit log fees: Disable the log audit feature in the Tair console. The audit log retention period is also managed in the Tair console and cannot be changed on the SLS side.
Handle historical SLS data: Data that has been written to SLS continues to incur storage and other fees based on SLS billing rules. Deleting an SLS Project or LogStore does not replace stopping DAS billing. For more information, see Stop billing.