mpsidekiq

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type SidekiqPlugin

type SidekiqPlugin struct {
	Client *r.Client
	Prefix string
}

SidekiqPlugin for fetching metrics

func (SidekiqPlugin) FetchMetrics

func (sp SidekiqPlugin) FetchMetrics() (map[string]interface{}, error)

FetchMetrics fetch the metrics

func (SidekiqPlugin) GraphDefinition

func (sp SidekiqPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition Graph definition

func (SidekiqPlugin) MetricKeyPrefix

func (sp SidekiqPlugin) MetricKeyPrefix() string

MetricKeyPrefix interface for PluginWithPrefix

Jump to

Keyboard shortcuts

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