Metrics.NET icon indicating copy to clipboard operation
Metrics.NET copied to clipboard

What is PropertyCounter

Open somaniab opened this issue 10 years ago • 4 comments

Hi ,

I am getting a Metric Named PropertyCounter in reports . what does it do ? how can i disable that ?

somaniab avatar Aug 04 '15 06:08 somaniab

There is no such metric in the Metrics.NET code. Are you sure it is not declared somewhere in your code?

etishor avatar Aug 05 '15 16:08 etishor

I have created two counter with different names . but this , i am not creating it . it is like this w3wp.propertyCounter .

somaniab avatar Aug 05 '15 17:08 somaniab

I might be able to provide more help if you could provide a repo that shows the issue.

etishor avatar Aug 06 '15 16:08 etishor

This is the only code i am using . this is my custom reporter class . It still print w3wp.propertyCounter even i am not using it anywhere in my code .

    protected override void ReportCounter(string name, CounterValue value, Unit unit, MetricTags tags)
    {
        //log the fields
    }

    protected override void ReportTimer(string name, TimerValue value, Unit unit, TimeUnit rateUnit, TimeUnit durationUnit, MetricTags tags)
    {
           //log the fields
    }

somaniab avatar Aug 07 '15 06:08 somaniab