Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentTimeGetter ¶ added in v0.3.0
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func (*Collector) GetRawNetworkMetricsHandler ¶ added in v0.8.0
func (c *Collector) GetRawNetworkMetricsHandler(w http.ResponseWriter, req *http.Request)
type Config ¶
type Config struct { // ReadInterval used for conntrack records scrape. ReadInterval time.Duration // CleanupInterval used to remove expired conntrack and pod metrics records. CleanupInterval time.Duration // NodeName is current node name on which egressd is running. NodeName string // ExcludeNamespaces allows to exclude namespaces. Input is comma separated string. ExcludeNamespaces string // GroupPublicIPs will group all public destinations under single 0.0.0.0 IP. GroupPublicIPs bool // SendTrafficDelta used to determines if traffic should be sent as delta of 2 consecutive conntrack entries // or as the constantly growing counter value SendTrafficDelta bool LogEntries bool }
Click to show internal directories.
Click to hide internal directories.