MCPcopy
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
288func (m *Sample) GetTimestamp() int64 {
289 if m != nil {
290 return m.Timestamp
291 }
292 return 0
293}
294
295type Exemplar struct {
296 // Optional, can be empty.

Callers 2

appendV1SamplesMethod · 0.45
appendV2Method · 0.45

Implementers 5

sampletsdb/head.go
sampletsdb/chunks/samples.go
fSamplestorage/buffer.go
hSamplestorage/buffer.go
fhSamplestorage/buffer.go

Calls

no outgoing calls

Tested by

no test coverage detected