package
Version:
v5.6.7+incompatible
Opens a new window with list of versions in this module.
Published: Jan 17, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package stubstatus reads server status from nginx host under /server-status, ngx_http_stub_status_module is required.
func New(base mb.BaseMetricSet) (mb.MetricSet, error)
New creates new instance of MetricSet
type MetricSet struct {
mb.BaseMetricSet
}
MetricSet for fetching Nginx stub status.
func (m *MetricSet) Fetch() (common.MapStr, error)
Fetch makes an HTTP request to fetch status metrics from the stubstatus endpoint.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.