prometheus

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// the bind address on which the Prometheus exporter listens on.
	CfgPrometheusBindAddress = "prometheus.bindAddress"
	// 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"
	// 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 MQTT broker metrics.
	CfgPrometheusMQTTBroker = "prometheus.mqttBrokerMetrics"
	// include debug metrics.
	CfgPrometheusDebug = "prometheus.debugMetrics"
	// include go metrics.
	CfgPrometheusGoMetrics = "prometheus.goMetrics"
	// include process metrics.
	CfgPrometheusProcessMetrics = "prometheus.processMetrics"
	// include promhttp metrics.
	CfgPrometheusPromhttpMetrics = "prometheus.promhttpMetrics"
)
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