Skip to content

Tag support characters escaped  #33

Description

@Jishun

according to https://graphite.readthedocs.io/en/latest/tags.html
tag format is my.series;tag1=value1;tag2=value2
however nginx-statsd escapes too many kinds of characters ,
to get tag compatibility
need to replace the escape mask from line:

0xfc00bfff, /* 1111 1100 0000 0000 1011 1111 1111 1111 */

to below code

		                    /* ?>=< ;:98 7654 3210  /.-, +*)( '&%$ #"!  */
	//	0xfc00bfff, /* 1111 1100 0000 0000  1011 1111 1111 1111 */
		0xD400BFFF, /* 1101 0100 0000 0000  1011 1111 1111 1111 */

this repo looks out of maintenance for a long time, posting the patch here so that everyone can see it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions