-
public final class SpanMetricsDetermines which metrics are reported for an individual span.
nullvalues indicate default behaviour where metrics are reported only for first class (SpanOptions.setFirstClass) spans.If a metric is not being gathered (due to being turned off with EnabledMetrics) then enabling it for individual spans will have no effect.
-
-
Constructor Summary
Constructors Constructor Description SpanMetrics(Boolean rendering, Boolean cpu, Boolean memory)
-
Method Summary
Modifier and Type Method Description final BooleangetRendering()Determines whether rendering metrics (slow and frozen frames) are reported for the span. final BooleangetCpu()Determines whether CPU use is reported for the span. final BooleangetMemory()Determines whether memory consumption is reported for the span. Booleanequals(Object other)IntegerhashCode()StringtoString()-
-
Method Detail
-
getRendering
final Boolean getRendering()
Determines whether rendering metrics (slow and frozen frames) are reported for the span.
-
-
-
-