Settings API - Span attributes schema table
Span attributes (builtin:span-attribute)
While Dynatrace automatically captures all OpenTracing and OpenTelemetry span attributes, it only stores span attribute values when the related keys are specified in the allow-list below. By omitting personal data you can meet your organization's privacy requirements and control the amount of stored monitoring data.
Schema ID | Schema groups | Scope |
---|---|---|
builtin:span-attribute |
| environment |
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:span-attribute |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:span-attribute | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:span-attribute |
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 | Label | Type | Description | Required |
---|---|---|---|---|
key | Key | text | Key of the span attribute to store | required |
masking | Masking | enum | If this attribute contains confidential data, turn on masking to conceal its value from users Introduce more granular control over the visibility of attribute values. | required |