Chad Jessup
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/Microsoft.Tye.Hosting/TyeDashboardApi.cs
|
|
|
@ -37,7 +37,7 @@ namespace Microsoft.Tye.Hosting |
|
|
|
endpoints.MapGet("/api/v1/services/{name}", Service); |
|
|
|
endpoints.MapGet("/api/v1/logs/{name}", Logs); |
|
|
|
endpoints.MapGet("/api/v1/metrics", AllMetrics); |
|
|
|
endpoints.MapGet("/api/v1/metrics/{name}", Metics); |
|
|
|
endpoints.MapGet("/api/v1/metrics/{name}", Metrics); |
|
|
|
} |
|
|
|
|
|
|
|
private Task ServiceIndex(HttpContext context) |
|
|
|
@ -136,7 +136,7 @@ namespace Microsoft.Tye.Hosting |
|
|
|
await context.Response.WriteAsync(sb.ToString()); |
|
|
|
} |
|
|
|
|
|
|
|
private async Task Metics(HttpContext context) |
|
|
|
private async Task Metrics(HttpContext context) |
|
|
|
{ |
|
|
|
var app = context.RequestServices.GetRequiredService<Tye.Hosting.Model.Application>(); |
|
|
|
|
|
|
|
|