Set the gauge to the given value
.
Tags passed in will take precedence over the metric’s default tags.
- Parameters:
value (int, float) – Value to set the gauge to. If None
, this method is a
no-op.
tags (Dict[str, str]) – Tags to set or override for this gauge.