config-invalid-missing-metricname.yaml 420 B

12345678910111213
  1. sqlquery:
  2. collection_interval: 10s
  3. driver: mydriver
  4. datasource: "host=localhost port=5432 user=me password=s3cr3t sslmode=disable"
  5. queries:
  6. - sql: "select count(*) as count, type from mytable group by type"
  7. metrics:
  8. - value_column: "count"
  9. attribute_columns: [ "type" ]
  10. data_type: gauge
  11. value_type: int
  12. monotonic: false
  13. aggregation: cumulative