MCPcopy
hub / github.com/prometheus/client_golang / MultiTRegistry

Struct MultiTRegistry

prometheus/registry.go:999–1001  ·  view source on GitHub ↗

MultiTRegistry is a TransactionalGatherer that joins gathered metrics from multiple transactional gatherers. It is caller responsibility to ensure two registries have mutually exclusive metric families, no deduplication will happen.

Source from the content-addressed store, hash-verified

997// It is caller responsibility to ensure two registries have mutually exclusive metric families,
998// no deduplication will happen.
999type MultiTRegistry struct {
1000 tGatherers []TransactionalGatherer
1001}
1002
1003// NewMultiTRegistry creates MultiTRegistry.
1004func NewMultiTRegistry(tGatherers ...TransactionalGatherer) *MultiTRegistry {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected