Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prometheus/prometheus
/ Add
Method
Add
prompb/io/prometheus/client/decoder.go:162–162 ·
view source on GitHub ↗
(name, value string)
Source
from the content-addressed store, hash-verified
160
// with SetUnsafeAdd set to true.
161
type
unsafeLabelAdder
interface
{
162
Add(name, value string)
163
}
164
165
// Label parses labels into unsafeLabelAdder. Metric name is missing
Callers
15
Next
Method · 0.65
next
Method · 0.65
TestPopulateWithTombSeriesIterators
Function · 0.65
TestPopulateWithDelSeriesIterator_NextWithMinTime
Function · 0.65
TestQuerierIndexQueriesRace
Function · 0.65
TestSparseHistogramSpaceSavings
Function · 0.65
TestCircularExemplarStorage_Concurrent_AddExemplar_Resize
Function · 0.65
resetInMemoryState
Method · 0.65
Init
Method · 0.65
gc
Method · 0.65
getOrCreateWithOptionalID
Method · 0.65
mmapHeadChunks
Method · 0.65
Implementers
5
MemPostings
tsdb/index/postings.go
ScratchBuilder
model/labels/labels_dedupelabels.go
FloatHistogram
model/histogram/float_histogram.go
WriteResponseStats
storage/remote/stats.go
IgnoreOverriddenMetadataLabelScratchBuilder
schema/labels.go
Calls
no outgoing calls
Tested by
15
TestPopulateWithTombSeriesIterators
Function · 0.52
TestPopulateWithDelSeriesIterator_NextWithMinTime
Function · 0.52
TestQuerierIndexQueriesRace
Function · 0.52
TestSparseHistogramSpaceSavings
Function · 0.52
TestCircularExemplarStorage_Concurrent_AddExemplar_Resize
Function · 0.52
TestChunkReader_ConcurrentReads
Function · 0.52
TestOOOWALWrite
Function · 0.52
TestHead_InitAppenderRace_ErrOutOfBounds
Function · 0.52
TestHead_HighConcurrencyReadAndWrite
Function · 0.52
TestChunkSnapshot
Function · 0.52
TestPostingsCardinalityStats
Function · 0.52
PostDeletion
Method · 0.52