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

Allow user to control metric frequency #62

Open
ofaaland opened this issue Apr 8, 2022 · 0 comments
Open

Allow user to control metric frequency #62

ofaaland opened this issue Apr 8, 2022 · 0 comments

Comments

@ofaaland
Copy link
Contributor

ofaaland commented Apr 8, 2022

The cerebro_module_devel(3) man page says:

The 'get_metric_period' function retrieves the period in seconds that the metric value should be read and propogated. If the period is 0, the metric will be read and propagated with every cerebrod heartbeat.

Currently all the LMT metrics modules (ie lmt_mdt) have get_metric_period() functions which return LMT_UPDATE_INTERVAL which is a macro defined to be "5".

This could probably be configurable.

It could certainly be documented better, so users know why setting cerebrod_heartbeat_frequency in cerebro.conf doesn't have any impact.

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

1 participant