1.1.1
Fixed
observable_counterinstruments now render as Prometheuscounterwith the_totalsuffix instead ofgauge, in both unlabeled and labeled exposition. Previouslycreate_observable_instrument/3hardcoded gauge-shaped underlying storage and the labeled write path tagged the vec asgauge, so tooling that relies on# TYPE … counterto decide rate-ability (Grafana,rate(), alerting rules) saw the wrong type.instrument_meter:add/3on a labeledup_down_counterno longer crashes on negative deltas. The labeled write path previously hardcoded counter-shaped vec storage and hitinstrument_counter:inc_counter/2'sVal >= 0guard. It now routes through gauge-shaped vec storage with a sign split, soadd(Instrument, -1, #{label => ...})decrements the per-label-set value.
Thanks @velimir for the fix.