test

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: AGPL-3.0 Imports: 9 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 GetGaugeVecValue added in v1.3.0

func GetGaugeVecValue(metric *prometheus.GaugeVec, labels ...string) (float64, error)

func MakeBatch added in v1.3.0

func MakeBatch(spans int, traceID []byte) *v1_trace.ResourceSpans

func MakeSpan added in v1.4.0

func MakeSpan(traceID []byte) *v1_trace.Span

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 ValidTraceID added in v1.4.0

func ValidTraceID(traceID []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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