xapi-project / xenopsd

XCP toolstack domain manager
Other
15 stars 68 forks source link

CP-38343: xenopsd GC memory RRD stats #772

Closed edwintorok closed 6 months ago

edwintorok commented 2 years ago

2 rrds: a quick one every 5s, and a slow one every 2.5m (that does the slower Gc.stat and smaps_rollup query).

I tried to be careful with units, not to mix words and KiB (i.e. always convert everything to KiB before doing arithmetic on them), the old xapi stats was buggy in this regard (and had some hardcoded constants based on word-size=32-bit which is no longer true).

edwintorok commented 2 years ago

Draft PR, also need to move this to the xen-api repo, but opening it here as draft first, because it'll be easier to backport to Havana.

lindig commented 2 years ago

Maybe there is a way to fit this in: the number of used file descriptors would be another useful stat.

robhoes commented 1 year ago

Does this PR have a future? Is it still possible to rebase it?

edwintorok commented 6 months ago

We probably don't care about backports to Havana (or even Yangtze) on this anymore, so I'm moving this to the XAPI repo, I think it was basically half approved.

edwintorok commented 6 months ago

Moved to https://github.com/xapi-project/xen-api/pull/5522