dbmodel

package
v1.58.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToThroughputs

func ToThroughputs(throughputs []Throughput) []*model.Throughput

Types

type ProbabilitiesAndQPS

type ProbabilitiesAndQPS struct {
	Hostname      string
	Probabilities map[string]map[string]float64
	QPS           map[string]map[string]float64
}

type Throughput

type Throughput struct {
	Service       string
	Operation     string
	Count         int64
	Probabilities map[string]struct{}
}

func FromThroughputs

func FromThroughputs(throughputs []*model.Throughput) []Throughput

type TimeProbabilitiesAndQPS

type TimeProbabilitiesAndQPS struct {
	Timestamp           time.Time           `json:"timestamp"`
	ProbabilitiesAndQPS ProbabilitiesAndQPS `json:"probabilitiesandqps"`
}

type TimeThroughput

type TimeThroughput struct {
	Timestamp  time.Time  `json:"timestamp"`
	Throughput Throughput `json:"throughputs"`
}

Jump to

Keyboard shortcuts

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