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

teach estatsd to support a custom name intead of just node() #5

Closed
wants to merge 1 commit into from

Conversation

dch
Copy link

@dch dch commented Jan 30, 2013

estatsd gets the node name from node() directly. If running epmd and connecting the erlang node to the network isn't possible, this means the default atom nonode@nohost is used.

This patch enables estatsd to use a new application environment VmName, which if present, is used in NodeKey instead. This allows nice, and unique, metric names in graphite without needing epmd and connecting the node to the erlang network.

- add `vm_name` parameter to environment, and store in state
- allows collecting uniquely named VM metrics even if epmd is not running
@dch dch closed this May 7, 2013
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

Successfully merging this pull request may close these issues.

None yet

1 participant