Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prometheus/prometheus
/ GetTimestamp
Method
GetTimestamp
prompb/types.pb.go:288–293 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
286
}
287
288
func
(m *Sample) GetTimestamp() int64 {
289
if
m != nil {
290
return
m.Timestamp
291
}
292
return
0
293
}
294
295
type
Exemplar
struct
{
296
// Optional, can be empty.
Callers
2
appendV1Samples
Method · 0.45
appendV2
Method · 0.45
Implementers
5
sample
tsdb/head.go
sample
tsdb/chunks/samples.go
fSample
storage/buffer.go
hSample
storage/buffer.go
fhSample
storage/buffer.go
Calls
no outgoing calls
Tested by
no test coverage detected