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

Healthcheck does not represent real state of feeder #30

Open
LsHallo opened this issue Apr 25, 2023 · 0 comments
Open

Healthcheck does not represent real state of feeder #30

LsHallo opened this issue Apr 25, 2023 · 0 comments

Comments

@LsHallo
Copy link

LsHallo commented Apr 25, 2023

My container reports healthy but opensky dashboard shows I'm not feeding:
image

This setup has worked before and stops working every time my beasthost is not reachable for ~2s which occurs regularly due to spotty WiFi. It would be nice if the healthcheck would detect that so the container can restart accordingly.

I also recognize that this might be out of the reach of this repo and might be a problem with the opensky feeder since it reports that it is still online so you couldn't detect the issue:

[2023/04/25 22:03:46][opensky-feeder] Statistics
[2023/04/25 22:03:46][opensky-feeder]  - started on Sat Apr 15 22:43:46 2023
[2023/04/25 22:03:46][opensky-feeder]  - running since   9d, 23h:20m:00s
[2023/04/25 22:03:46][opensky-feeder] 
[2023/04/25 22:03:46][opensky-feeder]  Receiver
[2023/04/25 22:03:46][opensky-feeder]  -                     1629163 frames received (1.89 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]  -                          45 [  0%] Mode-A/C (0.00 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]  -                     1062841 [ 65%] Mode-S Short (1.23 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]  -                      566277 [ 35%] Mode-S Long (0.66 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]    -                       92262 [  6%] type 0 (0.11 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]    -                      166453 [ 10%] type 4 (0.19 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]    -                       32540 [  2%] type 5 (0.04 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]    -                      771586 [ 47%] type 11 (0.90 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]    -                        7905 [  0%] type 16 (0.01 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]    -                      215133 [ 13%] type 17 (0.25 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]    -                      283147 [ 17%] type 20 (0.33 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]    -                       60092 [  4%] type 21 (0.07 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]  -                           0 [  0%] status (0.00 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]  -                           0 [  0%] unknown (0.00 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]  -                     1414030 [ 87%] filtered (1.64 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]  -                     1413985 [ 87%] Mode-S filtered (1.64 /s, 0.00 /s)
[2023/04/25 22:03:46][opensky-feeder]  -                     1629163 unsynchronized frames
[2023/04/25 22:03:46][opensky-feeder] 
[2023/04/25 22:03:46][opensky-feeder]  Buffer
[2023/04/25 22:03:46][opensky-feeder]  -                           0 queued messages (current)
[2023/04/25 22:03:46][opensky-feeder]  -                          23 queued messages (max)
[2023/04/25 22:03:46][opensky-feeder]  -                           0 discarded messages (current)
[2023/04/25 22:03:46][opensky-feeder]  -                           0 discarded messages (overall)
[2023/04/25 22:03:46][opensky-feeder]  -                           0 discarded messages (in worst overflow situation)
[2023/04/25 22:03:46][opensky-feeder]  -                         199 messages in pool (Usage 0.00%)
[2023/04/25 22:03:46][opensky-feeder]  -                           0 dynamic pools (current)
[2023/04/25 22:03:46][opensky-feeder]  -                           0 dynamic pools (overall)
[2023/04/25 22:03:46][opensky-feeder]  -                           0 dynamic pools (max)
[2023/04/25 22:03:46][opensky-feeder]  -                           3 flushes
[2023/04/25 22:03:46][opensky-feeder]  -                           0 uncollected dynamic pools
[2023/04/25 22:03:46][opensky-feeder]  -                           0 Garbage Collector runs
[2023/04/25 22:03:46][opensky-feeder] 
[2023/04/25 22:03:46][opensky-feeder]  Network
[2023/04/25 22:03:46][opensky-feeder]  -                             currently online
[2023/04/25 22:03:46][opensky-feeder]  -                      861600 [100%] seconds online (overall)
[2023/04/25 22:03:46][opensky-feeder]  -                           2 disconnections
[2023/04/25 22:03:46][opensky-feeder]  -                           3 connection attempts
[2023/04/25 22:03:46][opensky-feeder]  -                     6067253 bytes sent (7.04/s)
[2023/04/25 22:03:46][opensky-feeder]  -                          18 bytes received (0.00/s)
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

No branches or pull requests

1 participant