nextcloud / nextcloud/serverinfo

CPU Load naming in servinfo ReST call

Open
#36 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement technical debt
Dominant language
JavaScript
Stars
130
Forks
64
Avg merge
1d 1h
Merged PRs (30d)
49

Description

I assume the values for CPU load are 1 minute, 5 minute and 15 minutes. It would be nice to know which value is 1 minute, 5 minute and 15 minute load.

<cpuload>
    <element>2.76806640625</element>
    <element>1.99267578125</element>
    <element>1.67626953125</element>
</cpuload>

should be similar to active users

<activeUsers>
    <last5minutes>1</last5minutes>
    <last1hour>1</last1hour>
    <last24hours>1</last24hours>
</activeUsers>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the servinfo ReST response that produces the elements and compare it with the existing naming. Confirm the ordering of the 1-minute, 5-minute, and 15-minute values, then verify that the response exposes those periods with explicit names without changing their values.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.