Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexproject/cortex
/ GetZone
Method
GetZone
pkg/ring/ring.pb.go:192–197 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
190
}
191
192
func
(m *InstanceDesc) GetZone() string {
193
if
m != nil {
194
return
m.Zone
195
}
196
return
""
197
}
198
199
func
(m *InstanceDesc) GetRegisteredTimestamp() int64 {
200
if
m != nil {
Callers
5
TestZoneAwareResultTracker
Function · 0.95
TestBasicLifecycler_RegisterOnStart
Function · 0.80
TestBasicLifecycler_KeepInTheRingOnStop
Function · 0.80
done
Method · 0.80
GetNumOfZones
Method · 0.80
Calls
no outgoing calls
Tested by
3
TestZoneAwareResultTracker
Function · 0.76
TestBasicLifecycler_RegisterOnStart
Function · 0.64
TestBasicLifecycler_KeepInTheRingOnStop
Function · 0.64