Documentation ¶ Index ¶ func NewInfluxDBClient(cfg *config.ExtensionConfig) (influx.Client, error) type Beacon func NewBeacon(c *config.ExtensionConfig, cl *client.Client) (*Beacon, error) func (b *Beacon) HandleEvent(event *events.Message) error func (b *Beacon) Name() string type Stat Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewInfluxDBClient ¶ added in v1.3.0 func NewInfluxDBClient(cfg *config.ExtensionConfig) (influx.Client, error) Types ¶ type Beacon ¶ type Beacon struct { // contains filtered or unexported fields } func NewBeacon ¶ func NewBeacon(c *config.ExtensionConfig, cl *client.Client) (*Beacon, error) func (*Beacon) HandleEvent ¶ func (b *Beacon) HandleEvent(event *events.Message) error func (*Beacon) Name ¶ func (b *Beacon) Name() string type Stat ¶ added in v1.3.0 type Stat struct { ID string Name string Image string ContainerJSON types.ContainerJSON NumContainers int NumImages int NumVolumes int NumNetworks int CPUTotalUsage uint64 MemUsagePercent float64 Networks map[string]types.NetworkStats Stats *types.StatsJSON } Source Files ¶ View all Source files beacon.go influxdb.go prometheus_metrics.go rules.go stats.go Click to show internal directories. Click to hide internal directories.