numaproj / numalogic-prometheus

AIOps for metrics in Prometheus
Apache License 2.0
32 stars 10 forks source link

Fix exception #145

Closed s0nicboOm closed 1 year ago

s0nicboOm commented 1 year ago

Fix exception handling while loading pickle models

codecov-commenter commented 1 year ago

Codecov Report

Merging #145 (e67a4f1) into main (4966e7c) will increase coverage by 0.52%. The diff coverage is 71.42%.

@@            Coverage Diff             @@
##             main     #145      +/-   ##
==========================================
+ Coverage   81.78%   82.30%   +0.52%     
==========================================
  Files          20       20              
  Lines        1131     1136       +5     
  Branches      117      119       +2     
==========================================
+ Hits          925      935      +10     
+ Misses        184      177       -7     
- Partials       22       24       +2     
Impacted Files Coverage Δ
numaprom/clients/prometheus.py 64.78% <0.00%> (-0.93%) :arrow_down:
numaprom/__init__.py 60.60% <50.00%> (ø)
numaprom/udf/preprocess.py 95.74% <100.00%> (+6.85%) :arrow_up:
numaprom/udf/threshold.py 96.72% <100.00%> (+5.19%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more