Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON API documentation rfc #71

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

pdebski21
Copy link

Signed-off-by: Piotr Debski [email protected]

Signed-off-by: Piotr Debski <[email protected]>
pages/open_cas_linux/guide_monitoring_json.md Outdated Show resolved Hide resolved
pages/open_cas_linux/guide_monitoring_json.md Outdated Show resolved Hide resolved
pages/open_cas_linux/guide_monitoring_json.md Outdated Show resolved Hide resolved
pages/open_cas_linux/guide_monitoring_json.md Outdated Show resolved Hide resolved
pages/open_cas_linux/guide_monitoring_json.md Outdated Show resolved Hide resolved
- for each core in cache:
- Core details
```json
[
Copy link
Contributor

Choose a reason for hiding this comment

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

do we want to have all the information here? cache.get_list has lots of information from cache.info.get

Copy link
Author

Choose a reason for hiding this comment

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

Most likely limiting info in list caches to minimum is good way to go.

},
"Cleaning policy": "alru",
"Promotion policy": "always",
"Cache line size [KiB]": 4096,
Copy link
Contributor

Choose a reason for hiding this comment

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

4096 KiB is a lot for a cache line size ;)

Copy link
Author

Choose a reason for hiding this comment

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

Changed for 4096 B :)

pages/open_cas_linux/guide_monitoring_json.md Outdated Show resolved Hide resolved
pages/open_cas_linux/guide_monitoring_json.md Outdated Show resolved Hide resolved
pages/open_cas_linux/guide_monitoring_json.md Outdated Show resolved Hide resolved
pages/open_cas_linux/guide_monitoring_json.md Outdated Show resolved Hide resolved

```json
{
"header": {
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't it be better to remove header group and put command at the top (at the same level as params)?

@pdebski21 pdebski21 force-pushed the master branch 4 times, most recently from 8291c7b to aa0210f Compare November 5, 2021 16:18
Co-authored-by: Daniel Madej <[email protected]>
Signed-off-by: Piotr Debski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants