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
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
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
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
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
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
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
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
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
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
Increment(CounterOptions, MetricTags, String)
Increments a
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
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
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
Increment(CounterOptions, Int64, String)
Increments a
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
Increment(CounterOptions, String)
Increments a
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