Skip to main content
PHP, Ruby, and the languages supported through our OpenTelemetry beta can set function parameters. Function parameters are designated for background jobs and scripts, not for storing parameters for each function call in a trace.
🔐 Do not send Personal Identifiable Information (PII) to AppSignal. Filter PII (e.g., names, emails) and use an ID, hash, or pseudonymized identifier instead.

Use Link Templates to link them back in your app.
For security and privacy we recommend filtering function parameters before sending them to our servers. See the table below for a list of accepted root values per language. Each nested object can contain values that result in valid JSON (strings, integers, floats, booleans, nulls, etc.). The below code sample shows how to set custom request parameters:
For certain languages, additional setup is required. Please follow the instructions for these languages:

Function parameters in AppSignal for Ruby

In collector mode, function parameters are reported as their own attribute, separate from the request payload and the query parameters. Otherwise all three write to the same parameters and show up in the same box. See parameter types in AppSignal for Ruby for the three methods and when to use each.

Limitations

If the application sets function parameters multiple times, the latest set value is leading.