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

Emit a metric when pghoard quits main loop #598

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Conversation

Aiqin-Aiven
Copy link
Contributor

for example: for alerting purpose

About this change - What it does

Emit a metric when there is unrecoverable error to quit main loop
So we can do some alert on services.

Why this way

A metric will generate each time if there is a main loop quit.

@Aiqin-Aiven
Copy link
Contributor Author

will need to address rohmu PR first: Aiven-Open/rohmu#144

for example: for alerting purpose
@codecov-commenter
Copy link

codecov-commenter commented Sep 29, 2023

Codecov Report

Merging #598 (dee324f) into main (6e6c70b) will decrease coverage by 0.09%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #598      +/-   ##
==========================================
- Coverage   91.44%   91.35%   -0.09%     
==========================================
  Files          32       32              
  Lines        4709     4710       +1     
==========================================
- Hits         4306     4303       -3     
- Misses        403      407       +4     
Files Coverage Δ
pghoard/pghoard.py 85.48% <0.00%> (-0.14%) ⬇️

... and 1 file with indirect coverage changes

@alexole alexole merged commit c6d3db4 into main Sep 29, 2023
7 checks passed
@alexole alexole deleted the aiqin-quit-main-loop branch September 29, 2023 08:27
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.

3 participants