test

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCounterValue added in v0.4.0

func GetCounterValue(metric prometheus.Counter) (float64, error)

func GetCounterVecValue added in v0.4.0

func GetCounterVecValue(metric *prometheus.CounterVec, label string) (float64, error)

func GetGaugeValue added in v0.4.0

func GetGaugeValue(metric prometheus.Gauge) (float64, error)

func MakeRequest

func MakeRequest(spans int, traceID []byte) *tempopb.PushRequest

func MakeRequestWithByteLimit added in v0.7.0

func MakeRequestWithByteLimit(maxBytes int, traceID []byte) *tempopb.PushRequest

Note that this fn will generate a request with size **close to** maxBytes

func MakeTrace

func MakeTrace(requests int, traceID []byte) *tempopb.Trace

func MakeTraceBytes added in v1.0.0

func MakeTraceBytes(requests int, traceID []byte) *tempopb.TraceBytes

func MakeTraceWithSpanCount added in v0.4.0

func MakeTraceWithSpanCount(requests int, spansEach int, traceID []byte) *tempopb.Trace

func MustTraceID

func MustTraceID(req *tempopb.PushRequest) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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