mirror of
https://github.com/Caraxi/mare.server.git
synced 2026-02-15 17:27:42 +01:00
add http metrics
This commit is contained in:
parent
827acf0282
commit
ea344468f2
1 changed files with 2 additions and 0 deletions
|
|
@ -96,6 +96,8 @@ public class Startup
|
||||||
var metricServer = new KestrelMetricServer(4981);
|
var metricServer = new KestrelMetricServer(4981);
|
||||||
metricServer.Start();
|
metricServer.Start();
|
||||||
|
|
||||||
|
app.UseHttpMetrics();
|
||||||
|
|
||||||
app.UseAuthentication();
|
app.UseAuthentication();
|
||||||
app.UseAuthorization();
|
app.UseAuthorization();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue