apache

package
v0.0.0-...-54d14c8 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Tracking = map[string]string{
	"ReqPerSec":   "requests.request_per_second",
	"BytesPerSec": "bytes_per_second.bytes",
	"BytesPerReq": "bytes_per_request.bytes",
	"BusyWorkers": "workers.busy",
	"IdleWorkers": "workers.idle",
	"Scoreboard":  "scoreboard",
}

Tracking - XXX

Functions

This section is empty.

Types

type Apache

type Apache struct {
	Config Config
}

Apache - XXX

func (*Apache) Collect

func (a *Apache) Collect() (interface{}, error)

Collect - XXX

func (*Apache) Description

func (a *Apache) Description() string

Description - XXX

func (*Apache) SampleConfig

func (a *Apache) SampleConfig() string

SampleConfig - XXX

func (*Apache) SetConfigDefaults

func (a *Apache) SetConfigDefaults() error

SetConfigDefaults - XXX

func (*Apache) Start

func (a *Apache) Start() error

Start - XXX

func (*Apache) Stop

func (a *Apache) Stop()

Stop - XXX

type Config

type Config struct {
	StatusURL string `mapstructure:"status_url"`
}

Config - XXX

type PerformanceStruct

type PerformanceStruct struct {
	Gauges map[string]interface{} `json:"gauges"`
}

PerformanceStruct - XXX

func (PerformanceStruct) String

func (p PerformanceStruct) String() string

Jump to

Keyboard shortcuts

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