autofactory

command
v0.0.0-...-aef646c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2017 License: MIT Imports: 27 Imported by: 0

README

autofactory

Autofactory is the autofact server component. Autofact clients connect to the autofactory and send it their collected data.

At minimum, healthbeat information is collected from the client. The healthbeat is a pull operation and is how Autofactory checks to see if a client is still connected, or if it has gone away, for whatever reason.

All other data collected from the client, other than the client's system information, which is collected during the client connection process, is pushed to Autofactory by the client.

Autofactory sends newly connected clients their configuration.

Data output

The collected data can either be written to a file, as JSON, or stored in InfluxDB. The datadestination flag specifies the output for the data, file is the default. For InfluxDB use influxdb.

When the output is file, the default is stdout, for a specific location use the dataout flag.

Logging

Log entries are written as JSON with stderr as the default destination. The log destination can be set using logout.

TODO

  • Add collection of disk information
  • Improve Client attributes: e.g. Group, Role, Datacenter, or should it be a map of attributes?
  • Make data collection intervals configurable:
    • Per client
    • Per attribute: e.g. Group, role, etc.
  • ...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
package output exists for stringer generation because having it in autofactory results in go stringer errors.
package output exists for stringer generation because having it in autofactory results in go stringer errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL