diag
diag copied to clipboard
support regular expression in the metricslabel
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: