Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendToQueue ¶
func SendToQueue(metrics []HTTPMetric, queueURL string) error
SendToQueue send the metrics information to the SQS Queue URL
Types ¶
type HTTPMetric ¶
type HTTPMetric struct {
// contains filtered or unexported fields
}
HTTPMetric is the metric we collect from target
func GetMetrics ¶
func GetMetrics(target string, count int, interval int, verbose bool) []HTTPMetric
GetMetrics call getBodyResponse and return un array of the HTTPMetric type **DONT DO SLICE HERE, AND NO COUNT**
Click to show internal directories.
Click to hide internal directories.