configureInstrumentation function

void configureInstrumentation(
  1. Instrumentation instrumentation
)

Registers an instrumentation provider.

May be called multiple times to stack providers; they compose as a chain in registration order. Configure providers before creating Genkit.

Implementation

void configureInstrumentation(Instrumentation instrumentation) {
  _instrumentations.add(instrumentation);
}