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

Custom metrics #24

Open
msimonin opened this issue Jul 7, 2013 · 0 comments
Open

Custom metrics #24

msimonin opened this issue Jul 7, 2013 · 0 comments

Comments

@msimonin
Copy link
Member

msimonin commented Jul 7, 2013

GetMetricsInLC branch enables users to use custom metrics.
One driver based on ganglia is currently being implemented.

  1. gmond must be running on your LCs nodes.
  2. in snooze_node.cfg you can specify custom metrics to fetch :
localController.metrics.hostname = localhost
localController.metrics.port = 8649
localController.metrics.published = cpu_user
localController.metrics.interval = 1000
localController.metrics.numberOfMetricsEntries = 5

localController.metrics.thresholds.cpu_user = 0,30,70
  1. Metrics will be transfered to the assigned GM. Overload will be detected by the LC by setting the flag UNSTABLE in the LocalControllerDataTransporter.
    unstableOverLoadPolicy will be called in case of overload.
# Underload relocation policy
groupManagerScheduler.relocation.unstableOverloadPolicy = TestUnstable

In unstableOverloadPolicy, calling getMetricData() on a LocalControllerDescription will return the custom metric hashmap...

NB: this is experimental features, bug report are welcome :)

M

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

No branches or pull requests

1 participant