This repository was archived by the owner on Aug 23, 2023. It is now read-only.
File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ func main() {
84
84
fmt .Println (" the chances need to add up to 100" )
85
85
fmt .Println (" operation is one of:" )
86
86
fmt .Println (" pass (passthrough)" )
87
- fmt .Println (" <number>rcnw (replace number random consecutive nodes with wildcards" )
88
- fmt .Println (" <number>rccw (replace number random consecutive characters with wildcards" )
87
+ fmt .Println (" <number>rcnw (replace < number> random consecutive nodes with wildcards" )
88
+ fmt .Println (" <number>rccw (replace < number> random consecutive characters with wildcards" )
89
89
fmt .Println ("age: subtracts the passed integer (typically .LastUpdate) from the query time" )
90
90
fmt .Println ("roundDuration: formats an integer-seconds duration using aggressive rounding. for the purpose of getting an idea of overal metrics age" )
91
91
fmt .Println ("EXAMPLES:" )
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ func patternCustom(in ...interface{}) string {
21
21
fmt .Println ("the chances need to add up to 100" )
22
22
fmt .Println ("operation is one of:" )
23
23
fmt .Println (" pass (passthrough)" )
24
- fmt .Println (" <number>rcnw (replace number random consecutive nodes with wildcards" )
25
- fmt .Println (" <number>rccw (replace number random consecutive characters with wildcards" )
24
+ fmt .Println (" <number>rcnw (replace < number> random consecutive nodes with wildcards" )
25
+ fmt .Println (" <number>rccw (replace < number> random consecutive characters with wildcards" )
26
26
fmt .Println ("example:" )
27
27
fmt .Println ("{{.Name | patternCustom 15 \" pass\" 40 \" 1rcnw\" 15 \" 2rcnw\" 10 \" 3rcnw\" 10 \" 3rccw\" 10 \" 2rccw\" }}\\ n" )
28
28
os .Exit (- 1 )
Original file line number Diff line number Diff line change @@ -145,8 +145,8 @@ patternCustom: transforms a graphite.style.metric.name into a pattern with wildc
145
145
the chances need to add up to 100
146
146
operation is one of:
147
147
pass (passthrough)
148
- <number>rcnw (replace number random consecutive nodes with wildcards
149
- <number>rccw (replace number random consecutive characters with wildcards
148
+ <number>rcnw (replace < number> random consecutive nodes with wildcards
149
+ <number>rccw (replace < number> random consecutive characters with wildcards
150
150
age: subtracts the passed integer (typically .LastUpdate) from the query time
151
151
roundDuration: formats an integer-seconds duration using aggressive rounding. for the purpose of getting an idea of overal metrics age
152
152
EXAMPLES:
You can’t perform that action at this time.
0 commit comments