Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prometheus/prometheus
/ Get
Method
Get
tsdb/encoding/encoding.go:39–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
38
func
(e *Encbuf) Reset() { e.B = e.B[:0] }
39
func
(e *Encbuf) Get() []byte {
return
e.B }
40
func
(e *Encbuf) Len() int {
return
len(e.B) }
41
42
func
(e *Encbuf) PutString(s string) { e.B = append(e.B, s...) }
Callers
15
encodeToSnapshotRecord
Method · 0.95
encodeTombstonesToSnapshotRecord
Function · 0.95
ChunkSnapshot
Method · 0.95
Series
Method · 0.95
Metadata
Method · 0.95
samplesV1
Method · 0.95
samplesV2
Method · 0.95
Tombstones
Method · 0.95
Exemplars
Method · 0.95
MmapMarkers
Method · 0.95
histogramSamplesV1
Method · 0.95
histogramSamplesV2
Method · 0.95
Calls
no outgoing calls
Tested by
2
TestRecord_MetadataDecodeUnknownExtraFields
Function · 0.76
TestSymbols
Function · 0.76