TelemetrySink
interface TelemetrySink
Receives the performance and error signals emitted by Android Solid Services.
The libraries are deliberately free of any monitoring dependency: they emit through Telemetry, and nothing is reported until a host application installs a sink. Implement this interface to route those signals to your own backend — Firebase, Sentry, OpenTelemetry, or plain logs — then call Telemetry.install from Application.onCreate.
Implementations must be safe to call from any thread. They may throw: Telemetry isolates failures so that a broken sink cannot break the caller.
Functions
Link copied to clipboard
Reports a handled, non-fatal throwable together with contextual attributes.
Link copied to clipboard
Starts a span for an outbound HTTP request.
Link copied to clipboard
Starts a custom span named name.