lib/topological_inventory/sync/metrics.rb
# Set all values to 0 (otherwise the counter is undefined)
Set all values to 0 (otherwise the counter is undefined)
Set all values to 0 ( otherwise the counter is undefined )
def init_counters
        self.class::ERROR_TYPES.each do |err_type|
          @errors_counter&.observe(0, :type => err_type)
        end
      end
def init_counters self . class :: ERROR_TYPES . each do | err_type | @errors_counter &. observe ( 0 , :type => err_type ) end end
Set all values to 0 (otherwise the counter is undefined)
Set all values to 0 ( otherwise the counter is undefined )