Retention and personal data
Set how many days the APM keeps your traces, logs, and metrics, which personal data is removed before storing, and how to delete all APM data.
In APM → Configuration and settings you decide how long telemetry is kept and which sensitive data is removed before it's stored.
Before you start
Administer permission in the APM module.
Change the retention
Go to APM → Configuration and settings, Retention card.
Adjust:
Traces and logs (days): up to the maximum your plan allows.
Metrics and aggregates (days): up to the maximum your plan allows.
Service inactive after (days without telemetry, 1 to 90): when a service becomes Inactive and stops showing on the map.
Click Save retention.
The oldest data is deleted automatically when its period expires.
Personal data redaction
Redaction is applied when the data is received, before it's stored. Credentials are always removed: Authorization and Cookie headers, Bearer and JWT tokens, private keys, and passwords in URLs and variables. In addition, sensitive data (SQL, URL, headers, exceptions, end user, and IP) is stored encrypted with your company's key.
In the Personal data redaction card, check what you want to replace. Each checkbox is saved as soon as you check it:
Values inside SQL (they become
?).URL query string values.
Email addresses.
Tax ID (RUT) (with a valid check digit).
Card numbers (validated with Luhn).
Client IPs (the network is stored, not the address).
If you need more, fill in Custom patterns (one per line, RE2 syntax, maximum 20) and Attributes that are also stored encrypted (one per line).
Click Save redaction.
Redaction helps you comply with Chile's Law 21.719 on personal data protection: whatever is redacted is never stored.
Delete all APM data
This action can't be undone. It deletes all traces, metrics, logs, services, and errors in your company's APM.
In APM → Configuration and settings, scroll down to Danger zone.
Click Delete all APM data.
Type
BORRARand click Delete.
Tokens are kept, but ingestion stays off until you click Enable APM again.