Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Octopus ¶
type Octopus struct {
// contains filtered or unexported fields
}
func (*Octopus) GetTopology ¶
GetTopology returns a pointer to the current topology
func (*Octopus) Init ¶
Init initializes the Ocotopus with the given list of connectors and triggers and initial load of data into the connectors
func (*Octopus) Start ¶
func (o *Octopus) Start()
Start starst the Octopus and connectors update routines as well as http + gRPC server
func (*Octopus) UpdateTopology ¶
UpdateTopology triggers and instant update of the topology data from all configured connectors
type PromAdapter ¶
type PromAdapter struct {
// contains filtered or unexported fields
}
func NewPromAdapter ¶
func NewPromAdapter(octopus *Octopus) *PromAdapter
func (*PromAdapter) Collect ¶
func (p *PromAdapter) Collect(ch chan<- prometheus.Metric)
func (*PromAdapter) Describe ¶
func (p *PromAdapter) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.