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

Compatibility

Compatible with all Ruby agent versions.

Syntax

set_custom_data(data)

Parameter

Parameter Type Description
data hash (Required) Custom data key value pair.

Example

copy
icon/buttons/copy
Atatus.set_custom_data(company: "atatus", name: "jorden", age: 24)