Skip to content

Task/add health check to /about#1764

Draft
AlvaroVega wants to merge 16 commits intomasterfrom
task/add_health_middleware
Draft

Task/add health check to /about#1764
AlvaroVega wants to merge 16 commits intomasterfrom
task/add_health_middleware

Conversation

@AlvaroVega
Copy link
Member

@AlvaroVega AlvaroVega commented Feb 27, 2026

fix for #1763

  • Update doc
  • new config env vars: IOTA_HEALTH_CHECK_INTERVAL, IOTA_HEALTH_CHECK_TIMEOUT, IOTA_HEALTH_CHECK_DOWN_AFTER_FAILS
  • Add Test

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}
}
}

@AlvaroVega AlvaroVega changed the title Task/add health middleware Task/add health check to /about Mar 2, 2026
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

Successfully merging this pull request may close these issues.

1 participant