diag icon indicating copy to clipboard operation
diag copied to clipboard

support regular expression in the metricslabel

Open guoshouyan opened this issue 9 months ago • 0 comments

Feature Request

Hi team, I'm using diag to detch lightning metrics and upload to clinic. Our lighting are running on different namespace, for example, lightning-usa, lightning -usb, lightning-usc.

In our grafana metrics we can filter them by adding the filter of namespace=~"lightning-us.*". But I can not do that with diag util metricdump --metricslabel "namespace=~lightning-us.*"

Currently I have to run the diag 3 times, each time only upload one namespace metrics

Is your feature request related to a problem? Please describe:

Describe the feature you'd like:

Why the featue is needed:

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

guoshouyan avatar May 15 '24 21:05 guoshouyan