Hi,
I want to add Prometheus to a ServiceStack .NET core (3.1) application. But 
seems the regular way to add the middleware is not working.
like, app.UseMetricServer(); is not working.
Then I found a work around, that creating a MerticServer in Configure() 
method like this:
var metricServer = new MetricServer(1234);
 metricServer.Start();
But this requires run the Visual Studio as Admin mode.
Now I am getting the ServerMetrics for the new endpoint, but can't get 
*HttpMetrics* after adding the app.UseHttpMetrics();
So what's the actual way to configure and get default HttpMetrics for 
endpoints in ServiceStack. 

Thanks, 
 Samrat

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/936fb4f9-ad10-4db8-bfcd-6201707b5dd2n%40googlegroups.com.

Reply via email to