mysql

package
v0.0.0-...-0652c7e Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2018 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const NAME string = "mysql"
View Source
const PLUGIN_VERSION string = "1.0.0"
View Source
const PROTOCOL_VERSION string = "1"
View Source
const PROVIDER string = "mysql"
View Source
const STATUS string = "OK"

Variables

This section is empty.

Functions

func Run

func Run(logger *logrus.Logger, prettyPrint bool, version string)

Types

type EventData

type EventData map[string]interface{}

EventData is the data type for single shot events

type InventoryData

type InventoryData map[string]interface{}

InventoryData is the data type for inventory data produced by a plugin data source and emitted to the agent's inventory data store

type MetricData

type MetricData map[string]interface{}

MetricData is the data type for events produced by a plugin data source and emitted to the agent's metrics data store

type PluginData

type PluginData struct {
	Name            string                   `json:"name"`
	ProtocolVersion string                   `json:"protocol_version"`
	PluginVersion   string                   `json:"plugin_version"`
	Status          string                   `json:"status"`
	Metrics         []MetricData             `json:"metrics"`
	Inventory       map[string]InventoryData `json:"inventory"`
	Events          []EventData              `json:"events"`
}

PluginData defines the format of the output JSON that plugins will return

Jump to

Keyboard shortcuts

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