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

Question on implementation - constant_push? #44

Open
kmansoft opened this issue Jun 13, 2019 · 3 comments
Open

Question on implementation - constant_push? #44

kmansoft opened this issue Jun 13, 2019 · 3 comments

Comments

@kmansoft
Copy link

Hello,

I'm making a Go port of Longview client here: https://github.com/kmansoft/longview-go

Have a question about constant_push

What is the meaning of this function? What does it do?

It seems (I added logging) that the client always just sends the most recent snapshot to the server and all historical averaging is handled by the server.

And so data->payload is a one-element array containing only just the most recently collected data item. There is no historical data on the agent side.

Is this correct?

@kmansoft
Copy link
Author

Another question I have is "dm" and "md" names in disk stats, is that for LVM / dmcrypt (hope I got these right)?

I'm not familar with that (as a user I mean) at all, always used "direct" partitions myself. Any hints on what the code is doing (for "dm" / "md") would be appreciated.

@kmansoft
Copy link
Author

https://superuser.com/questions/131519/what-is-this-dm-0-device
https://linux.die.net/man/4/md

Right, thanks, the question was more about what the Linode Longview agent is doing with these, i.e. they're treated somewhat differently from "basic sdX devices", how differently exactly?

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