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

Function New

tempodb/backend/gcs/gcs.go:61–64  ·  view source on GitHub ↗

New gets the GCS backend

(cfg *Config)

Source from the content-addressed store, hash-verified

59
60// New gets the GCS backend
61func New(cfg *Config) (backend.RawReader, backend.RawWriter, backend.Compactor, error) {
62 rw, err := internalNew(cfg, true)
63 return rw, rw, rw, err
64}
65
66func NewVersionedReaderWriter(cfg *Config, confirmVersioning bool) (backend.VersionedReaderWriter, error) {
67 rw, err := internalNew(cfg, true)

Callers 12

NewFunction · 0.92
TestPollerOwnershipFunction · 0.92
TestTenantDeletionFunction · 0.92
loadBackendFunction · 0.92
initUsageReportMethod · 0.92
initBackendSchedulerMethod · 0.92
TestHedgeFunction · 0.70
TestRetry_ClearBlockFunction · 0.70
TestObjectWithPrefixFunction · 0.70
TestDeleteFunction · 0.70

Calls 1

internalNewFunction · 0.70

Tested by 8

TestPollerOwnershipFunction · 0.74
TestTenantDeletionFunction · 0.74
TestHedgeFunction · 0.56
TestRetry_ClearBlockFunction · 0.56
TestObjectWithPrefixFunction · 0.56
TestDeleteFunction · 0.56