Class MetricsContext
MetricsContext's are a way of grouping metrics withing a context, for example we can record all database related metrics in a "Application.Database" Context. Metric names can be duplicated across contexts
Inheritance
System.Object
MetricsContext
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.Formatters.Json
Assembly:cs.temp.dll.dll
Syntax
public sealed class MetricsContext
Properties
ApdexScores
Declaration
public IEnumerable<ApdexMetric> ApdexScores { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<ApdexMetric> |
Context
Declaration
public string Context { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Counters
Declaration
public IEnumerable<CounterMetric> Counters { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<CounterMetric> |
Gauges
Declaration
public IEnumerable<GaugeMetric> Gauges { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<GaugeMetric> |
Histograms
Declaration
public IEnumerable<HistogramMetric> Histograms { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<HistogramMetric> |
Meters
Declaration
public IEnumerable<MeterMetric> Meters { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<MeterMetric> |
Timers
Declaration
public IEnumerable<TimerMetric> Timers { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<TimerMetric> |