mpsolr

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: Apache-2.0 Imports: 9 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do()

Do the plugin

Types

type SolrPlugin

type SolrPlugin struct {
	Protocol string
	Host     string
	Port     string
	BaseURL  string
	Cores    []string
	Prefix   string
	Stats    map[string](map[string]float64)
	Tempfile string
}

SolrPlugin mackerel plugin for Solr

func (SolrPlugin) FetchMetrics

func (s SolrPlugin) FetchMetrics() (map[string]interface{}, error)

FetchMetrics interface for mackerelplugin

func (SolrPlugin) GraphDefinition

func (s SolrPlugin) GraphDefinition() map[string]mp.Graphs

GraphDefinition interface for mackerelplugin

Jump to

Keyboard shortcuts

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