ConstOptionaloptions: { recordErrorMessagesAsSpanAttributes?: boolean; recordFilePaths?: boolean }Configuration for this integration.
OptionalrecordErrorMessagesAsSpanAttributes?: booleanSetting this option to true will include the error messages of failed fs API calls as a span attribute.
Defaults to false.
OptionalrecordFilePaths?: booleanSetting this option to true will include any filepath arguments from your fs API calls as span attributes.
Defaults to false.
This integration will create spans for
fsAPI operations, like reading and writing files.WARNING: This integration may add significant overhead to your application. Especially in scenarios with a lot of file I/O, like for example when running a framework dev server, including this integration can massively slow down your application.