data

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: EPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartEntry

type ChartEntry struct {
	Key   string  `json:"x"`
	Value float64 `json:"y"`
}

type ChartLegendEntry

type ChartLegendEntry struct {
	Name string `json:"name"`
}

type Component

type Component struct {
	Type     string `json:"type"`
	Replicas uint32 `json:"replicas"`
	Good     bool   `json:"good"`
}

type Consumer

type Consumer struct {
	Component `json:",inline"`

	MessagesPerSecond *float64 `json:"messagesPerSecond"`
	PayloadPerSecond  *float64 `json:"payloadPerSecond"`

	MessagesHistory *[]HistoryEntry `json:"messagesHistory"`
}

type HistoryEntry added in v0.1.2

type HistoryEntry struct {
	Name string  `json:"name"`
	X    float64 `json:"x"`
	Y    float64 `json:"y"`
}

type Overview

type Overview struct {
	Tenants []Tenant `json:"tenants"`
}

type Producer

type Producer struct {
	Component `json:",inline"`
	Protocol  string `json:"protocol"`

	DevicesPerInstance int `json:"devicesPerInstance"`

	MessagesPerSecondConfigured *float64 `json:"messagesPerSecondConfigured"`
	MessagesPerSecondScheduled  *float64 `json:"messagesPerSecondScheduled"`
	MessagesPerSecondSent       *float64 `json:"messagesPerSecondSent"`
	MessagesPerSecondFailed     *float64 `json:"messagesPerSecondFailed"`
	MessagesPerSecondErrored    *float64 `json:"messagesPerSecondErrored"`

	ConnectionsConfigured  *float64 `json:"connectionsConfigured"`
	ConnectionsEstablished *float64 `json:"connectionsEstablished"`

	RoundTripTime *float64 `json:"roundTripTime"`

	ChartData   []ChartEntry       `json:"chartData"`
	ChartLegend []ChartLegendEntry `json:"chartLegend"`
}

type Tenant

type Tenant struct {
	Name      string     `json:"name"`
	Consumers []Consumer `json:"consumers"`
	Producers []Producer `json:"producers"`
}

Jump to

Keyboard shortcuts

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