telemetry

package
v25.0.0-preview1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Telemetry

type Telemetry struct {
	Arch           string   `json:",omitempty"`
	Cid            string   `json:",omitempty"`
	ClusterSize    int      `json:",omitempty"`
	DiskUsageMB    int64    `json:",omitempty"`
	NumAlphas      int      `json:",omitempty"`
	NumGroups      int      `json:",omitempty"`
	NumTablets     int      `json:",omitempty"`
	NumZeros       int      `json:",omitempty"`
	OS             string   `json:",omitempty"`
	SinceHours     int      `json:",omitempty"`
	Version        string   `json:",omitempty"`
	NumDQL         uint64   `json:",omitempty"`
	NumGraphQL     uint64   `json:",omitempty"`
	EEFeaturesList []string `json:",omitempty"`
	Codename       string   `json:",omitempty"`
}

Telemetry holds information about the state of the zero and alpha server.

func NewAlpha

func NewAlpha(ms *pb.MembershipState) *Telemetry

NewAlpha returns a Telemetry struct that holds information about the state of alpha server.

func NewZero

func NewZero(ms *pb.MembershipState) *Telemetry

NewZero returns a Telemetry struct that holds information about the state of zero server.

func (*Telemetry) Post

func (t *Telemetry) Post() error

Post reports the Telemetry to the stats server.

Jump to

Keyboard shortcuts

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