Skip to content
This repository was archived by the owner on Nov 24, 2021. It is now read-only.

Commit a0351b2

Browse files
author
Florentin DUBOIS
authored
Merge pull request #56 from ovh/feat/collectors
feat(collectors): support url encoding in custom collectors
2 parents 6433e41 + e11c34a commit a0351b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collectors/collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func (c *Collector) scrape() (cmdError error) {
113113
ew.Close()
114114
}()
115115

116-
tagPattern := regexp.MustCompile(`^[a-zA-Z0-9-_\.\/]*$`)
116+
tagPattern := regexp.MustCompile(`^[a-zA-Z0-9-%_\.\/]*$`)
117117

118118
// Stderr handler
119119
go func() {

0 commit comments

Comments
 (0)