Documentation ¶
Index ¶
Constants ¶
View Source
const ( // queryTypes are the types of query the Nomad APM plugin can handle. Each // one has its own path to discovering the correct data and so its // important this is included and validated on every query request. QueryTypeTaskGroup = "taskgroup" QueryTypeNode = "node" )
Variables ¶
View Source
var ( PluginID = plugins.PluginID{ Name: pluginName, PluginType: plugins.PluginTypeAPM, } PluginConfig = &plugins.InternalPluginConfig{ Factory: func(l hclog.Logger) interface{} { return NewNomadPlugin(l) }, } )
Functions ¶
Types ¶
type APMPlugin ¶
type APMPlugin struct {
// contains filtered or unexported fields
}
func (*APMPlugin) PluginInfo ¶
func (a *APMPlugin) PluginInfo() (*base.PluginInfo, error)
Click to show internal directories.
Click to hide internal directories.