Skip to content

Commit

Permalink
Allow numbers in metric names.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbuchbinder committed Nov 18, 2011
1 parent 1879103 commit 03fa55f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gmond/gmond.c
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,7 @@ void sanitize_metric_name(char *metric_name)
if (
!(*p >= 'A' && *p <= 'Z')
&& !(*p >= 'a' && *p <= 'z')
&& !(*p >= '0' && *p <= '9')
&& (*p != '_')
&& (*p != '-')
&& (*p != '.')
Expand Down

0 comments on commit 03fa55f

Please sign in to comment.