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

Function getStorageAccountName

tempodb/backend/azure/azure_helpers.go:151–158  ·  view source on GitHub ↗
(cfg *Config)

Source from the content-addressed store, hash-verified

149}
150
151func getStorageAccountName(cfg *Config) string {
152 accountName := cfg.StorageAccountName
153 if accountName == "" {
154 accountName = os.Getenv("AZURE_STORAGE_ACCOUNT")
155 }
156
157 return accountName
158}
159
160func getStorageAccountKey(cfg *Config) string {
161 accountKey := cfg.StorageAccountKey.String()

Calls

no outgoing calls