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

Function New

tempodb/backend/local/local.go:45–48  ·  view source on GitHub ↗
(cfg *Config)

Source from the content-addressed store, hash-verified

43}
44
45func New(cfg *Config) (backend.RawReader, backend.RawWriter, backend.Compactor, error) {
46 l, err := NewBackend(cfg)
47 return l, l, l, err
48}
49
50// Write implements backend.Writer
51func (rw *Backend) Write(ctx context.Context, name string, keypath backend.KeyPath, data io.Reader, _ int64, _ *backend.CacheInfo) error {

Calls 1

NewBackendFunction · 0.85