Dharmik Bhandari
Dharmik Bhandari

Reputation: 1702

RecordMetric vs RecordResponseTimeMetric in new relic

I'm using .NET agent custom metrics for asp.net mvc application. I'm referring this api

I'm not clear between RecordMetric and RecordResponseTimeMetric

What are basic differences between these two functions?

Upvotes: 1

Views: 1592

Answers (1)

Scalayer
Scalayer

Reputation: 1217

RecordMetric(System.String,System.Single)

Records a metric value for the given name. Supports all application types via custom dashboards.

RecordResponseTimeMetric(System.String,System.Int64)

Records a response time in milliseconds for the given metric name. Supports all application types via custom dashboards.

https://docs.newrelic.com/docs/dotnet/the-net-agent-api

Upvotes: 2

Related Questions