MCPcopy
hub / github.com/grafana/tempo / TestRegistry

Struct TestRegistry

modules/generator/registry/test.go:19–22  ·  view source on GitHub ↗

TestRegistry is a simple implementation of Registry intended for tests. It is not concurrent-safe.

Source from the content-addressed store, hash-verified

17
18// TestRegistry is a simple implementation of Registry intended for tests. It is not concurrent-safe.
19type TestRegistry struct {
20 // "metric{labels}" -> value
21 metrics map[string]float64
22}
23
24var _ Registry = (*TestRegistry)(nil)
25

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected