query {

metrics {
  count
  name
  history {
    key
    value
  }
}

}