This release is a pre-release and may not be stable for production use.
community
merge together [wellness](https://github.com/warmwaffles/wellness) compatible checks to build a unified view of your conglomerated services
Routes
/health/status
returns as wellness does, but does not handle DEGRADED status
/health/details
returns a wellness like status, services, details hash with combined services and details dictionaries by name
Configuraiton
community accepts one and only one environment variable!
COMMUNITY_MEMBERS: a | separated list of , separated (name, health url) pairs * example: core-api,https://core.example.com/health|user-api,https://user.example.com/health will produce approximately this output
$ curl conglomo.example.com/health/status
{"status":"HEALTHY"}
$ curl conglomo.example.com/health/details
{
"status": "HEALTHY",
"services": {
"core-api": {
"mysql": {
"status": "HEALTHY",
"details": {}
}
},
"user-api": {
"database": {
"status": "HEALTHY",
"details": {}
},
"sidekiq": {
"status": "HEALTHY",
"details": {
"busy": 0,
"default_latency": 104502.181265831,
"enqueued": 290,
"failed": 6045,
"processed": 10982,
"redis": {
"connected_clients": "158",
"uptime_in_days": "224",
"used_memory_human": "4.19M",
"used_memory_peak_human": "8.14M"
},
"retries": 3,
"scheduled": 0
}
}
}
},
"details": {
"core-api": {
"git": {
"revision": "deadbeef"
}
},
"user-api": {
"git": {
"revision": "deadbeef"
}
}
}
}
Metadata
Release files for community 1.0.0b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| community-1.0.0b1.tar.gz | 2.2 kB | Without provenance | Details for community-1.0.0b1.tar.gz |
Release files / community-1.0.0b1.tar.gz
| Download URL | community-1.0.0b1.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7511f105ed04d28f2df09f4bab465592405eca3b6c625b19b112c4f15e78505
|
|
BLAKE2b-256 checksum How to use checksums |
e77b6d1d5efe9518b73b61466607acd66e8d0463b8085c56253974d2c23d4b48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for community 1.0.0b1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.