Documentation ¶
Index ¶
- func NewAgent(conf *config.Config) *agent.Agent
- func Prepare(conf *config.Config) (*mackerel.API, *mackerel.Host, error)
- func Run(conf *config.Config, api *mackerel.API, host *mackerel.Host, ...) int
- func RunOnce(conf *config.Config)
- func UpdateHostSpecs(conf *config.Config, api *mackerel.API, host *mackerel.Host)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAgent ¶ added in v0.16.0
NewAgent creates a new instance of agent.Agent from its configuration conf.
func Prepare ¶ added in v0.8.0
Prepare sets up API and registers the host data to the Mackerel server. Use returned values to call Run().
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.