Settings API - Preferences schema table
Preferences (builtin:attributes-preferences)
Define the default behavior of persisting OpenTelemetry attributes. You can either choose to store all attributes except certain blocked attributes or only store explicitly allowed attributes.
Schema ID
Schema groups
Scope
builtin:attributes-preferences
group:service-monitoring
group:service-monitoring.spans
environment
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:attributes-preferences |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:attributes-preferences | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:attributes-preferences |
Authentication
To execute this request, you need an access token with Read settings (settings.read
) scope. To learn how to obtain and use it, see Tokens and authentication.
Parameters
Property
Type
Description
Required
persistenceMode
enum
ALLOW_ALL_ATTRIBUTES
BLOCK_ALL_ATTRIBUTES
required