cmd/bosun: Add the d() func, i.e. d("1h")
cmd/bosun: Add the d() func, i.e. d("1h")

d() returns the number of seconds for that opentsdb duration string. Currently this will just be nice when doing things like forecastlr(q("avg:6h-avg:os.disk.fs.percent_free{$filter}", "7d", ""), 0) / 60 / 60 / 24 or using the since function. However, we might consider changing the arguments to query functions to be scalars and use this function.

objStorage/bosun,mehulkar/bosun,cyngn/bosun,gregdel/bosun,eMerzh/bosun,bosun-monitor/bosun,eMerzh/bosun,noblehng/bosun,inkel/bosun,csmith-palantir/bosun,madhukarreddy/bosun,augporto/bosun,alienth/bosun,shanemadden/bosun,noblehng/bosun,gregdel/bosun,bosun-monitor/bosun,objStorage/bosun,Skyscanner/bosun,gregdel/bosun,cazacugmihai/bosun,fisdap/bosun,jareksm/bosun,bookingcom/bosun,fisdap/bosun,couchand/bosun,treejames/bosun,mathpl/bosun,melifaro/bosun,cazacugmihai/bosun,seekingalpha/bosun,csmith-palantir/bosun,influxdb/bosun,alienth/bosun,objStorage/bosun,fisdap/bosun,dieface/bosun,dieface/bosun,mathpl/bosun,mnikhil-git/bosun,jareksm/bosun,dimamedvedev/bosun,seekingalpha/bosun,inkel/bosun,augporto/bosun,mehulkar/bosun,madhukarreddy/bosun,cazacugmihai/bosun,csmith-palantir/bosun,bridgewell/bosun,eMerzh/bosun,cyngn/bosun,treejames/bosun,gregdel/bosun,madhukarreddy/bosun,GROpenSourceDev/bosun,melifaro/bosun,yyljlyy/bosun,CheRuisiBesares/bosun,bosun-monitor/bosun,dbirchak/bosun,GROpenSourceDev/bosun,eMerzh/bosun,madhukarreddy/bosun,dimamedvedev/bosun,simnv/bosun,dieface/bosun,melifaro/bosun,dbirchak/bosun,dimamedvedev/bosun,mnikhil-git/bosun,shanemadden/bosun,couchand/bosun,alienth/bosun,bosun-sharklasers/bosun,fisdap/bosun,bosun-sharklasers/bosun,jareksm/bosun,TrentScholl/bosun,simnv/bosun,madhukarreddy/bosun,cyngn/bosun,inkel/bosun,youngl98/bosun,cazacugmihai/bosun,GROpenSourceDev/bosun,couchand/bosun,mxk1235/bosun,influxdata/bosun,cyngn/bosun,yyljlyy/bosun,GROpenSourceDev/bosun,simnv/bosun,mathpl/bosun,mnikhil-git/bosun,GROpenSourceDev/bosun,gregdel/bosun,Skyscanner/bosun,CheRuisiBesares/bosun,mhenderson-so/bosun,leapar/bosun,SlashmanX/bosun,Skyscanner/bosun,influxdata/bosun,augporto/bosun,melifaro/bosun,TrentScholl/bosun,dimamedvedev/bosun,csmith-palantir/bosun,mathpl/bosun,mxk1235/bosun,eMerzh/bosun,leapar/bosun,eMerzh/bosun,briantist/bosun,youngl98/bosun,noblehng/bosun,youngl98/bosun,fisdap/bosun,dimamedvedev/bosun,SlashmanX/bosun,mxk1235/bosun,melifaro/bosun,trigrass2/bosun,simnv/bosun,Skyscanner/bosun,influxdata/bosun,SlashmanX/bosun,yyljlyy/bosun,seekingalpha/bosun,bosun-sharklasers/bosun,snowsnail/bosun,influxdb/bosun,dbirchak/bosun,TrentScholl/bosun,mxk1235/bosun,leapar/bosun,trigrass2/bosun,noblehng/bosun,bookingcom/bosun,influxdb/bosun,leapar/bosun,vitorboschi/bosun,influxdb/bosun,bridgewell/bosun,TrentScholl/bosun,mhenderson-so/bosun,evgeny-potapov/bosun,leapar/bosun,objStorage/bosun,jareksm/bosun,cyngn/bosun,csmith-palantir/bosun,youngl98/bosun,bridgewell/bosun,shanemadden/bosun,bookingcom/bosun,SlashmanX/bosun,cazacugmihai/bosun,mxk1235/bosun,mhenderson-so/bosun,bridgewell/bosun,gregdel/bosun,bosun-monitor/bosun,Skyscanner/bosun,vitorboschi/bosun,shanemadden/bosun,azhurbilo/bosun,youngl98/bosun,dieface/bosun,mxk1235/bosun,dbirchak/bosun,azhurbilo/bosun,CheRuisiBesares/bosun,noblehng/bosun,vitorboschi/bosun,alienth/bosun,simnv/bosun,treejames/bosun,mehulkar/bosun,alienth/bosun,CheRuisiBesares/bosun,influxdb/bosun,augporto/bosun,inkel/bosun,briantist/bosun,trigrass2/bosun,snowsnail/bosun,evgeny-potapov/bosun,fisdap/bosun,mnikhil-git/bosun,mnikhil-git/bosun,bosun-sharklasers/bosun,treejames/bosun,leapar/bosun,bridgewell/bosun,yyljlyy/bosun,melifaro/bosun,snowsnail/bosun,bosun-monitor/bosun,alienth/bosun,snowsnail/bosun,mehulkar/bosun,seekingalpha/bosun,shanemadden/bosun,yyljlyy/bosun,mhenderson-so/bosun,couchand/bosun,Skyscanner/bosun,inkel/bosun,dimamedvedev/bosun,yyljlyy/bosun,madhukarreddy/bosun,CheRuisiBesares/bosun,briantist/bosun,briantist/bosun,bookingcom/bosun,influxdata/bosun,couchand/bosun,evgeny-potapov/bosun,evgeny-potapov/bosun,influxdata/bosun,azhurbilo/bosun,mnikhil-git/bosun,mhenderson-so/bosun,trigrass2/bosun,evgeny-potapov/bosun,simnv/bosun,dieface/bosun,snowsnail/bosun,youngl98/bosun,influxdb/bosun,mathpl/bosun,seekingalpha/bosun,augporto/bosun,couchand/bosun,briantist/bosun,CheRuisiBesares/bosun,trigrass2/bosun,trigrass2/bosun,cyngn/bosun,azhurbilo/bosun,jareksm/bosun,azhurbilo/bosun,seekingalpha/bosun,objStorage/bosun,mhenderson-so/bosun,noblehng/bosun,vitorboschi/bosun,bosun-sharklasers/bosun,csmith-palantir/bosun,GROpenSourceDev/bosun,vitorboschi/bosun,bosun-monitor/bosun,bosun-sharklasers/bosun,bookingcom/bosun,augporto/bosun,jareksm/bosun,TrentScholl/bosun,dbirchak/bosun,dbirchak/bosun,treejames/bosun,influxdata/bosun,bookingcom/bosun,briantist/bosun,snowsnail/bosun,SlashmanX/bosun,SlashmanX/bosun,mathpl/bosun,bridgewell/bosun,mehulkar/bosun,treejames/bosun,evgeny-potapov/bosun,objStorage/bosun,dieface/bosun,azhurbilo/bosun,TrentScholl/bosun,vitorboschi/bosun,cazacugmihai/bosun,inkel/bosun,mehulkar/bosun,shanemadden/bosun