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

Function NewVersionedReaderWriter

tempodb/backend/azure/azure.go:72–74  ·  view source on GitHub ↗

NewVersionedReaderWriter creates a client to perform versioned requests. Note that write requests are best-effort for now. We need to update the SDK to make use of the precondition headers. https://github.com/grafana/tempo/issues/2705

(cfg *Config)

Source from the content-addressed store, hash-verified

70// best-effort for now. We need to update the SDK to make use of the precondition headers.
71// https://github.com/grafana/tempo/issues/2705
72func NewVersionedReaderWriter(cfg *Config) (backend.VersionedReaderWriter, error) {
73 return internalNew(cfg, true)
74}
75
76func internalNew(cfg *Config, confirm bool) (*Azure, error) {
77 ctx := context.Background()

Callers 1

initBackendFunction · 0.92

Calls 1

internalNewFunction · 0.70

Tested by

no test coverage detected