Question

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?

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top