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

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