OptionalclientConfiguration for prisma client. Set to false to skip prisma.client spans.
OptionalenabledWhether to enable the plugin.
OptionalengineConfiguration for Prisma engine. Set to false to skip prisma.engine spans.
OptionalmeasuredWhether to measure the span. Can also be set to a key-value pair with span names as keys and booleans as values for more granular control.
OptionalserviceThe service name to be used for this plugin.
OptionaltruncateTruncate the resource name (e.g. the query) to the given length.
When set to true, truncates to 5000 characters (matching the
Datadog agent's default). When set to a number, truncates to that
many characters. This can help prevent large queries from blocking
the event loop during trace encoding.
This plugin automatically instruments the @prisma/client module.