← Back to team overview

graphite-dev team mailing list archive

Re: [Question #655260]: How to modify metric name carbon.agents.xxxxx

 

Question #655260 on Graphite changed:
https://answers.launchpad.net/graphite/+question/655260

    Status: Open => Answered

Denis Zhdanov proposed the following answer:
You can change prefix - default is `carbon`, by setting CARBON_METRIC_PREFIX variable. 'agents' part is hardcoded, and 'ip-xxx' - that's your hostname and <port> - that's your instance. 
You can change that only editing source code -  https://github.com/graphite-project/carbon/blob/5ec7e39c6fc6002d8d4db9f145e0d3f60a5faa1b/lib/carbon/instrumentation.py#L168

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.