MCPcopy Create free account
hub / github.com/cortexproject/cortex / joinAttributeMaps

Function joinAttributeMaps

pkg/util/push/otlp.go:316–321  ·  view source on GitHub ↗
(from, to pcommon.Map)

Source from the content-addressed store, hash-verified

314}
315
316func joinAttributeMaps(from, to pcommon.Map) {
317 from.Range(func(k string, v pcommon.Value) bool {
318 v.CopyTo(to.PutEmpty(k))
319 return true
320 })
321}
322
323// otlpProtoMessage Implements proto.Meesage, proto.Unmarshaler
324type otlpProtoMessage struct {

Calls

no outgoing calls

Tested by

no test coverage detected