github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/loadbalancer/lb_statistics_counter.go (about)

     1  package loadbalancer
     2  
     3  type LbStatisticsCounter struct {
     4  	// Number of bytes in
     5  	BytesIn int64 `json:"bytes_in"`
     6  
     7  	// The average number of inbound bytes per second, the number is averaged over the last 5 one-second intervals.
     8  	BytesInRate float64 `json:"bytes_in_rate,omitempty"`
     9  
    10  	// Number of bytes out
    11  	BytesOut int64 `json:"bytes_out"`
    12  
    13  	// The average number of outbound bytes per second, the number is averaged over the last 5 one-second intervals.
    14  	BytesOutRate float64 `json:"bytes_out_rate,omitempty"`
    15  
    16  	// Number of current sessions
    17  	CurrentSessions int64 `json:"current_sessions"`
    18  
    19  	// The average number of current sessions per second, the number is averaged over the last 5 one-second intervals.
    20  	CurrentSessionRate float64 `json:"current_session_rate,omitempty"`
    21  
    22  	// Number of http requests
    23  	HttpRequests int64 `json:"http_requests"`
    24  
    25  	// The average number of http requests per second, the number is averaged over the last 5 one-second intervals.
    26  	HttpRequestRate float64 `json:"http_request_rate,omitempty"`
    27  
    28  	// Number of maximum sessions
    29  	MaxSessions int64 `json:"max_sessions"`
    30  
    31  	// Number of packets in
    32  	PacketsIn int64 `json:"packets_in,omitempty"`
    33  
    34  	// The average number of inbound packets per second, the number is averaged over the last 5 one-second intervals.
    35  	PacketsInRate float64 `json:"packets_in_rate,omitempty"`
    36  
    37  	// Number of packets out
    38  	PacketsOut int64 `json:"packets_out,omitempty"`
    39  
    40  	// The average number of outbound packets per second, the number is averaged over the last 5 one-second intervals.
    41  	PacketsOutRate float64 `json:"packets_out_rate,omitempty"`
    42  
    43  	// Number of source IP persistence entries
    44  	SourceIPPersistenceEntrySize int64 `json:"source_ip_persistence_entry_size,omitempty"`
    45  
    46  	// Number of total sessions
    47  	TotalSessions int64 `json:"total_sessions"`
    48  }