mpsidekiq

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: Apache-2.0 Imports: 6 Imported by: 10

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