This is a guide on how to get started with Indigauge for the Bevy engine.
For more examples check out the examples in the repository or the bevy-mod-indigauge README.
Add the package to your game project.
Have the public api key available from the previous step.
This example initializes the plugin and starts a new session when the game is opened. The only thing that will be sent in automatically is any crash-events.
This example does multiple things:
F on their keyboard.Enable the tracing feature to forward structured log events (that include an
ig field) to Indigauge. This is useful for sending telemetry from existing
tracing-based instrumentation.
Cargo example:
Usage example:
The ig field must follow the same namespace.event rules as the ig_*
macros (see the Event Naming guide).
feedback (enabled by default): provides the in-game feedback panel and
related types. Requires some optional UI dependencies.panic_handler (enabled by default): capture native panics/crashes as events.tracing: enable tracing-layer integration.If you need a minimal dependency set (for example for WASM builds), disable
default features in Cargo.toml and opt-in to the features you need.