config-invalid-aggregation.yaml 456 B

1234567891011121314
  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. - metric_name: val.count
  9. value_column: "count"
  10. attribute_columns: [ "type" ]
  11. data_type: gauge
  12. value_type: int
  13. monotonic: false
  14. aggregation: xyzcumulative