rabbitmq

package
v0.0.0-...-8ba9361 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetResult

type GetResult struct {
	// contains filtered or unexported fields
}

GetResult is the response from a Get operation. Call its Extract method to

func Get

func Get(client *gophercloud.ServiceClient, metricsFilter string) (r GetResult)

Get returns emla rabbitmq metrics data.

func (GetResult) Extract

func (r GetResult) Extract() (*Results, error)

Extract interprets any rabbitmqResult as a rabbitmq metrics.

type Result

type Result struct {
	Data       map[string]interface{} `json:"data"`
	MetricName string                 `json:"metric_name"`
}

Result represents a rabbitmq metrics

type Results

type Results struct {
	Results []Result `json:"results"`
}

Results represents a rabbitmq metrics.

Jump to

Keyboard shortcuts

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