Skip to content
Nuvyntra Labs

Documentation

Capture

What Development stores, what Production drops, and the fields ApiLens never reads.

Follow the host environment

ApiLensOptions.Capture left null follows the host. Development uses redacted SQL text. Every other environment keeps timings, counts, status codes, and trace ids, and drops SQL text after the N+1 grouping.

DevelopmentProduction
DashboardOn, unless EnableDashboard is falseOff
SQL textStored after literal redactionDropped after grouping
Parameter valuesNever readNever read
Request and response bodiesNever storedNever stored
HTTP query stringsNot stored (host and status only)Not stored
Exception textType name onlyType name only

What is never stored

  • SQL parameter values. The listener may store a parameter count. It never reads the values.
  • Request bodies and response bodies.
  • HTTP query strings. Outbound calls keep the host and status code.
  • Exception messages and stack traces. The report stores Exception.GetType().Name only.

In Development, SQL text is stored after literal redaction. String literals become '?' and numeric literals become ?. Production runs that same grouping, then clears the command text on the stored operations.

Discussion

Comment on ApiLens. The thread lives on this component's GitHub repository. Sign in with GitHub — Giscus uses Discussions, Utterances uses Issues.

Issues are not enabled on this repository

Open the conversation on GitHub, or use the Giscus tab if Discussions are available.