prometheus

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// the bind address on which the Prometheus exporter listens on
	CfgPrometheusBindAddress = "prometheus.bindAddress"
	// include database metrics
	CfgPrometheusDatabase = "prometheus.databaseMetrics"
	// include node metrics
	CfgPrometheusNode = "prometheus.nodeMetrics"
	// include gossip metrics
	CfgPrometheusGossip = "prometheus.gossipMetrics"
	// include caches metrics
	CfgPrometheusCaches = "prometheus.cachesMetrics"
	// include restAPI metrics
	CfgPrometheusRestAPI = "prometheus.restAPIMetrics"
	// include migration metrics
	CfgPrometheusMigration = "prometheus.migrationMetrics"
	// include coordinator metrics
	CfgPrometheusCoordinator = "prometheus.coordinatorMetrics"
	// include debug metrics
	CfgPrometheusDebug = "prometheus.debugMetrics"
	// include go metrics
	CfgPrometheusGoMetrics = "prometheus.goMetrics"
	// include process metrics
	CfgPrometheusProcessMetrics = "prometheus.processMetrics"
	// include promhttp metrics
	CfgPrometheusPromhttpMetrics = "prometheus.promhttpMetrics"
	// whether the plugin should write a Prometheus 'file SD' file
	CfgPrometheusFileServiceDiscoveryEnabled = "prometheus.fileServiceDiscovery.enabled"
	// the path where to write the 'file SD' file to
	CfgPrometheusFileServiceDiscoveryPath = "prometheus.fileServiceDiscovery.path"
	// the target to write into the 'file SD' file
	CfgPrometheusFileServiceDiscoveryTarget = "prometheus.fileServiceDiscovery.target"
)
View Source
const (
	RouteMetrics = "/metrics"
)

RouteMetrics is the route for getting the prometheus metrics. GET returns metrics.

Variables

View Source
var (
	Plugin *node.Plugin
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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