Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Plugins = map[string]PluginServe{ "essentials": func() error { return essentials.Serve() }, }
Functions ¶
func HandleProxyRequest ¶
Types ¶
type PluginServe ¶
type PluginServe func() error
type PrometheusAgent ¶
type PrometheusAgent struct {
Mutex sync.RWMutex
Log log.Logger
Registry *registry.PluginRegistry
Config *config.Config
}
func CreateNewAgent ¶
func CreateNewAgent(c *config.Config) *PrometheusAgent
func (*PrometheusAgent) Cleanup ¶
func (a *PrometheusAgent) Cleanup() error
func (*PrometheusAgent) RunEmbedPlugin ¶
func (a *PrometheusAgent) RunEmbedPlugin(name string) error
func (*PrometheusAgent) RunLocalPlugin ¶
func (a *PrometheusAgent) RunLocalPlugin(path string, arg ...string) error
Click to show internal directories.
Click to hide internal directories.