mpnginx

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2017 License: Apache-2.0 Imports: 10 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 NginxPlugin

type NginxPlugin struct {
	URI    string
	Header stringSlice
}

NginxPlugin mackerel plugin for Nginx

func (NginxPlugin) FetchMetrics

func (n NginxPlugin) FetchMetrics() (map[string]interface{}, error)

FetchMetrics interface for mackerelplugin

func (NginxPlugin) GraphDefinition

func (n NginxPlugin) 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