Package io.sentry.metrics
Class EncodedMetrics
java.lang.Object
io.sentry.metrics.EncodedMetrics
EncodedMetrics is a class that represents a collection of aggregated metrics, grouped by buckets.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Encodes the metrics into a Statsd compatible format.
-
Constructor Details
-
EncodedMetrics
-
-
Method Details
-
encodeToStatsd
public byte[] encodeToStatsd()Encodes the metrics into a Statsd compatible format.See github.com/statsd/statsd#usage and getsentry.github.io/relay/relay_metrics/index.html for more details about the format.
- Returns:
- the encoded metrics
-