MCPcopy
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.
161type unsafeLabelAdder interface {
162 Add(name, value string)
163}
164
165// Label parses labels into unsafeLabelAdder. Metric name is missing

Callers 15

NextMethod · 0.65
nextMethod · 0.65
resetInMemoryStateMethod · 0.65
InitMethod · 0.65
gcMethod · 0.65
mmapHeadChunksMethod · 0.65

Implementers 5

MemPostingstsdb/index/postings.go
ScratchBuildermodel/labels/labels_dedupelabels.go
FloatHistogrammodel/histogram/float_histogram.go
WriteResponseStatsstorage/remote/stats.go

Calls

no outgoing calls