Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandFactory ¶
type CommandFactory struct {
}
CommandFactory allows ingesting prometheus metrics
func GetFactory ¶
func GetFactory(r prometheus.Registerer) *CommandFactory
GetFactory returns a global-shared CommandFactory, with metrics registered into r
func GetFactoryWithNamespace ¶ added in v0.1.0
func GetFactoryWithNamespace(r prometheus.Registerer, namespace string) *CommandFactory
GetFactoryWithNamespace returns a global-shared CommandFactory, with metrics registered into r Metrics will be created in particular namespace
func (*CommandFactory) CommandProperties ¶
func (c *CommandFactory) CommandProperties(circuitName string) circuit.Config
CommandProperties creates prometheus metrics for a circuit
Click to show internal directories.
Click to hide internal directories.