using System;

namespace skyscraper5.Skyscraper.Webserver.Metrics
{
    [AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
    sealed class MetricTypeAttribute : Attribute
    {
        public MetricType MetricType { get; }

        public MetricTypeAttribute(MetricType metricType)
        {
            MetricType = metricType;
        }
    }

    enum MetricType
    {
        Counter,
        Gauge
    }
}
