Distributed traces are stored in Grail buckets with a retention period from 10 days up to 10 years. Traces might contain personal and sensitive data, for which you can configure user access. Buckets can improve query performance by reducing query execution time and the scope of data read.
This article contains information on how to modify user access to trace data and sensitive information and how to configure trace data storage.
This article is intended for administrators controlling identity and access management.
openpipeline:configurations:write
and openpipeline:configurations:read
permissionsTo configure user permission to fetch span data from buckets and tables in Grail and for Distributed Tracing data
ALLOW storage:buckets:read WHERE storage:bucket-name = "spans";ALLOW storage:spans:read;ALLOW storage:entities:read;ALLOW storage:fieldsets:read
Users can now access all stored trace data and leverage it in Grail according to sensitive information permissions. To change which data users can access, you can modify environment-level data storage and user access to sensitive information.
To configure access to sensitive information in compliance with your company's privacy policies
ALLOW storage:fieldsets:read WHERE storage:fieldset-name="builtin-sensitive-spans"
The fields' attributes are client.ip
, db.connection_string
, http.request.header.referer
, url.full
, url.query
, and db.query.parameters
. To learn more about the attributes, see Global field reference.
ALLOW storage:fieldsets:read WHERE storage:fieldset-name="builtin-request-attributes-spans"
Users can now access sensitive data according to the configured permissions.
To grant permissions to manage Distributed Tracing app options
To view segments
ALLOW storage:filter-segments:read
To view log data
ALLOW storage:logs:read
To manage facets
ALLOW state:user-app-states:read, state:user-app-states:write, state:user-app-states:delete
To configure which span data is stored and available in your latest Dynatrace environment
Only attributes that are not blocked will be forwarded to Grail.
Dynatrace default retention period for spans is 10 days (default_span
). You can create new buckets with custom retention periods to store trace data for specific purposes or for longer time, up to 10 years.
You created a new bucket with a custom retention period for records of the data type span. Assign trace data to it to start retaining it according to your selection.
To store trace data in Grail you need to assign it to a bucket via OpenPipeline.
Trace data that matches the route and the pipeline conditions is assigned to the bucket and stored according to the specified retention period.