com.eg.agent.android.measurement.producer.MethodMeasurementProducer Maven / Gradle / Ivy
package com.eg.agent.android.measurement.producer;
/*import com.newrelic.agent.android.measurement.MeasurementType;
import com.newrelic.agent.android.measurement.MethodMeasurement;
import com.newrelic.agent.android.tracing.Trace;*/
import com.eg.agent.android.measurement.MeasurementType;
import com.eg.agent.android.measurement.MethodMeasurement;
import com.eg.agent.android.trace.Trace;
public class MethodMeasurementProducer extends BaseMeasurementProducer {
public MethodMeasurementProducer() {
super(MeasurementType.Method);
}
public void produceMeasurement(Trace trace) {
produceMeasurement(new MethodMeasurement(trace.displayName, trace.scope, trace.entryTimestamp, trace.exitTimestamp, trace.exclusiveTime, trace.getCategory()));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy