Package-level declarations

Types

Link copied to clipboard

Custom trace value that can be used to add unique values to a trace.

Link copied to clipboard
sealed interface Measure

Logging tool to measure the time between events. Use this tool to help decide how to instrument with the Trace.

Link copied to clipboard
object NoTrace : Trace

No-op implementation of Trace.

Link copied to clipboard

Entry point for creating performance metrics. This object can be used to measure or trace the time between events from different parts of the sdk. Be sure to complete the instances when you use this.

Link copied to clipboard
interface Trace

Interface to track performance of your app. This interface can be implemented in order to ingest performance traces with different cloud services. Use the SharedPerformance.setTraceFactory to construct your version of Trace.

Link copied to clipboard
interface Traceable

Performance traces have specific naming requirements. This guarantees the values abide by the required format.

Link copied to clipboard
fun interface TraceFactory

Factory to use to create a Trace instance. This gives the application the ability to implement a specific ingestion mechanism for the performance trace data. For example, Firebase can be used to track the performance of the Trace.

Link copied to clipboard

Every attribute or counter should have a unique name that is registered as part of this enum.

Link copied to clipboard

Every trace to be measured should have a unique name that is registered as part of this enum.

Link copied to clipboard

The set of all possible trace values.