package
0.43.2
Repository: https://github.com/ntrv/mackerel-agent.git
Documentation: pkg.go.dev

# Functions

NewAgent creates a new instance of agent.Agent from its configuration conf.
NewMackerelClient returns Mackerel API client for mackerel-agent.
Prepare sets up API and registers the host data to the Mackerel server.
Run starts the main metric collecting logic and this function will never return.
RunOnce collects specs and metrics, then output them to stdout.

# Structs

AgentMeta contains meta information about mackerel-agent.
App contains objects for running main loop of mackerel-agent.