metrics

package
v0.0.0-...-726f7ef Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FreshnessLatency

func FreshnessLatency(writeLog []libqpu.WriteLogEntry) (float64, float64, float64, float64)

FreshnessLatency ...

func FreshnessVersions

func FreshnessVersions(queryLog []libqpu.QueryLogEntry, writeLog []libqpu.WriteLogEntry, putInCacheLog []libqpu.WriteLogEntry) (float64, float64, float64, float64, error)

FreshnessVersions ...

Types

type LatencyM

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

LatencyM ...

func NewLatencyM

func NewLatencyM() LatencyM

NewLatencyM ...

func (LatencyM) AddFromOp

func (m LatencyM) AddFromOp(logOp libqpu.LogOperation) (err error)

AddFromOp ...

func (LatencyM) AddFromTs

func (m LatencyM) AddFromTs(t0 time.Time) (err error)

AddFromTs ...

func (LatencyM) GetMetrics

func (m LatencyM) GetMetrics() (float64, float64, float64, float64)

GetMetrics ...

Jump to

Keyboard shortcuts

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