MetricsDesc describes a Metrics interface to the topology.
| 99 | |
| 100 | // MetricsDesc describes a Metrics interface to the topology. |
| 101 | type 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. |
| 108 | type UserDesc struct { |
nothing calls this directly
no outgoing calls
no test coverage detected