[pgbouncer] Fix check
[pgbouncer] Fix check

Previously it was assuming that python dicts are ordered which is not
the case. So collected metrics were wrong.

We can’t use python OrderedDict as it was only introduced in python 2.7
and we want to support python 2.6
So here is an implementation using lists instead.

indeedops/dd-agent,jvassev/dd-agent,pmav99/praktoras,oneandoneis2/dd-agent,polynomial/dd-agent,gphat/dd-agent,PagerDuty/dd-agent,manolama/dd-agent,gphat/dd-agent,joelvanvelden/dd-agent,eeroniemi/dd-agent,urosgruber/dd-agent,jyogi/purvar-agent,eeroniemi/dd-agent,manolama/dd-agent,a20012251/dd-agent,oneandoneis2/dd-agent,a20012251/dd-agent,urosgruber/dd-agent,jyogi/purvar-agent,jvassev/dd-agent,Mashape/dd-agent,c960657/dd-agent,jyogi/purvar-agent,PagerDuty/dd-agent,brettlangdon/dd-agent,relateiq/dd-agent,huhongbo/dd-agent,indeedops/dd-agent,takus/dd-agent,urosgruber/dd-agent,amalakar/dd-agent,amalakar/dd-agent,relateiq/dd-agent,jamesandariese/dd-agent,huhongbo/dd-agent,lookout/dd-agent,takus/dd-agent,truthbk/dd-agent,indeedops/dd-agent,Wattpad/dd-agent,pfmooney/dd-agent,pmav99/praktoras,polynomial/dd-agent,amalakar/dd-agent,jamesandariese/dd-agent,gphat/dd-agent,manolama/dd-agent,jamesandariese/dd-agent,eeroniemi/dd-agent,mderomph-coolblue/dd-agent,AntoCard/powerdns-recursor_check,pfmooney/dd-agent,jvassev/dd-agent,AntoCard/powerdns-recursor_check,c960657/dd-agent,Mashape/dd-agent,jvassev/dd-agent,Mashape/dd-agent,takus/dd-agent,eeroniemi/dd-agent,gphat/dd-agent,huhongbo/dd-agent,pmav99/praktoras,PagerDuty/dd-agent,urosgruber/dd-agent,joelvanvelden/dd-agent,Wattpad/dd-agent,truthbk/dd-agent,cberry777/dd-agent,oneandoneis2/dd-agent,Mashape/dd-agent,indeedops/dd-agent,truthbk/dd-agent,brettlangdon/dd-agent,jamesandariese/dd-agent,jamesandariese/dd-agent,PagerDuty/dd-agent,mderomph-coolblue/dd-agent,a20012251/dd-agent,AntoCard/powerdns-recursor_check,lookout/dd-agent,joelvanvelden/dd-agent,truthbk/dd-agent,joelvanvelden/dd-agent,jyogi/purvar-agent,oneandoneis2/dd-agent,a20012251/dd-agent,cberry777/dd-agent,pfmooney/dd-agent,pfmooney/dd-agent,Wattpad/dd-agent,brettlangdon/dd-agent,c960657/dd-agent,pmav99/praktoras,polynomial/dd-agent,mderomph-coolblue/dd-agent,cberry777/dd-agent,amalakar/dd-agent,polynomial/dd-agent,a20012251/dd-agent,huhongbo/dd-agent,c960657/dd-agent,cberry777/dd-agent,mderomph-coolblue/dd-agent,tebriel/dd-agent,Wattpad/dd-agent,lookout/dd-agent,cberry777/dd-agent,relateiq/dd-agent,manolama/dd-agent,relateiq/dd-agent,tebriel/dd-agent,amalakar/dd-agent,urosgruber/dd-agent,takus/dd-agent,takus/dd-agent,joelvanvelden/dd-agent,PagerDuty/dd-agent,AntoCard/powerdns-recursor_check,brettlangdon/dd-agent,Wattpad/dd-agent,tebriel/dd-agent,mderomph-coolblue/dd-agent,manolama/dd-agent,Mashape/dd-agent,relateiq/dd-agent,huhongbo/dd-agent,c960657/dd-agent,indeedops/dd-agent,gphat/dd-agent,truthbk/dd-agent,pmav99/praktoras,lookout/dd-agent,eeroniemi/dd-agent,lookout/dd-agent,oneandoneis2/dd-agent,pfmooney/dd-agent,tebriel/dd-agent,tebriel/dd-agent,jyogi/purvar-agent,jvassev/dd-agent,AntoCard/powerdns-recursor_check,brettlangdon/dd-agent,polynomial/dd-agent