chop-dbhi / prometheus-sql

Service that exposes Prometheus metrics for a SQL result set.
BSD 2-Clause "Simplified" License
202 stars 55 forks source link

Tolerate single-file parsing errors when loading a directory of configuration files #27

Closed andybrown668 closed 7 years ago

andybrown668 commented 7 years ago

Current functionality exits with an error if even one file in a configuration folder is invalid. I'd like the option to tolerate errors so other queries can run.

andybrown668 commented 7 years ago

I have this coded up so I could submit a PR and push the branch if you like

bruth commented 7 years ago

Please do!

andybrown668 commented 7 years ago

here's the PR - https://github.com/chop-dbhi/prometheus-sql/pull/28