Skip to content

Instantly share code, notes, and snippets.

@dekobon
Last active January 31, 2022 23:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dekobon/cdf6a17a3a01cce85fa24bac6757c8fe to your computer and use it in GitHub Desktop.
Save dekobon/cdf6a17a3a01cce85fa24bac6757c8fe to your computer and use it in GitHub Desktop.
Bank of Sirius Front End Service [Health Check / Info]
{
"components": {
"balance_api": {
"status": "UP",
"components": {
"db": {
"status": "UP",
"details": {
"database": "PostgreSQL",
"validationQuery": "isValid()"
}
},
"diskSpace": {
"status": "UP",
"details": {
"total": 236097523712,
"free": 16240652288,
"threshold": 10485760,
"exists": true
}
},
"ledgerReaderHealth": {
"status": "UP",
"details": {
"taskName": "LedgerReader",
"lastRun": "2022-01-31T23:10:04.391Z",
"timeSinceLastRunMs": 177
}
},
"livenessState": {
"status": "UP"
},
"ping": {
"status": "UP"
},
"readinessState": {
"status": "UP"
},
"refreshScope": {
"status": "UP"
}
},
"groups": [
"liveness",
"readiness"
]
},
"transactions_api": {
"status": "UP",
"components": {
"db": {
"status": "UP",
"details": {
"database": "PostgreSQL",
"validationQuery": "isValid()"
}
},
"diskSpace": {
"status": "UP",
"details": {
"total": 236097523712,
"free": 16240652288,
"threshold": 10485760,
"exists": true
}
},
"livenessState": {
"status": "UP"
},
"ping": {
"status": "UP"
},
"readinessState": {
"status": "UP"
},
"refreshScope": {
"status": "UP"
}
},
"groups": [
"liveness",
"readiness"
]
},
"history_api": {
"status": "UP",
"components": {
"db": {
"status": "UP",
"details": {
"database": "PostgreSQL",
"validationQuery": "isValid()"
}
},
"diskSpace": {
"status": "UP",
"details": {
"total": 236097523712,
"free": 16240652288,
"threshold": 10485760,
"exists": true
}
},
"ledgerReaderHealth": {
"status": "UP",
"details": {
"taskName": "LedgerReader",
"lastRun": "2022-01-31T23:10:02.721Z",
"timeSinceLastRunMs": 1862
}
},
"livenessState": {
"status": "UP"
},
"ping": {
"status": "UP"
},
"readinessState": {
"status": "UP"
},
"refreshScope": {
"status": "UP"
}
},
"groups": [
"liveness",
"readiness"
]
},
"user_service_api": {
"components": {
"db": {
"status": "UP"
}
},
"status": "UP"
},
"contacts_api": {
"components": {
"db": {
"status": "UP"
}
},
"status": "UP"
}
},
"status": "UP"
}
{
"app": {
"name": "frontend",
"version": "1.1"
},
"trace.attributes": {
"service.name": "frontend",
"service.version": "1.1",
"host.arch": "amd64",
"host.name": "tatsumaki",
"host.hostname": "hosty-mchosterson",
"os.description": "Linux 5.4.0-96-generic",
"os.type": "linux",
"process.pid": 957370,
"process.command_line": "/app/frontend/frontend.py",
"process.executable.path": "/app/frontend/venv/bin/python",
"process.runtime.description": "default Nov 26 2021 20:14:08",
"process.runtime.name": "CPython",
"process.runtime.version": "3.8.10",
"machine.id": "9bcc0df29af9452194657a8fa54040e2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment