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

Rename memory metrics #2636

Merged
merged 4 commits into from
Oct 10, 2018
Merged

Rename memory metrics #2636

merged 4 commits into from
Oct 10, 2018

Conversation

danielmai
Copy link
Contributor

@danielmai danielmai commented Oct 5, 2018

This change is Reviewable

* Rename HeapIdle to MemoryIdle
* Rename dgraph_heap_idle_bytes to dgraph_memory_idle_bytes
* Rename TotalOSMemory to MemoryProc
* Rename dgraph_proc_memory_bytes to dgraph_memory_proc_bytes
* Remove unused TotalMemory var
* Fix typo: "cummulative" -> "cumulative"
Variable used be called "megs" when it was converted from bytes to
megabytes, but that is no longer the case.

No need to convert from uint64 -> float64 -> int64.
Copy link
Contributor

@srfrog srfrog left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Contributor

@srfrog srfrog left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@danielmai
Copy link
Contributor Author

The grafana dashboard will need to be updated too once this is released.

@danielmai danielmai merged commit da8327a into master Oct 10, 2018
@danielmai danielmai deleted the danielmai/rename_memory_metrics branch October 17, 2018 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants