quipucords / yupana

Service app to process & upload data from quipucords and satellite to the host based inventory
GNU General Public License v3.0
4 stars 14 forks source link

Add prometheus metrics to record Postgres errors #235

Closed abaiken closed 5 years ago

abaiken commented 5 years ago

Feature description:

We want to add prometheus metrics to record Postgres Errors so that we can display these in a meaningful way in Grafana and set up alerts to follow. Possibly bucket these by the hour as well.

Is your feature request related to a problem?

In order to become production ready - we want to have good grafana charts in place to help us troubleshoot when things go wrong.

Describe the solution you'd like

We should add the necessary prometheus metric in order to see the number of postgres errors that happen.


Acceptance Criteria: