lib/opentelemetry/internal/proxy_instrument.rb in opentelemetry-metrics-api-0.1.1 vs lib/opentelemetry/internal/proxy_instrument.rb in opentelemetry-metrics-api-0.2.0

- old
+ new

@@ -17,10 +17,10 @@ @delegate = nil end def upgrade_with(meter) @delegate = case @kind - when :counter, :histogram, :up_down_counter + when :counter, :histogram, :up_down_counter, :gauge meter.send("create_#{@kind}", @name, unit: @unit, description: @desc) when :observable_counter, :observable_gauge, :observable_up_down_counter meter.send("create_#{@kind}", @name, unit: @unit, description: @desc, callback: @callback) end end