Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Prometheus scrape metrics task fixed in order to have a proper s… #124

Conversation

marcosschroh
Copy link
Collaborator

…hutdown

The monitor shutdown will wait until the scraping Task is done rather than canceling it. Parameter metrics_scrape_time added.

…hutdown

The monitor shutdown will wait until the scraping Task is done rather than canceling it.
Parameter metrics_scrape_time added.
@codecov
Copy link

codecov bot commented Jul 26, 2023

Codecov Report

Merging #124 (cff5e21) into master (17be63a) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
+ Coverage   94.06%   94.10%   +0.03%     
==========================================
  Files          20       20              
  Lines         708      712       +4     
==========================================
+ Hits          666      670       +4     
  Misses         42       42              
Flag Coverage Δ
unittests 94.10% <100.00%> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
kstreams/engine.py 97.97% <100.00%> (ø)
kstreams/prometheus/monitor.py 97.97% <100.00%> (+0.06%) ⬆️
kstreams/streams.py 96.07% <100.00%> (+0.03%) ⬆️

@marcosschroh marcosschroh merged commit 8d8b99d into kpn:master Jul 26, 2023
6 of 7 checks passed
@marcosschroh marcosschroh deleted the fix/prometheus-monitoring-task-proper-shutdown branch July 26, 2023 12:53
@marcosschroh marcosschroh restored the fix/prometheus-monitoring-task-proper-shutdown branch July 26, 2023 12:53
@marcosschroh marcosschroh deleted the fix/prometheus-monitoring-task-proper-shutdown branch July 26, 2023 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants