Hello,
I have a question and could not get my head around it. may be if someone can help.
I have a recording rule the records rate of api requests for last 5 minutes. But there are some api requests for which I want the api path to be stripped only with the first two levels.
for example:
/test/download/12345 and /test/download/56789 , both these should be stripped to /test/download and the last part to be removed in the labels. As the last part is dynamic, i want the recording rules to record only the first two levels i.e /test/download as label value.
Thanks in advance