Task/add health check to /iot/about /metrics and /ready#1764
Open
AlvaroVega wants to merge 31 commits intomasterfrom
Open
Task/add health check to /iot/about /metrics and /ready#1764AlvaroVega wants to merge 31 commits intomasterfrom
AlvaroVega wants to merge 31 commits intomasterfrom
Conversation
fgalan
reviewed
Mar 6, 2026
CHANGES_NEXT_RELEASE
Outdated
| @@ -1,2 +1,3 @@ | |||
| - Upgrade express dep from 4.21.2 to 4.22.1 | |||
| - Upgrade markdown dep from 3.3.4 to 3.8.1 | |||
| - Add to endpoint /about info about status of CB, IotaM, Mongo and MQTT broker (#1763) | |||
Member
There was a problem hiding this comment.
- The new 4 env vars should be mentioned
- The improvements in GET /metrics should be mentioned
- The new operation GET /ready should be mentioned
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix for #1763
This produces:
curl -i -X GET http://localhost:4052/iot/about
{ "libVersion":"4.13.0-next", "port":"4052", "baseRoot":"/", "version":"3.13.0-next", "connections":{ "contextBroker":{ "ok":true, "configured":true, "url":"http://iot-orion:1026", "lastOk":"2026-02-27T13:28:53.484Z", "lastError":null, "latencyMs":7, "consecutiveFails":0}, "iotagentManager":{"ok":true,"configured":true,"url":"http://iot-iotagent-manager:8082","lastOk":"2026-02-27T13:28:53.494Z","lastError":null,"latencyMs":17,"consecutiveFails":0}, "mongodb":{"ok":true,"configured":true,"url":"mongodb://iot-mongo:27017/iotajson","lastOk":"2026-02-27T13:28:53.482Z","lastError":null,"latencyMs":5,"consecutiveFails":0}, "mqtt":{"ok":true,"configured":true,"url":"mqtt://iot-mosquitto:1883","lastOk":"2026-02-27T13:28:53.485Z","lastError":null,"latencyMs":7,"consecutiveFails":0} } }curl -i -X GET http://localhost:4052/ready
HTTP/1.1 200 OK
X-Powered-By: Express
Fiware-Correlator: 930a1b27-da53-4fe4-91fb-db26e1b5809f
Content-Type: application/json; charset=utf-8
Content-Length: 2
ETag: W/"2-vyGp6PvFo4RvsFtPoIWeCReyIC8"
Date: Fri, 06 Mar 2026 07:16:59 GMT
Connection: keep-alive
Keep-Alive: timeout=5
{}