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

No support for 64bit counters? #246

Open
dragz opened this issue Jun 18, 2019 · 2 comments
Open

No support for 64bit counters? #246

dragz opened this issue Jun 18, 2019 · 2 comments

Comments

@dragz
Copy link

dragz commented Jun 18, 2019

It does not seem to be possible to set up 64bit counters i python modules. type uint creates a 32bit rrd db, uint64 is not supported.

I'm trying to create an infiniband module and the kernel traffic stat counters are 64bit. (the 32bit counters overflows after two seconds) The plan was to use the counters as is with positive slope and let rrd do the rate calculations.

@vvuksan
Copy link
Member

vvuksan commented Jun 18, 2019

Unfortunately using slope with Ganglia is potentially challenging since you would have to set the update interval to the same as your gmetad updates e.g. every 15 seconds which is why in general I recommend you compute deltas

@dragz
Copy link
Author

dragz commented Jun 19, 2019

Yes, I took the pragmatic approach and just keep the state in a python shelve between calls. How about 64bit support? The uint type becomes uint32 in rrd. This is maybe not the right place, maybe a report to monitor-core is better?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants