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

Class MetricValueOptionsBase

Configuration of a Metric that will be measured

Inheritance
System.Object
MetricValueOptionsBase
Inherited Members
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 abstract class MetricValueOptionsBase

Constructors

MetricValueOptionsBase()

Declaration
protected MetricValueOptionsBase()

Properties

Context

Gets or sets the context for which the metric belongs e.g. Application.WebRequests

Declaration
public string Context { get; set; }
Property Value
Type Description
System.String

The context.

MeasurementUnit

Gets or sets the description of what is being measured, a Unit is something that is expressed in MB, kB for example

Declaration
public Unit MeasurementUnit { get; set; }
Property Value
Type Description
Unit

The measurement unit.

Name

Gets or sets the name of the Metric being measure, this should be unique per MetricType

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The name.

Tags

Gets or sets the associated with the metric, this is useful for grouping metrics when visualizing

Declaration
public MetricTags Tags { get; set; }
Property Value
Type Description
MetricTags

The tags.

Back to top Copyright © 2017 Allan Hardy
Generated by DocFX