NAME

Sentry::Integration::LibXSLT - Spans for XML::LibXSLT

DESCRIPTION

Enabled by default. Records XSLT with XML::LibXSLT as spans named after the stylesheet: its file name or the location of its document (URI), <inline> for one parsed from text, <unknown> for one compiled before the integration was installed. Documents and parameters are never recorded.

  • template.parse: parse_stylesheet and parse_stylesheet_file, which compile the stylesheet (and what it imports or includes).

  • template.render: transform, transform_file and transform_into_chars of the compiled stylesheet. Like a template, a stylesheet renders its output from data, so its spans are named and grouped like those of template engines.

Spans of Perl functions the stylesheet calls (register_function) are children of the stylesheet's span. A transformation that fails gets status internal_error; return values and errors are unchanged. Serializing the result (output_as_bytes and the like) is not recorded.

ATTRIBUTES

See "ATTRIBUTES" in Sentry::Integration::Base.

METHODS

install

See "install" in Sentry::Integration::Base.

SPAN ORIGIN

origin

The spans of this integration have the origin auto.template.libxslt (see "origin" in Sentry::Integration::Base).