Octri

autoInstrument

Traces common outbound calls with no other code. Call it once, after init. Calls to your monitoring address are never traced, so reporting can't trace itself.

Parameters

fetchbooleandefault: true

Node: every call through the global fetch becomes a span.

dbbooleandefault: true

Node: pg, mysql2 and ioredis calls become spans, for the ones installed.

httpbooleandefault: true

Python: requests and urllib. Ruby: Net::HTTP.

Example

Node
import { init, autoInstrument } from "@octri/node";

init({ /* ... */ });
autoInstrument();

In each language

LanguageCall
NodeautoInstrument()
Pythonoctri.auto_instrument()
GoNot available
RubyOctri.auto_instrument
JavaNot available
KotlinNot available
PHPNot available
RustNot available
SwiftNot available
DartNot available

For your own clients and modules, use instrument.