AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates an up-down counter instrument which can be incremented or decremented by a specified value.

Namespace: Amazon.Runtime.Telemetry.Metrics
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z

Syntax

C#
public abstract UpDownCounter<T> CreateUpDownCounter(
         String name,
         String units,
         String description
)

Parameters

name
Type: System.String

The name of the up-down counter instrument. This name uniquely identifies the instrument within the meter.

units
Type: System.String

Optional. The unit of measure for the counter value, such as "seconds" or "bytes".

description
Type: System.String

Optional. A description of the up-down counter instrument.

Return Value


Type: UpDownCounter<T>
An used to measure values that can go up and down.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5