status

package
v5.0.0-alpha2+incompat... Latest Latest
Warning

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

Go to latest
Published: May 2, 2016 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package status reads Apache HTTPD server status from the mod_status module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() helper.MetricSeter

New creates new instance of MetricSeter

func ParseMatchFloat

func ParseMatchFloat(inputString, hostname, fieldName string) float64

Types

type MetricSeter

type MetricSeter struct {
	URLs map[string]string // Map of host to endpoint URL.
}

func (*MetricSeter) Fetch

func (m *MetricSeter) Fetch(ms *helper.MetricSet, host string) (event common.MapStr, err error)

Fetch makes an HTTP request to fetch status metrics from the mod_status endpoint.

func (*MetricSeter) Setup

func (m *MetricSeter) Setup(ms *helper.MetricSet) error

Setup the URLs to the mod_status endpoints.

Jump to

Keyboard shortcuts

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