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 grafana charts and prometheus metrics to capture database errors #246

Closed abaiken closed 5 years ago

abaiken commented 5 years ago

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
codecov-io commented 5 years ago

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%> (ø) :arrow_up:
yupana/processor/report_processor.py 94.21% <100%> (+0.05%) :arrow_up:
yupana/processor/abstract_processor.py 96.31% <100%> (+0.01%) :arrow_up:
yupana/processor/report_consumer.py 93.82% <100%> (+0.15%) :arrow_up:

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.