﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Arch.CFramework.AppInternals.Components.MetricComponents.Attributes;

namespace mq.request
{
    [MetricScheduling(Circle = 1)]
    internal class RequestLatencyMetric : MqMetricBase
    {
        [HistogramMetric("latency", Duration = 2, MaxName = "latency.max", MinName = "latency.min", SumName = "latency.sum", AvgName = "latency.avg")]
        public int Value { get; set; }
    }
}
