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 String
getKey()
@NotNull MetricType
@Nullable MeasurementUnit
getUnit()
int
hashCode()
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