[GH-ISSUE #8247] Enhanced System Observability for Multi-Server Environments (Unified Endpoints?) #82951

Closed
opened 2026-05-09 16:33:22 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @dezoito on GitHub (Dec 26, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/8247

As Ollama adoption grows, the lack of comprehensive system metrics makes it challenging to meet standard operational requirements - monitoring, alerting, and planning across development, staging, and production environments.

This can also prevent a wider adoption in commercial and production applications.

While the current endpoints (/api/version, /api/tags, /api/ps) provide basic information, consolidating and expanding these into a single observability endpoint would significantly improve monitoring and management capabilities,

Proposed: New /api/info endpoint returning unified system metrics, like:

{
  "version": "0.1.16",
  "system": {
    "cpu": {
      "cores": 16,
      "threads": 32,
      "usage_percent": 45.2,
      ...
    },
    "memory": {
      "total_bytes": 34359738368,
      "used_bytes": 28859738368,
      ...
    },
    "gpus": [
      {
        "name": "NVIDIA GeForce RTX 4090",
        "memory": {
          "total_bytes": 25769803776,
          "used_bytes": 16106127360,
          ...
        },
      }
    ]
  },
  "models": {
    "loaded": [...],
    "available": [...],
  },
}

This enhancement would:

  • Enable proper monitoring and alerting in production environments
  • Simplify capacity planning across deployments
  • Allow integration with standard observability tools

To the community:

  • What other metrics or stats would be useful to have?
  • How do you currently monitor or observe your running Ollama instances?
Originally created by @dezoito on GitHub (Dec 26, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/8247 As Ollama adoption grows, the lack of comprehensive system metrics makes it challenging to meet standard operational requirements - monitoring, alerting, and planning across development, staging, and production environments. This can also prevent a wider adoption in commercial and production applications. While the current endpoints (`/api/version`, `/api/tags`, `/api/ps`) provide basic information, consolidating and expanding these into a single observability endpoint would significantly improve monitoring and management capabilities, Proposed: New `/api/info` endpoint returning unified system metrics, like: ```json { "version": "0.1.16", "system": { "cpu": { "cores": 16, "threads": 32, "usage_percent": 45.2, ... }, "memory": { "total_bytes": 34359738368, "used_bytes": 28859738368, ... }, "gpus": [ { "name": "NVIDIA GeForce RTX 4090", "memory": { "total_bytes": 25769803776, "used_bytes": 16106127360, ... }, } ] }, "models": { "loaded": [...], "available": [...], }, } ``` This enhancement would: - Enable proper monitoring and alerting in production environments - Simplify capacity planning across deployments - Allow integration with standard observability tools To the community: - What other metrics or stats would be useful to have? - How do you currently monitor or observe your running Ollama instances?
GiteaMirror added the feature request label 2026-05-09 16:33:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#82951