Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion sentry/src/main/java/io/sentry/metrics/MetricsUnit.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
/**
* String constants for metric units.
*
* <p>These constants represent the API names of measurement units that can be used with metrics.
* <p>These constants are for the Metrics product and the {@link IMetricsApi} exposed through {@link
* io.sentry.Sentry#metrics()} and {@link io.sentry.IScopes#metrics()}. {@link
* io.sentry.MeasurementUnit} is instead used by transaction and span measurement APIs, including
* mobile vitals.
*
* <p>Metrics APIs accept strings so older SDK versions can use units introduced after their
* release.
*/
public final class MetricsUnit {

Expand Down
Loading