numaproj / numalogic-prometheus

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

feat: watchdog observer for config auto loading #119

Closed nkoppisetty closed 1 year ago

nkoppisetty commented 1 year ago

Explain what this PR does.

Implemented watchdog observer for config auto loading on ConfigMap changes

codecov-commenter commented 1 year ago

Codecov Report

Merging #119 (9d83956) into main (f8f2403) will decrease coverage by 2.11%. The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main     #119      +/-   ##
==========================================
- Coverage   86.60%   84.49%   -2.11%     
==========================================
  Files          18       19       +1     
  Lines         978     1045      +67     
  Branches      108      114       +6     
==========================================
+ Hits          847      883      +36     
- Misses        108      139      +31     
  Partials       23       23              
Impacted Files Coverage Δ
numaprom/watcher.py 67.36% <67.36%> (ø)
numaprom/__init__.py 85.00% <100.00%> (ø)
numaprom/_config.py 100.00% <100.00%> (ø)
numaprom/_constants.py 100.00% <100.00%> (ø)
numaprom/tools.py 85.89% <100.00%> (-2.77%) :arrow_down:
numaprom/udf/inference.py 94.54% <100.00%> (+0.10%) :arrow_up:
numaprom/udf/postprocess.py 95.55% <100.00%> (+0.04%) :arrow_up:
numaprom/udf/preprocess.py 100.00% <100.00%> (ø)
numaprom/udf/threshold.py 100.00% <100.00%> (ø)
numaprom/udf/window.py 95.16% <100.00%> (+0.07%) :arrow_up:
... and 2 more

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