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

Method Gather

prometheus/registry.go:1073–1076  ·  view source on GitHub ↗

Gather implements TransactionalGatherer interface.

()

Source from the content-addressed store, hash-verified

1071
1072// Gather implements TransactionalGatherer interface.
1073func (g *noTransactionGatherer) Gather() (_ []*dto.MetricFamily, done func(), err error) {
1074 mfs, err := g.g.Gather()
1075 return mfs, func() {}, err
1076}

Callers

nothing calls this directly

Calls 1

GatherMethod · 0.65

Tested by

no test coverage detected