# ExperimentalWorkMetricsApi

Artifact: [androidx.work:work-analytics](https://developer.android.com/jetpack/androidx/releases/work) [View Source](https://cs.android.com/search?q=file:androidx/work/analytics/ExperimentalWorkMetricsApi.kt+class:androidx.work.analytics.ExperimentalWorkMetricsApi) Added in [2.12.0](https://developer.android.com/jetpack/androidx/releases/work#2.12.0)

*** ** * ** ***


```
@Retention(value = AnnotationRetention.BINARY)
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
public annotation ExperimentalWorkMetricsApi
```

<br />

*** ** * ** ***

Annotation indicating experimental API for WorkManager's metrics and analytics features.

These APIs allow developers to inspect and track detailed historical/lifecycle information.

As a result, APIs annotated with `ExperimentalWorkMetricsApi` are subject to change or removal and require opt-in.