Pregunta

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?

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top