Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleFunc ¶
func HandleFunc(faq querier.FlowAggregatorQuerier) http.HandlerFunc
HandleFunc returns the function which can handle the /recordmetrics API request.
Types ¶
type Response ¶
type Response struct { NumRecordsExported int64 `json:"numRecordsExported,omitempty"` NumRecordsReceived int64 `json:"numRecordsReceived,omitempty"` NumFlows int64 `json:"numFlows,omitempty"` NumConnToCollector int64 `json:"numConnToCollector,omitempty"` WithClickHouseExporter bool `json:"withClickHouseExporter,omitempty"` WithS3Exporter bool `json:"withS3Exporter,omitempty"` WithLogExporter bool `json:"withLogExporter,omitempty"` WithIPFIXExporter bool `json:"withIPFIXExporter,omitempty"` }
Response is the response struct of recordmetrics command.
func (Response) GetTableHeader ¶
func (Response) GetTableRow ¶
Click to show internal directories.
Click to hide internal directories.