Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grafana/tempo
/ getStorageAccountKey
Function
getStorageAccountKey
tempodb/backend/azure/azure_helpers.go:160–167 ·
view source on GitHub ↗
(cfg *Config)
Source
from the content-addressed store, hash-verified
158
}
159
160
func
getStorageAccountKey(cfg *Config) string {
161
accountKey := cfg.StorageAccountKey.String()
162
if
accountKey ==
""
{
163
accountKey = os.Getenv(
"AZURE_STORAGE_KEY"
)
164
}
165
166
return
accountKey
167
}
Callers
4
TestGetStorageAccountKeyInConfig
Function · 0.85
TestGetStorageAccountKeyInEnv
Function · 0.85
TestGetStorageAccountKeyNotSet
Function · 0.85
getContainerClient
Function · 0.85
Calls
1
String
Method · 0.45
Tested by
3
TestGetStorageAccountKeyInConfig
Function · 0.68
TestGetStorageAccountKeyInEnv
Function · 0.68
TestGetStorageAccountKeyNotSet
Function · 0.68