Telemetry
object Telemetry
The entry point for Android Solid Services telemetry.
Every signal the SDK emits passes through here. Until a host application calls install, all calls are no-ops, so the libraries add no monitoring dependency and send nothing anywhere.
class MyApplication : Application() {
override fun onCreate() {
super.onCreate()
Telemetry.install(MyTelemetrySink())
}
}Content copied to clipboard
All members are thread-safe, and no member ever throws: an exception raised by the installed sink is swallowed rather than propagated to the calling SDK code.
Properties
Functions
Link copied to clipboard
Installs sink as the destination for all subsequent signals, replacing any previous one.
Link copied to clipboard
Reports a handled, non-fatal throwable together with contextual attributes.
Link copied to clipboard
Link copied to clipboard
Starts a custom span named name.