types

package
v0.3.14 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventTopicTSDBSet         = "roles.tsdb.set"
	EventTopicTSDBInc         = "roles.tsdb.inc"
	EventTopicTSDBWrite       = "roles.tsdb.write"
	EventTopicTSDBBeforeWrite = "roles.tsdb.before_write"
)
View Source
const (
	KeyRole   = "tsdb"
	KeySystem = "system"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIMetricsGetOutput

type APIMetricsGetOutput struct {
	Records []APIMetricsRecord `json:"records" required:"true"`
}

type APIMetricsRecord

type APIMetricsRecord struct {
	Time    string `json:"time" required:"true"`
	Node    string `json:"node" required:"true"`
	Handler string `json:"handler" required:"true"`
	Value   int64  `json:"value" required:"true"`
}

type Metric

type Metric struct {
	Value        int
	ResetOnWrite bool
}

Jump to

Keyboard shortcuts

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