@@ -54,6 +54,10 @@ points = [{value = 0.5, time = "rnow-30"}, {value = 1.5, time = "rnow-20"}, {val
5454name = " metric2;tag2=value21;tag4=value4"
5555points = [{value = 2.0 , time = " rnow-30" }, {value = 1.0 , time = " rnow-20" }, {value = 0.0 , time = " rnow-10" }, {value = 1.0 , time = " rnow" }]
5656
57+ [[test .input ]]
58+ name = " test_metric;minus=-;plus=+;percent=%;underscore=_;colon=:;hash=#;forward=/;host=127.0.0.1"
59+ points = [{value = 2.1 , time = " rnow-30" }, {value = 0.1 , time = " rnow-20" }, {value = 0.2 , time = " rnow-10" }, {value = 1.5 , time = " rnow" }]
60+
5761# #####################################
5862# Check metrics find
5963
@@ -87,6 +91,12 @@ result = [
8791 " metric1" ,
8892]
8993
94+ [[test .tags_checks ]]
95+ query = " colon;percent=%"
96+ result = [
97+ " :" ,
98+ ]
99+
90100# End - Check tags autocomplete
91101# #########################################################################
92102# Plain metrics (carbonapi_v3_pb)
@@ -328,6 +338,25 @@ stop = "rnow+10"
328338step = 10
329339values = [0.0 , 1.0 ]
330340
341+ # End - Tagged metrics (pickle)
342+ # #########################################################################
343+ # Unescape
344+
345+ [[test .render_checks ]]
346+ formats = [ " protobuf" , " carbonapi_v2_pb" ]
347+ from = " rnow-10"
348+ until = " rnow+1"
349+ targets = [
350+ " seriesByTag('percent=%')" ,
351+ ]
352+
353+ [[test .render_checks .result ]]
354+ name = " test_metric;colon=:;forward=/;hash=#;host=127.0.0.1;minus=-;percent=%;plus=+;underscore=_"
355+ start = " rnow-10"
356+ stop = " rnow+10"
357+ step = 10
358+ values = [0.2 , 1.5 ]
359+
331360# End - Tagged metrics (pickle)
332361# #########################################################################
333362# Midnight
0 commit comments