// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Text.Json.Serialization;
namespace AzureMcp.Monitor.Models;
/// <summary>
/// Represents a compact metric result optimized for minimal JSON payload
/// </summary>
public class MetricResult
{
/// <summary>
/// The metric name
/// </summary>
[JsonPropertyName("name")]
public string Name { get; set; } = string.Empty;
/// <summary>
/// The unit of measurement
/// </summary>
[JsonPropertyName("unit")]
public string Unit { get; set; } = string.Empty;
/// <summary>
/// The compact time series data for this metric
/// </summary>
[JsonPropertyName("timeSeries")]
public List<MetricTimeSeries> TimeSeries { get; set; } = new();
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Azure/azure-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server