abcxyz / jvs

Apache License 2.0
8 stars 0 forks source link

Add simple prober to monitoring #221

Closed yolocs closed 1 year ago

yolocs commented 1 year ago

To continuously monitor JVS liveness, we need a basic prober. The basic logic is:

  1. Give a JVS API endpoint
  2. Request a token
  3. Validate the token
  4. Write a success metric data point
  5. Repeat after a while

We then set up alerting based on the success metric.

We already have jvsctl that's capable of requesting/validating token. We can build an image on top of it. We can use log-based metrics. We can use cloud scheduler for the repeat.

yolocs commented 1 year ago

Can we close this now? @sailorlqh

sailorlqh commented 1 year ago

Can we close this now? @sailorlqh

I will close this once #243 is merged. @yolocs

sailorlqh commented 1 year ago

Fixed by #243