newrelic / newrelic-java-agent

The New Relic Java agent
Apache License 2.0
202 stars 144 forks source link

Use recordResponseTimeMetric instead recordMetric in NewRelic agent. #2128

Closed Matzz closed 2 weeks ago

Matzz commented 2 weeks ago

It seams that

    public static void recordResponseTimeMetric(String name, long millis) {
        getAgent().getMetricAggregator().recordMetric(name, millis);
    }

recordResponseTimeMetric calls recordMetric in MetricAggregator instead of recordResponseTimeMetric.

CLAassistant commented 2 weeks ago

CLA assistant check
All committers have signed the CLA.