Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Add grafana charts and prometheus metrics to capture database errors #246

Merged
merged 1 commit into from
Sep 23, 2019

Conversation

abaiken
Copy link
Contributor

@abaiken abaiken commented Sep 19, 2019

Closes #235

To test:

  1. Bring up local development following the grafana and prometheus instructions
  2. Upload reports.
  3. Docker stop the database
  4. Upload more reports
  5. look at the database errors chart in grafana

@abaiken abaiken added this to the QPC 2019 - Sprint 18 milestone Sep 19, 2019
@abaiken abaiken requested a review from a team September 19, 2019 20:57
@codecov-io
Copy link

codecov-io commented Sep 19, 2019

Codecov Report

Merging #246 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #246      +/-   ##
==========================================
+ Coverage   96.31%   96.32%   +0.01%     
==========================================
  Files          28       28              
  Lines        2362     2369       +7     
  Branches      280      280              
==========================================
+ Hits         2275     2282       +7     
  Misses         43       43              
  Partials       44       44
Impacted Files Coverage Δ
yupana/processor/garbage_collection.py 100% <100%> (ø) ⬆️
yupana/processor/report_processor.py 94.21% <100%> (+0.05%) ⬆️
yupana/processor/abstract_processor.py 96.31% <100%> (+0.01%) ⬆️
yupana/processor/report_consumer.py 93.82% <100%> (+0.15%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a0fe035...bbcdeee. Read the comment docs.

@abaiken abaiken merged commit eb20402 into master Sep 23, 2019
@abaiken abaiken deleted the issues/235 branch September 23, 2019 13:35
abaiken added a commit that referenced this pull request Oct 11, 2019
* Remove report archives from postgresDB after specified time  (#233)

* initial changes to add a garbage collector.

* Scheduled monthly dependency update for September (#237)

* Update requests-mock from 1.6.0 to 1.7.0
* Update requests-mock from 1.6.0 to 1.7.0
* Update sphinx from 2.1.2 to 2.2.0
* Update sphinx from 2.1.2 to 2.2.0
* Update lazy-object-proxy from 1.4.1 to 1.4.2
* Update port-for from 0.3.1 to 0.4
* Update virtualenv from 16.7.2 to 16.7.4
* Update zipp from 0.5.2 to 0.6.0

* Add Grafana & Prometheus to local development (#239)

* add prometheus & grafana to local dev

* Add host/report metrics (per hour/minute/day/source/etc) (#244)

* Add host metrics to Grafana

* Add metric to capture kafka errors (#245)

* Add metric to capture kafka errors

* Add grafana charts and prometheus metrics to capture db errors (#246)

* Change our base image from CentOS to UBI  (#247)

* Initial changes to test moving from a centos image to ubi

* Stop processors when fatal errors occur (#252)

* Initial changes for adding a shutdown for all processors when fatal errors occur

* Added Jenkinsfile for e2e smoke tests (#255)
abaiken added a commit that referenced this pull request Oct 31, 2019
* Remove report archives from postgresDB after specified time  (#233)

* initial changes to add a garbage collector.

* Scheduled monthly dependency update for September (#237)

* Update requests-mock from 1.6.0 to 1.7.0
* Update requests-mock from 1.6.0 to 1.7.0
* Update sphinx from 2.1.2 to 2.2.0
* Update sphinx from 2.1.2 to 2.2.0
* Update lazy-object-proxy from 1.4.1 to 1.4.2
* Update port-for from 0.3.1 to 0.4
* Update virtualenv from 16.7.2 to 16.7.4
* Update zipp from 0.5.2 to 0.6.0

* Add Grafana & Prometheus to local development (#239)

* add prometheus & grafana to local dev

* Add host/report metrics (per hour/minute/day/source/etc) (#244)

* Add host metrics to Grafana

* Add metric to capture kafka errors (#245)

* Add metric to capture kafka errors

* Add grafana charts and prometheus metrics to capture db errors (#246)

* Change our base image from CentOS to UBI  (#247)

* Initial changes to test moving from a centos image to ubi

* Stop processors when fatal errors occur (#252)

* Initial changes for adding a shutdown for all processors when fatal errors occur

* Added Jenkinsfile for e2e smoke tests (#255)

* Updated the services defined for the yupana smoke tests (#257)

* Updated the services defined for the yupana smoke tests
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add prometheus metrics to record Postgres errors
3 participants