config-invalid-missing-datasource.yaml 372 B

12345678910111213
  1. sqlquery:
  2. collection_interval: 10s
  3. driver: mydriver
  4. queries:
  5. - sql: "select count(*) as count, type from mytable group by type"
  6. metrics:
  7. - metric_name: val.count
  8. value_column: "count"
  9. attribute_columns: [ "type" ]
  10. data_type: gauge
  11. value_type: int
  12. monotonic: false
  13. aggregation: cumulative