Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

View Click Instrumentation

Status: development

This instrumentation has the ability to generate events when the user performs click actions. A click is not differentiated from touch or other input pointer events.

When an Activity becomes active, the instrumentation begins tracking its window by registering a callback that receives events.

This instrumentation is not currently enabled by default.

Telemetry

Data produced by this instrumentation will have an instrumentation scope name of io.opentelemetry.android.instrumentation.view.click. This instrumentation produces the following telemetry:

Clicks

  • Type: Event

  • Name: app.screen.click

  • Description: This event is emitted when the user taps or clicks on the screen.

  • See the semantic convention definition for more details.

  • Type: Event

  • Name: event.app.widget.click

  • Description: This event is emitted when the user taps on a view. Jetpack compose views are not currently supported.

  • See the semantic convention definition for more details.

Installation

Adding dependencies

implementation("io.opentelemetry.android.instrumentation:view-click:LATEST_VERSION") // <1>
  1. You can find the latest version here.