mpelasticsearch

package
v0.85.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 10 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 ElasticsearchPlugin

type ElasticsearchPlugin struct {
	URI                  string
	Prefix               string
	LabelPrefix          string
	Insecure             bool
	User                 string
	Password             string
	SuppressMissingError bool
}

ElasticsearchPlugin mackerel plugin for Elasticsearch

func (ElasticsearchPlugin) FetchMetrics

func (p ElasticsearchPlugin) FetchMetrics() (map[string]float64, error)

FetchMetrics interface for mackerelplugin

func (ElasticsearchPlugin) GraphDefinition

func (p ElasticsearchPlugin) 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