Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RootCmd = &cobra.Command{ Use: "varnishmon", Short: "varnishmon", Long: `varnishmon is a utility inspired by the classic atop tool. It periodically collects metrics from Varnish Cache / Varnish Enterprise using the varnishstat utility, stores them in a DuckDB database, and provides a simple built-in web interface for visualizing the timeseries data.`, Version: config.Version(), DisableAutoGenTag: true, PersistentPreRun: func(cmd *cobra.Command, args []string) { cfg = boot(cmd.Root()) }, Run: func(cmd *cobra.Command, args []string) { NewApplication(cfg).Start() }, } )
Functions ¶
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func NewApplication ¶
func NewApplication(cfg *config.Config) *Application
func (*Application) Cfg ¶
func (app *Application) Cfg() *config.Config
func (*Application) Start ¶
func (app *Application) Start()
Click to show internal directories.
Click to hide internal directories.