Documentation ¶
Index ¶
Constants ¶
View Source
const PluginType = "metrics_collector"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func NewCollector(r prometheus.Registerer, name string) (*Collector, error)
NewCollector inits a new Collector with given name to r. name must be unique in the r.
func (*Collector) Exec ¶
func (c *Collector) Exec(ctx context.Context, qCtx *query_context.Context, next sequence.ChainWalker) error
Click to show internal directories.
Click to hide internal directories.