File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
receiver/carbonreceiver/protocol Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,6 @@ func Test_regexParser_parsePath(t *testing.T) {
179
179
func Test_regexParser_parsePath_simple_unnamed_group (t * testing.T ) {
180
180
config := RegexParserConfig {
181
181
Rules : []* RegexRule {
182
-
183
182
{
184
183
Regexp : `(prefix\.)?(?P<key_svc>[^.]+)\.(?P<key_host>[^.]+)\.cpu\.seconds` ,
185
184
NamePrefix : "cpu_seconds" ,
@@ -249,7 +248,6 @@ func Test_regexParser_parsePath_simple_unnamed_group(t *testing.T) {
249
248
func Test_regexParser_parsePath_key_inside_unnamed_group (t * testing.T ) {
250
249
config := RegexParserConfig {
251
250
Rules : []* RegexRule {
252
-
253
251
{
254
252
Regexp : `(job=(?P<key_job>[^.]+).)?(?P<key_svc>[^.]+)\.(?P<key_host>[^.]+)\.cpu\.seconds` ,
255
253
NamePrefix : "cpu_seconds" ,
You can’t perform that action at this time.
0 commit comments