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 IDSchema groupsScope
    builtin:attributes-preferences
    • group:service-monitoring
    • group:service-monitoring.spans
    environment
    GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:attributes-preferences
    SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:attributes-preferences
    Environment ActiveGatehttps://{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

    PropertyTypeDescriptionRequired
    persistenceModeenum
    • ALLOW_ALL_ATTRIBUTES
    • BLOCK_ALL_ATTRIBUTES
    required