Skip to content

[Improvemet] Add to healthcheck route the state of dependant services #1763

@mapedraza

Description

@mapedraza

Component

Feature enhancement

Is your feature request related to a problem? Please describe

Right now, /iot/about does not provides any information regarding the status of the service.

Healthechek just verifies if status code 200 is returned, but it is possible the IoTA is still waiting for the MQTT broker or the IoTA Manager.

This is specially important during the startup or after a platform reboot.

Describe the solution you'd like

I propose a JSON response offering information about dependant seriveces. I.E:

{
   "mongo":"ok",
   "iotamanager":"ok",
   "mqtt":"nok"
}

CC: @mrutid @rg2011

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions