You can include extra information in traces, analytics, errors and http failures by using the atatus.set_custom_data() function.

Compatibility

Compatible with all Python agent versions.

Syntax

atatus.set_custom_data(data)

Parameter

Parameter Type Description
data Dictionary (Required) Custom data.

Example

copy
icon/buttons/copy
import atatus

myDict = {
    'product': 'mobile',
    'price': 1200,
    'paid': True
}

atatus.set_custom_data(myDict)