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

Interface IMeasureCounterMetrics

Provides access to the API allowing Counter Metrics to be measured/recorded.

Namespace:App.Metrics.Counter.Abstractions
Assembly:cs.temp.dll.dll
Syntax
public interface IMeasureCounterMetrics

Methods

Decrement(CounterOptions)

Decrements a

Declaration
void Decrement(CounterOptions options)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being decremented

Decrement(CounterOptions, MetricSetItem)

Decrements a as well as the specified item within the counter's set

Declaration
void Decrement(CounterOptions options, MetricSetItem setItem)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being decremented

MetricSetItem setItem

The item within the set to decrement.

Remarks

The counter value is decremented as is the specified 's counter within the set. The within the set will also keep track of it's percentage from the total sets count.

Decrement(CounterOptions, MetricTags)

Decrements a

Declaration
void Decrement(CounterOptions options, MetricTags tags)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being decremented

MetricTags tags

The runtime tags to set in addition to those defined on the options, this will create a separate metric per unique

Decrement(CounterOptions, MetricTags, Int64)

Decrements a by the specificed amount

Declaration
void Decrement(CounterOptions options, MetricTags tags, long amount)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being decremented

MetricTags tags

The runtime tags to set in addition to those defined on the options, this will create a separate metric per unique

System.Int64 amount

The amount to decrement the counter.

Decrement(CounterOptions, MetricTags, Int64, String)

Decrements the specified options.

Declaration
void Decrement(CounterOptions options, MetricTags tags, long amount, string item)
Parameters
Type Name Description
CounterOptions options

The options.

MetricTags tags

The runtime tags to set in addition to those defined on the options, this will create a separate metric per unique

System.Int64 amount

The amount.

System.String item

The item.

Decrement(CounterOptions, MetricTags, String)

Decrements the specified options.

Declaration
void Decrement(CounterOptions options, MetricTags tags, string item)
Parameters
Type Name Description
CounterOptions options

The options.

MetricTags tags

The runtime tags to set in addition to those defined on the options, this will create a separate metric per unique

System.String item

The item.

Decrement(CounterOptions, Int64)

Decrements a by the specificed amount

Declaration
void Decrement(CounterOptions options, long amount)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being decremented

System.Int64 amount

The amount to decrement the counter.

Decrement(CounterOptions, Int64, MetricSetItem)

Decrements a by the specified amount as well as the specified item within the counter's set

Declaration
void Decrement(CounterOptions options, long amount, MetricSetItem setItem)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being decremented

System.Int64 amount

The amount to decrement the counter.

MetricSetItem setItem

The item within the set to decrement.

Remarks

The counter value is decremented as is the specified 's counter within the set. The within the set will also keep track of it's percentage from the total sets count.

Decrement(CounterOptions, Int64, String)

Decrements the specified options.

Declaration
void Decrement(CounterOptions options, long amount, string item)
Parameters
Type Name Description
CounterOptions options

The options.

System.Int64 amount

The amount.

System.String item

The item.

Decrement(CounterOptions, String)

Decrements the specified options.

Declaration
void Decrement(CounterOptions options, string item)
Parameters
Type Name Description
CounterOptions options

The options.

System.String item

The item.

Increment(CounterOptions)

Increments a

Declaration
void Increment(CounterOptions options)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being incremented

Increment(CounterOptions, MetricSetItem)

Increment a as well as the specified item within the counter's set

Declaration
void Increment(CounterOptions options, MetricSetItem setItem)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being incremented

MetricSetItem setItem

The item within the set to increment.

Remarks

The counter value is incremented as is the specified 's counter within the set. The within the set will also keep track of it's percentage from the total sets count.

Increment(CounterOptions, MetricTags)

Increments a

Declaration
void Increment(CounterOptions options, MetricTags tags)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being incremented

MetricTags tags

The runtime tags to set in addition to those defined on the options, this will create a separate metric per unique

Increment(CounterOptions, MetricTags, Int64)

Increments a

Declaration
void Increment(CounterOptions options, MetricTags tags, long amount)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being incremented

MetricTags tags

The runtime tags to set in addition to those defined on the options, this will create a separate metric per unique

System.Int64 amount

The amount to decrement the counter.

Increment(CounterOptions, MetricTags, Int64, String)

Increments a as well as the specified item within the counter's set

Declaration
void Increment(CounterOptions options, MetricTags tags, long amount, string item)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being incremented

MetricTags tags

The runtime tags to set in addition to those defined on the options, this will create a separate metric per unique

System.Int64 amount

The amount to increment the counter.

System.String item

The item within the set to increment.

Remarks

The counter value is incremented as is the specified 's counter within the set. The within the set will also keep track of it's percentage from the total sets count.

Increment(CounterOptions, MetricTags, String)

Increments a as well as the specified item within the counter's set

Declaration
void Increment(CounterOptions options, MetricTags tags, string item)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being incremented

MetricTags tags

The runtime tags to set in addition to those defined on the options, this will create a separate metric per unique

System.String item

The item within the set to increment.

Remarks

The counter value is incremented as is the specified 's counter within the set. The within the set will also keep track of it's percentage from the total sets count.

Increment(CounterOptions, Int64)

Increments a

Declaration
void Increment(CounterOptions options, long amount)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being incremented

System.Int64 amount

The amount to decrement the counter.

Increment(CounterOptions, Int64, MetricSetItem)

Increment a by the specified amount as well as the specified item within the counter's set

Declaration
void Increment(CounterOptions options, long amount, MetricSetItem setItem)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being decremented

System.Int64 amount

The amount to increment the counter.

MetricSetItem setItem

The item within the set to increment.

Remarks

The counter value is incremented as is the specified 's counter within the set. The within the set will also keep track of it's percentage from the total sets count.

Increment(CounterOptions, Int64, String)

Increments a as well as the specified item within the counter's set

Declaration
void Increment(CounterOptions options, long amount, string item)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being incremented

System.Int64 amount

The amount to increment the counter.

System.String item

The item within the set to increment.

Remarks

The counter value is incremented as is the specified 's counter within the set. The within the set will also keep track of it's percentage from the total sets count.

Increment(CounterOptions, String)

Increments a as well as the specified item within the counter's set

Declaration
void Increment(CounterOptions options, string item)
Parameters
Type Name Description
CounterOptions options

The details of the counter that is being incremented

System.String item

The item within the set to increment.

Remarks

The counter value is incremented as is the specified 's counter within the set. The within the set will also keep track of it's percentage from the total sets count.

Back to top Copyright © 2017 Allan Hardy
Generated by DocFX