Documentation
¶
Index ¶
- func GetCounterValue(metric prometheus.Counter) (float64, error)
- func GetCounterVecValue(metric *prometheus.CounterVec, label string) (float64, error)
- func GetGaugeValue(metric prometheus.Gauge) (float64, error)
- func GetGaugeVecValue(metric *prometheus.GaugeVec, labels ...string) (float64, error)
- func MakeBatch(spans int, traceID []byte) *v1_trace.ResourceSpans
- func MakeSpan(traceID []byte) *v1_trace.Span
- func MakeTrace(requests int, traceID []byte) *tempopb.Trace
- func MakeTraceBytes(requests int, traceID []byte) *tempopb.TraceBytes
- func MakeTraceWithSpanCount(requests int, spansEach int, traceID []byte) *tempopb.Trace
- func ValidTraceID(traceID []byte) []byte
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 MakeTraceBytes ¶ added in v1.0.0
func MakeTraceBytes(requests int, traceID []byte) *tempopb.TraceBytes
func MakeTraceWithSpanCount ¶ added in v0.4.0
func ValidTraceID ¶ added in v1.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.