strongloop/strong-supervisor — pull request #74 by sam-github (2014-11-14 22:51:23+00:00)
Title: metrics: deal with app and host names with a `.`

Do not allow dots in our app or host name substitutions, they mess up
the statsd metrics hierarchy, which uses `.` as a separator.

/to @rmg I don't see a way in here to add a test easily. This is what causes strong-pm's internal metrics to not work on mac's, the `os.hostname()` usually looks like `.local`. I haven't seen an appname with a `.`, but it is possible, and would also break strong-statsd's metric name parsing.