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

Function defaultInstance

modules/livestore/instance_search_test.go:579–582  ·  view source on GitHub ↗

Helper functions adapted from ingester module

(t testing.TB)

Source from the content-addressed store, hash-verified

577
578// Helper functions adapted from ingester module
579func defaultInstance(t testing.TB) (*instance, *LiveStore) {
580 instance, liveStore := defaultInstanceAndTmpDir(t)
581 return instance, liveStore
582}
583
584func defaultInstanceAndTmpDir(t testing.TB) (*instance, *LiveStore) {
585 tmpDir := t.TempDir()

Calls 1

defaultInstanceAndTmpDirFunction · 0.85

Tested by

no test coverage detected