App Metrics Fork me on GitHub
Show / Hide Table of Contents

Class CounterOptions

Configuration of a that will be measured

Inheritance
System.Object
MetricValueOptionsBase
CounterOptions
Inherited Members
MetricValueOptionsBase.Context
MetricValueOptionsBase.MeasurementUnit
MetricValueOptionsBase.Name
MetricValueOptionsBase.Tags
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:App.Metrics.Core.Options
Assembly:cs.temp.dll.dll
Syntax
public class CounterOptions : MetricValueOptionsBase

Constructors

CounterOptions()

Declaration
public CounterOptions()

Properties

ReportItemPercentages

Gets or sets a value indicating whether the counter's set items should be reported. Defaults to true.

Declaration
public bool ReportItemPercentages { get; set; }
Property Value
Type Description
System.Boolean

true if [report item percentages]; otherwise, false.

ReportSetItems

Gets or sets a value indicating whether or not to report the counter's set items. Defaults to true.

Declaration
public bool ReportSetItems { get; set; }
Property Value
Type Description
System.Boolean

true if [report set items]; otherwise, false.

ResetOnReporting

Gets or sets a value indicating whether the counter should be reset when it is reported, otherwise counts are cummulative. Note: If using more than one reporter, the count will be reset for the first reporter which sends the value. Defaults to false.

Declaration
public bool ResetOnReporting { get; set; }
Property Value
Type Description
System.Boolean

true if [reset on reporting]; otherwise, false.

See Also

MetricValueOptionsBase
Back to top Copyright © 2017 Allan Hardy
Generated by DocFX