Azure / iotedge

The IoT Edge OSS project
MIT License
1.46k stars 459 forks source link

[monitor-workbook] - Wrong restart count of modules containing a "-" character in the module name #5706

Closed alaendle closed 3 years ago

alaendle commented 3 years ago

If a module contains "-" in its module name all queries based on something like extract("ModuleId: (\\w*), ... might delivery incorrect results (because the module name shrinks from e.g. "baseline-metrics" to "baseline"). (e.g. https://github.com/microsoft/Application-Insights-Workbooks/blame/master/Workbooks/IoTHub/IoT%20Edge%20device%20details/iotedge-device-details.workbook#L560) Maybe something like extract("ModuleId: (\\S*), ...might work better. I hope the problem is pretty obvious, so for now I keep short, but please don't hesitate to ask for further information - and as always, thanks in advance for your support!

nlcamp commented 3 years ago

@alaendle - Thanks for reporting this issue. I will be looking into it shortly.

nlcamp commented 3 years ago

@alaendle - This fix has been completed. The change should be reflected in the workbooks on your end within 48 hours. Please give it a try later this week.

alaendle commented 2 years ago

@nlcamp - Many thanks - looks much better now. Thanks for fixing this issue so quickly 👍 .