0.58.0-beta-sfx6
This release contains updates to Drupal instrumentation:
- Drupal user IDs and roles appear at the root span under
drupal.user.id
anddrupal.user.roles
tags. - The executed Drupal view is available under
drupal.view.execute
span with the view name appearing underdrupal.view
tag. - New tag
drupal.module
underdrupal.hook.*
spans (ormodule_invoke_*
for Drupal 7), showing which modules were executed during the hook. - Request headers can now be set to be captured with the
SIGNALFX_CAPTURE_REQUEST_HEADERS
environment variable. For example settingSIGNALFX_CAPTURE_REQUEST_HEADERS=User-Agent,X-My-Header
will produce 2 tags under the root span:http.request.header.user_agent
andhttp.request.header.x_my_header
. - PHP environment variables can be set to be captured under the root span via
SIGNALFX_CAPTURE_ENV_VARS
env variable. Example:SIGNALFX_CAPTURE_ENV_VARS=MY_ENV_VAR
will addphp.env.my_env_var
tag. file_get_contents
is now traced, but is disabled by default. Enabled viaSIGNALFX_TRACE_FILE_GET_CONTENTS
environment variable:SIGNALFX_TRACE_FILE_GET_CONTENTS=true
.json_decode
,json_encode
are traced, disabled by default. Enabled viaSIGNALFX_TRACE_JSON
environment variable:SIGNALFX_TRACE_JSON=true
.- Drupal 8+: controller names are attached as
drupal.controller
for some of thedrupal.event.*
spans, e.g.drupal.event.kernel.controller
ordrupal.event.kernel.request
.