# Functions
CacheTTL is an option that can be be provided to the func NewPluginMeta.
ConcurrencyCount is an option that can be be provided to the func NewPluginMeta.
Exclusive is an option that can be be provided to the func NewPluginMeta.
MarshalMetricTypes returns a []byte containing a serialized version of []MetricType using the content type provided.
No description provided by the author
Initialize a new ExecutablePlugin from path to executable and daemon mode (true or false).
NewMetricType returns a Constructor.
No description provided by the author
NewPluginMeta constructs and returns a PluginMeta struct.
NewRPCRequest returns a new rpcRequest.
NewSessionState takes the plugin args and returns a SessionState returns State or error and returnCode: 0 - ok 2 - error when unmarshaling pluginArgs 3 - cannot open error files.
RoutingStrategy is an option that can be be provided to the func NewPluginMeta.
Start starts a plugin where: PluginMeta - base information about plugin Plugin - CollectorPlugin, ProcessorPlugin or PublisherPlugin requestString - plugins arguments (marshaled json of control/plugin Arg struct) returns an error and exitCode (exitCode from SessionState initilization or plugin termination code).
SwapMetricContentType swaps a payload with one content type to another one.
UnmarshallMetricTypes takes a content type and []byte payload and returns a []MetricType.
Unsecure is an option that can be be provided to the func NewPluginMeta.
# Constants
No description provided by the author
ConfigRouting is routing to plugins based on the config provided to the plugin.
DefaultRouting is a least recently used strategy.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SnapAll the wildcard for accepting all snap content types.
SnapGOB snap metrics serialized into go binary format.
SnapJSON snap metrics serialized into json.
StickyRouting is a one-to-one strategy.
# Variables
Timeout settings How much time must elapse before a lack of Ping results in a timeout.
How many successive PingTimeouts must occur to equal a failure.
# Structs
Arguments passed to startup of Plugin.
Arguments passed to CollectMetrics() for a Collector implementation.
Reply assigned by a Collector implementation using CollectMetrics().
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetMetricTypesArgs args passed to GetMetricTypes.
GetMetricTypesReply assigned by GetMetricTypes() implementation.
No description provided by the author
Represents a metric type.
Arguments passed to ping.
PluginMeta for plugin.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Response from started plugin.
Started plugin session state.
No description provided by the author
# Interfaces
Collector plugin.
No description provided by the author
Processor plugin.
Publisher plugin.
Session interface.
# Type aliases
Plugin response states.
Plugin type.
No description provided by the author
No description provided by the author