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.
Click to show internal directories.
Click to hide internal directories.