Skip to content

Commit

Permalink
Use recordResponseTimeMetric instead recordMetric in NewRelic agent.
Browse files Browse the repository at this point in the history
It seams that 
```
    public static void recordResponseTimeMetric(String name, long millis) {
        getAgent().getMetricAggregator().recordMetric(name, millis);
    }
```
recordResponseTimeMetric calls recordMetric in MetricAggregator instead of recordResponseTimeMetric.
  • Loading branch information
Matzz authored Nov 4, 2024
1 parent d1111df commit 4674860
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static void recordMetric(String name, float value) {
* @since 1.3.0
*/
public static void recordResponseTimeMetric(String name, long millis) {
getAgent().getMetricAggregator().recordMetric(name, millis);
getAgent().getMetricAggregator().recordResponseTimeMetric(name, millis);
}

/**
Expand Down

0 comments on commit 4674860

Please sign in to comment.