Settings API - Resource attributes schema table
Resource attributes (builtin:resource-attribute)
While Dynatrace automatically captures all OpenTracing and OpenTelemetry resource attributes, to prevent the accidental storage of personal data, only the values of resource attributes for which a related key is specified in the allow-list below are stored. This enables you to meet your privacy requirements while controlling the amount of monitoring data that's stored.
Schema ID | Schema groups | Scope |
---|---|---|
builtin:resource-attribute |
| environment |
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:resource-attribute |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:resource-attribute | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:resource-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 |
---|---|---|---|---|
attributeKeys | Attribute key allow-list | set | - | required |
Request body objects
The RuleItem
object
Property | Label | Type | Description | Required |
---|---|---|---|---|
enabled | Enabled | boolean | If this is true, the value of the specified key is stored. | required |
attributeKey | Attribute key | text | The attribute key service.name and attribute keys in the namespace dt. are always allow-listed. | 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 |