Skip to content

Include container state#353

Merged
pantherman594 merged 2 commits intomasterfrom
machine-stats-state
Mar 31, 2026
Merged

Include container state#353
pantherman594 merged 2 commits intomasterfrom
machine-stats-state

Conversation

@pantherman594
Copy link
Copy Markdown
Contributor

@pantherman594 pantherman594 commented Mar 30, 2026

{
  "cpu_load_normalized": 0.0300,
  "memory_total_bytes": 13591724032,
  "memory_used_bytes": 1152905216,
  "memory_usage_ratio": 0.0848,
  "disks": [
    {
      "device": "/dev/sda9",
      "mountpoint": "/",
      "total_bytes": 98278461440,
      "used_bytes": 281268224,
      "usage_ratio": 0.0028
    },
    {
      "device": "/dev/sdb1",
      "mountpoint": "/var/lib/docker",
      "total_bytes": 528103944192,
      "used_bytes": 17692254208,
      "usage_ratio": 0.0335
    }
  ],
  "containers": [
    {
      "name": "/proxy-agent",
      "state": {
        "status": "running",
        "running": true,
        "paused": false,
        "restarting": false,
        "oom_killed": false,
        "dead": false,
        "exit_code": 0,
        "error": "",
        "started_at": "2026-03-30T19:59:22.088145059Z",
        "finished_at": null
      },
      "cpu_usage_ratio": 0,
      "memory_usage_ratio": 0.0014
    },
    {
      "name": "/application-server",
      "state": {
        "status": "running",
        "running": true,
        "paused": false,
        "restarting": false,
        "oom_killed": false,
        "dead": false,
        "exit_code": 0,
        "error": "",
        "started_at": "2026-03-30T19:56:24.035396673Z",
        "finished_at": null
      },
      "cpu_usage_ratio": 0.0534,
      "memory_usage_ratio": 0.059
    },
    {
      "name": "/fluent-bit",
      "state": {
        "status": "running",
        "running": true,
        "paused": false,
        "restarting": false,
        "oom_killed": false,
        "dead": false,
        "exit_code": 0,
        "error": "",
        "started_at": "2026-03-30T19:54:54.333918681Z",
        "finished_at": null
      },
      "cpu_usage_ratio": 0.0005,
      "memory_usage_ratio": 0.0017
    }
  ],
  "proxy_requests_1m": 2
}

@pantherman594 pantherman594 requested review from a team as code owners March 30, 2026 21:01
Copy link
Copy Markdown
Contributor

@june-hua june-hua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pantherman594 pantherman594 merged commit 914daa1 into master Mar 31, 2026
13 of 15 checks passed
@pantherman594 pantherman594 deleted the machine-stats-state branch March 31, 2026 14:24
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.

2 participants