Open pacamaster opened 8 months ago
there is not much information exposed for "healthz" endpoint. some other useful information
Hey @pacamaster, does the customer want to consume this data? Or, do we (Fleet organization) want to consume this data?
If it's Fleet, we have usage statistics that we can see for all paying customers. If it's the customer, maybe we can send them the usage stats?
Hey @pacamaster, heads up, we didn't take this one on in the current design sprint (4.48).
Please follow up to my question in the above comment before bringing this back to feature fest. Thanks!
@noahtalerman sorry I didn't get tagged here, but the customer would like to consume this data
Thanks @Patagonia121. Added the ~feature fest
label.
@lukeheath I'm thinking a quick win here would be to give user a way to specify a webhook URL for the existing usage stats ping.
Optional field. If specified, Fleet sends usage stats to that URL and fleetdm.com.
What do you think the level of effort would be for something like that?
@noahtalerman, using the existing usage statistics feed is a good idea. Adding an optional URL to send the feed to would be low effort.
The /healthz endpoint returns 200 if MySQL and Redis are healthy. Returning additional information like job run status would be really helpful and also low effort.
@pacamaster we discussed this during the last feature fest.
We decided not to work on drafts for this in the upcoming sprint (4.49)
Removing from feature fest.
Problem
Goal
More info
Currently, there is not much information exposed for "healthz" endpoint. some other useful information
Some of this info can be obtained from queries, but having an endpoint or fast way would be useful.
Potential solutions