value: Value to increment of decrement the up-down counter with.
attributes: Additional attributes to add.
span_context: Span context. If missing, the active context is used,
if any.
Value
The up-down counter object itself, invisibly.
Details
Usually you do not need to deal with otel_up_down_counter objects directly.
up_down_counter_add() automatically sets up a meter and creates an
up-down counter instrument, as needed.
An up-down counter object is created by calling the
create_up_down_counter() method of an otel_meter_provider().
You can use the add() method to increment or decrement the counter.
In R up-down counters are represented by double values.