Share via


Microsoft.VisualStudio.Telemetry.Metrics.Exceptions Namespace

Classes

Name Description
InvalidBucketConfigurationException

Indicates that a Histogram's bucket configuration was invalid, typically due to a sorting issue. Buckets must be specified in ascending order.

InvalidMeterNameException

Indicates an invalid or improperly formatted Meter name was specified. See https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#instrument for details.

NonMonotonicOperationException

Indicates a non-monotonic operation was performed. If this operation is intentional, use a non-monotonic instrument (such as an UpDownCounter instead of a Counter). See https://en.wikipedia.org/wiki/Monotonic_function for details.

RegisteredMetricLimitExceededException

Indicates more registered metrics were recorded in a set than the configured limit. Check your strategy for generating keys to identify unique metrics and ensure keys are not too fragmented or unique. Alternatively, consider raising the configured limit.

UnsupportedNumericStructException

Indicates an unsupported struct was passed to a Metric. Unsupported structs may be non-numeric, or simply an unsupported numeric type.