Documentation ¶
Overview ¶
Package rabbitmq is a Metricbeat module that contains MetricSets.
Index ¶
Constants ¶
View Source
const ( ConnectionsPath = "/api/connections" ExchangesPath = "/api/exchanges" NodesPath = "/api/nodes" OverviewPath = "/api/overview" QueuesPath = "/api/queues" )
Subpaths to management plugin endpoints
Variables ¶
View Source
var ( // HostParser parses host urls for RabbitMQ management plugin HostParser = parse.URLHostParserBuilder{ DefaultScheme: defaultScheme, PathConfigKey: pathConfigKey, DefaultUsername: "guest", DefaultPassword: "guest", }.Build() )
Functions ¶
func AssetRabbitmq ¶
func AssetRabbitmq() string
AssetRabbitmq returns asset data. This is the base64 encoded gzipped contents of ../metricbeat/module/rabbitmq.
Types ¶
type MetricSet ¶
type MetricSet struct { mb.BaseMetricSet *helper.HTTP }
MetricSet can be used to build other metric sets that query RabbitMQ management plugin
func NewMetricSet ¶
func NewMetricSet(base mb.BaseMetricSet, subPath string) (*MetricSet, error)
NewMetricSet creates an metric set that can be used to build other metric sets that query RabbitMQ management plugin
Click to show internal directories.
Click to hide internal directories.