MCPcopy Create free account
hub / github.com/AdRoll/baker / MetricsDesc

Struct MetricsDesc

desc.go:101–105  ·  view source on GitHub ↗

MetricsDesc describes a Metrics interface to the topology.

Source from the content-addressed store, hash-verified

99
100// MetricsDesc describes a Metrics interface to the topology.
101type MetricsDesc struct {
102 Name string // Name of the metrics interface
103 Config interface{} // Config is the metrics client specific configuration
104 New func(interface{}) (MetricsClient, error) // New is the constructor-like function called by the topology to create a new metrics client
105}
106
107// UserDesc describes user-specific configuration sections.
108type UserDesc struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected