OpenTelemetry.Instrumentation.Runtime
Extension methods to simplify registering of dependency instrumentation.
Enables runtime instrumentation.
being configured.
The instance of to chain the calls.
Enables runtime instrumentation.
being configured.
Runtime metrics options.
The instance of to chain the calls.
Options to define the runtime metrics.
.NET runtime instrumentation.
Initializes a new instance of the class.
The options to define the metrics.
Methods for guarding against exception throwing values.
Throw an exception if the value is null.
The value to check.
The parameter name to use in the thrown exception.
Throw an exception if the value is null or empty.
The value to check.
The parameter name to use in the thrown exception.
Throw an exception if the value is null or whitespace.
The value to check.
The parameter name to use in the thrown exception.
Throw an exception if the value is zero.
The value to check.
The message to use in the thrown exception.
The parameter name to use in the thrown exception.
Throw an exception if the value is not considered a valid timeout.
The value to check.
The parameter name to use in the thrown exception.
Throw an exception if the value is not within the given range.
The value to check.
The parameter name to use in the thrown exception.
The inclusive lower bound.
The inclusive upper bound.
The name of the lower bound.
The name of the upper bound.
An optional custom message to use in the thrown exception.
Throw an exception if the value is not within the given range.
The value to check.
The parameter name to use in the thrown exception.
The inclusive lower bound.
The inclusive upper bound.
The name of the lower bound.
The name of the upper bound.
An optional custom message to use in the thrown exception.
Throw an exception if the value is not of the expected type.
The value to check.
The parameter name to use in the thrown exception.
The type attempted to convert to.
The value casted to the specified type.
Allows capturing of the expressions passed to a method.
Specifies that an output is not even if
the corresponding type allows it. Specifies that an input argument was
not when the call returns.