Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortexproject/cortex
/ GetTimestamp
Method
GetTimestamp
pkg/ring/ring.pb.go:171–176 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
169
}
170
171
func
(m *InstanceDesc) GetTimestamp() int64 {
172
if
m != nil {
173
return
m.Timestamp
174
}
175
return
0
176
}
177
178
func
(m *InstanceDesc) GetState() InstanceState {
179
if
m != nil {
Callers
4
TestBasicLifecycler_HeartbeatWhileRunning
Function · 0.45
TestBasicLifecycler_HeartbeatWhileStopping
Function · 0.45
TestBasicLifecycler_HeartbeatAfterBackendRest
Function · 0.45
AutoForgetFromRing
Function · 0.45
Calls
no outgoing calls
Tested by
3
TestBasicLifecycler_HeartbeatWhileRunning
Function · 0.36
TestBasicLifecycler_HeartbeatWhileStopping
Function · 0.36
TestBasicLifecycler_HeartbeatAfterBackendRest
Function · 0.36