What is correct way of adding both reposize and freespace for informer?

Hi
Is the below correct for adding both informers or is the same key “disk” duplicated and I should do it another way?

"informer": {
    "disk": {
      "metric_ttl": "30s",
      "metric_type": "freespace"
    },
    "disk": {
      "metric_ttl": "30s",
      "metric_type": "reposize"
    },
    "pinqueue": {
      "metric_ttl": "30s",
      "weight_bucket_size": 100000
    },
    "tags": {
      "metric_ttl": "30s",
      "tags": {
        "group": "default"
      }
    }
  },

It’s not possible to emit both. If you need this please open an issue with the justification.

1 Like