// GetLogsMetrics returns the latest (512) METRICS log lines.
GetLogsMetrics returns the latest (512) METRICS log lines.
// GetLogsMetrics returns the latest ( 512 ) METRICS log lines .
func (c *Client) GetLogsMetrics() ([]LogLine, error) {
	resp, err := c.Do(http.MethodGet, logsMetricsPath, "", nil)
	if err != nil {
		return nil, err
	}
	var logs []LogLine
	err = c.ReadJSON(resp, &logs)
	return logs, err
}
func ( c * Client ) GetLogsMetrics ( ) ( [ ] LogLine , error ) { resp , err := c . Do ( http . MethodGet , logsMetricsPath , " " , nil ) if err != nil { return nil , err } var logs [ ] LogLine err = c . ReadJSON ( resp , & logs ) return logs , err }
GetLogsMetrics returns the latest (512) METRICS log lines.
GetLogsMetrics returns the latest ( 512 ) METRICS log lines .