Documentation ¶
Overview ¶
Package promexp receives enriched flow data from Producer, stores it in a temporary buffer and waits for a Prometheus scrape event for further processing. At that time promexp executes these tasks:
- Checks out the accumulated flows from the temporary buffer.
- Aggregates those flows over a user defined label set.
- Checks if aggregates are compliant with a minimum user defined data rate. If not, they are added to the untracked counters and removed from table.
- Checks the remaining flows in table for age. The expired ones are evicted.
- Exports the remaining flows to the Prometheus client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GobiProm ¶
type GobiProm struct {
// contains filtered or unexported fields
}
func (*GobiProm) Collect ¶
func (g *GobiProm) Collect(ch chan<- prometheus.Metric)
Collect implements the Prometheus Collect interface. This method is called by Prometheus Client each time the exporter is scraped.
func (*GobiProm) Describe ¶
func (g *GobiProm) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.