Skip to main content

Docker container health checker — monitor running containers, check resource usage, and detect unhealthy services

Project description

dargslan-docker-health

Docker Container Health Checker — Monitor running containers, check resource usage, detect unhealthy services, and get container stats.

PyPI version

Installation

pip install dargslan-docker-health

Usage

from dargslan_docker_health import DockerHealth

dh = DockerHealth()
status = dh.check_all()
for c in status:
    print(f"{c['name']}: {c['status']} (CPU: {c['cpu']}%, MEM: {c['memory_mb']}MB)")
dargslan-docker              # Status of all containers
dargslan-docker --json       # JSON output
dargslan-docker --unhealthy  # Show only unhealthy

Resources

MIT — Dargslan

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dargslan_docker_health-1.0.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dargslan_docker_health-1.0.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file dargslan_docker_health-1.0.0.tar.gz.

File metadata

  • Download URL: dargslan_docker_health-1.0.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for dargslan_docker_health-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3101662d975a7110be0130fc6e9e5d417cc86655f34f040ecbebaf08cf3035c4
MD5 cad2e3e84e745dc40c4a1163adf46785
BLAKE2b-256 ccfa6ffb7e9ed6dca3e07e90c1e3184edb17026399bf5609746309c57936b6c6

See more details on using hashes here.

File details

Details for the file dargslan_docker_health-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dargslan_docker_health-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31e245997eda05b87a58dec0cbc379a447526746782d026dbdd410954149471d
MD5 e6519a262922efb77a043f0aa9fea654
BLAKE2b-256 2d81f77ecc3ece5e628fa5e17f93d25a6a62fcb09f77ae5a66e69a36d39c406b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page