Example #1
0
 /**
  * Get history logs
  *
  * @param integer $from
  * @param integer $to
  * @param string  $query
  * @param string  $topic
  *
  * @return GetHistogramsResponse
  */
 public function getHistograms($from = null, $to = null, $query = null, $topic = null)
 {
     $request = new GetHistogramsRequest($this->project, $this->logStore, $from, $to, $topic, $query);
     $response = $this->client->getHistograms($request);
     return $response;
 }