Using "dot" in tree/metric name

Asked by Bill

Hi,
Apologies if this has been answered before.

 Is it possible to use a dot "." as a metric/tree name??

example: Test."my.name".metric

    Test/
         |
        my.name/
                |
             metric

I've tried escaping it before sending into carbon, but it doesn't work.
Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
cbrinley
Solved:
Last query:
Last reply:
Revision history for this message
cbrinley (cbrinley) said :
#1

This has traditionally been a disallowed character. I dont think anything
has changed with that but please give time for others to chime in if that
is no longer true.
On Mar 21, 2012 5:26 PM, "Bill" <email address hidden>
wrote:

> New question #191343 on Graphite:
> https://answers.launchpad.net/graphite/+question/191343
>
> Hi,
> Apologies if this has been answered before.
>
> Is it possible to use a dot "." as a metric/tree name??
>
> example: Test."my.name".metric
>
> Test/
> |
> my.name/
> |
> metric
>
> I've tried escaping it before sending into carbon, but it doesn't work.
> Thanks.
>
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Bill (bnyec) said :
#2

hrmf, "Feature Request" perhaps ?? :)

Revision history for this message
Bill (bnyec) said :
#3

hrmf, "Feature Request" perhaps ?? :)

Revision history for this message
Best cbrinley (cbrinley) said :
#4

As a potential work around typically what i have seen is people convert the
dot "." to and underscore "_" or similar before sending the data. Common
case would be FQDN. foo.bar.baz -> foo_bar_baz. Its not optimal in some
cases but at least you get that data in the system in a consistent manner.

As far as getting this in as a feature request I'd suggest opening a bug.
I don't think there is a specific avenue to request features separate from
bugs.

And finally the obligatory, patches are always welcome. :)

On Thu, Mar 22, 2012 at 12:25 PM, Bill <<email address hidden>
> wrote:

> Question #191343 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/191343
>
> Status: Answered => Open
>
> Bill is still having a problem:
> hrmf, "Feature Request" perhaps ?? :)
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>

--

Chris Brinley
Cleartrial

e: <email address hidden>
p: 312-460-3038
m: 219-789-2811

Revision history for this message
Bill (bnyec) said :
#5

Thanks cbrinley, that solved my question.