Package io.sentry.metrics
Class MetricResourceIdentifier
java.lang.Object
io.sentry.metrics.MetricResourceIdentifier
Uniquely identifies a metric resource. Used for caching the
CodeLocations for a given
metric.-
Constructor Summary
ConstructorsConstructorDescriptionMetricResourceIdentifier(@NotNull MetricType metricType, @NotNull String key, @Nullable MeasurementUnit unit) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull StringgetKey()@NotNull MetricType@Nullable MeasurementUnitgetUnit()inthashCode()toString()Returns a string representation of the metric resource identifier.
-
Constructor Details
-
MetricResourceIdentifier
public MetricResourceIdentifier(@NotNull @NotNull MetricType metricType, @NotNull @NotNull String key, @Nullable @Nullable MeasurementUnit unit)
-
-
Method Details