| Language | Accepted root values |
|---|---|
| Go | JSON serialized string |
| Java | JSON serialized string |
| PHP | Arrays, Objects |
Customization
Add Function Parameters
PHP 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.
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: