-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
Restart count? #104
Comments
Think it's time to think about metrics of health check events. Possibly something like a Prometheus endpoint? |
Healthchecks itself, no. Basis possibly was Health check was lean enough to do only instructed restarts and no more. One can track events themselves by 3rd party. |
I used the PR to run a script to track and take action.
I have a script that is triggered by a container restart that logs the
date, time, container name of each container restarted. If X restarts
happen within Y minutes then the script calls another script to resolve the
issue vs manually getting involved to resolve the issue.
…On Thu, Apr 27, 2023, 21:37 Hasnat ***@***.***> wrote:
Is there a way I can see the number of restarts that have happened?
Healthchecks itself, no. Basis possibly was Health check was lean enough
to do only instructed restarts and no more.
One can track events themselves by 3rd party.
—
Reply to this email directly, view it on GitHub
<#104 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADLOXCMMWXG4ALDVKEJ67EDXDLDHDANCNFSM6AAAAAAXODPDSI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
What do you mean by |
It's kind of silly but I didn't realize there's two kinds of restarts: one managed by docker and handled by |
PR is a Pull Request. It's someone who has made a modification to the
original software and is asking for it to be merged into the original code.
I take it you aren't a developer. It's fine but it's common lingo in the
open source community.
#101
I have a docker image out there with this and other PRs merged in with some
of my own customizations. I havent properly documented it as its really for
personal use but its on dockerhub.
…On Thu, Apr 27, 2023 at 10:56 PM Gezim Hoxha ***@***.***> wrote:
I used the PR to run a script to track and take action.
What do you mean by PR?
—
Reply to this email directly, view it on GitHub
<#104 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADLOXCPSHMT7JKWGUIGVGITXDLMPTANCNFSM6AAAAAAXODPDSI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
likely you'd be interested in more events too like stop/destroy/create. You main questions stays valid if autoheal should report/track its own actions? |
Is there a way I can see the number of restarts that have happened?
The text was updated successfully, but these errors were encountered: