detective - GoDoc

Toggle navigation GoDoc Home Index About detective: github.com/kyleterry/detective Index | Files | Directories import "github.com/kyleterry/detective" ¶ func CollectAllMetrics() plugins.Collection func Init() type PluginsRegistry func (self *PluginsRegistry) RegisterPlugin(p plugins.DataCollector) Package Files ¶ detective.go plugins.go CollectAllMetrics ¶ func CollectAllMetrics() plugins . Collection CollectAllMetrics will wrap each plugin in a CollectorWrapper, then use fanin to merge all the returned channels into one. The out channel is then used to build a map of metric results. Returns a `plugin.Collection` which is a map of Results keyed by the plugin name. Init ¶ func Init() Init is currently used to setup logging. This function might be used for more later. PluginsRegistry ¶ type PluginsRegistry struct { // contains filtered or une...

Linked on 2014-12-19 22:36:30 | Similar Links