This commit is contained in:
@@ -20,7 +20,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// </summary>
|
||||
[ApiController]
|
||||
[ApiVersion("8.0")]
|
||||
[Route("api/v{version:apiVersion}/[controller]")]
|
||||
[Route("api/v{version:apiVersion}/metric")]
|
||||
[Authorize]
|
||||
public class MetricsController : ControllerBase
|
||||
{
|
||||
@@ -49,7 +49,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Get metrics as text document
|
||||
/// </summary>
|
||||
/// <returns>Snapshot of metrics</returns>
|
||||
[HttpGet("TextSnapShot")]
|
||||
[HttpGet("textsnapshot")]
|
||||
public async Task<IActionResult> GetMetrics()
|
||||
{
|
||||
if (serverState.IsClosed)
|
||||
@@ -73,7 +73,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Get metrics as json object
|
||||
/// </summary>
|
||||
/// <returns>Snapshot of metrics</returns>
|
||||
[HttpGet("JsonSnapShot")]
|
||||
[HttpGet("jsonsnapshot")]
|
||||
public async Task<IActionResult> GetJsonMetrics()
|
||||
{
|
||||
if (serverState.IsClosed)
|
||||
|
||||
Reference in New Issue
Block a user