Skip to content

Commit

Permalink
upd: do not force tag values to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
maier committed Aug 6, 2020
1 parent 2a15e5b commit b675af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (m *CirconusMetrics) EncodeMetricTags(tags Tags) []string {
uniqueTags := make(map[string]bool)
for _, t := range tags {
tc := strings.Map(removeSpaces, strings.ToLower(t.Category))
tv := strings.Map(removeSpaces, strings.ToLower(t.Value))
tv := strings.Map(removeSpaces, t.Value)
if tc == "" || tv == "" {
m.Log.Printf("invalid tag (%s)", t)
continue // invalid tag, skip it
Expand Down

0 comments on commit b675af5

Please sign in to comment.