numaproj / numalogic-prometheus

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

Enable custom metrics #162

Closed sarabala1979 closed 11 months ago

sarabala1979 commented 12 months ago

Explain what this PR does.

codecov-commenter commented 12 months ago

Codecov Report

Merging #162 (15140d8) into main (5653128) will decrease coverage by 0.28%. The diff coverage is 77.14%.

@@            Coverage Diff             @@
##             main     #162      +/-   ##
==========================================
- Coverage   86.23%   85.96%   -0.28%     
==========================================
  Files          18       20       +2     
  Lines        1119     1154      +35     
  Branches      118      118              
==========================================
+ Hits          965      992      +27     
- Misses        130      138       +8     
  Partials       24       24              
Files Changed Coverage Δ
numaprom/metrics/_metrics.py 75.00% <75.00%> (ø)
numaprom/udf/postprocess.py 95.69% <75.00%> (-0.94%) :arrow_down:
numaprom/udf/preprocess.py 88.88% <75.00%> (-1.12%) :arrow_down:
numaprom/udf/threshold.py 91.17% <75.00%> (-1.02%) :arrow_down:
numaprom/udf/window.py 93.44% <75.00%> (-1.30%) :arrow_down:
numaprom/udf/inference.py 92.00% <80.00%> (-0.86%) :arrow_down:
numaprom/metrics/__init__.py 100.00% <100.00%> (ø)

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