Modified existing datadog tag test to include a tag value containing a colon

This commit is contained in:
Rikaard Hosein 2016-09-21 08:41:46 -04:00
parent 9692e7e075
commit 6ff7693f66
1 changed files with 2 additions and 1 deletions

View File

@ -693,7 +693,7 @@ func TestParse_DataDogTags(t *testing.T) {
s.ParseDataDogTags = true
lines := []string{
"my_counter:1|c|#host:localhost,environment:prod",
"my_counter:1|c|#host:localhost,environment:prod,endpoint:/:tenant?/oauth/ro",
"my_gauge:10.1|g|#live",
"my_set:1|s|#host:localhost",
"my_timer:3|ms|@0.1|#live,host:localhost",
@ -703,6 +703,7 @@ func TestParse_DataDogTags(t *testing.T) {
"my_counter": map[string]string{
"host": "localhost",
"environment": "prod",
"endpoint": "/:tenant?/oauth/ro",
},
"my_gauge": map[string]string{