rabbitmq

package
v0.0.0-...-be347a3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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