EDACerton Posted September 13, 2024 Posted September 13, 2024 Plugin Diagnostics is a utility plugin to help plugin authors collect diagnostic data when users request support. Plugin authors can activate diagnostics for their plugin by adding a diagnostics.json file to their installation folder in /usr/local/emhttp/plugins. A description of the file syntax is available via Github: https://github.com/dkaser/unraid-plugin-diagnostics 1 Quote
brazyl Posted September 13, 2024 Posted September 13, 2024 @EDACerton Is Tailscale the only plugin that currently has a diagnostics.json file, since this is brand new? Quote
Rysz Posted September 13, 2024 Posted September 13, 2024 This is a really good idea, thank you, I'll be adding this to my plugins. 🙂 Quote
EDACerton Posted September 13, 2024 Author Posted September 13, 2024 6 hours ago, brazyl said: @EDACerton Is Tailscale the only plugin that currently has a diagnostics.json file, since this is brand new? Yes. Tailscale has been using this for a while, but I figured that other folks might benefit too Quote
SimonF Posted September 13, 2024 Posted September 13, 2024 10 hours ago, EDACerton said: Plugin Diagnostics is a utility plugin to help plugin authors collect diagnostic data when users request support. Plugin authors can activate diagnostics for their plugin by adding a diagnostics.json file to their installation folder in /usr/local/emhttp/plugins. A description of the file syntax is available via Github: https://github.com/dkaser/unraid-plugin-diagnostics So the user has to download the plugin and plugin author has to create json file to describe files to be collected? How does anonymisation work noticed in the TS diags my email address/device names are present. This is what I get if I install the plugin and no buttons. Created a test file shows. I think should say no defined plugins if none exist. Quote
Rysz Posted September 13, 2024 Posted September 13, 2024 14 minutes ago, SimonF said: So the user has to download the plugin and plugin author has to create json file to describe files to be collected? How does anonymisation work noticed in the TS diags my email address/device names are present. This is what I get if I install the plugin and no buttons. Should TS show as i have it installed? True, would be great if one could define a number of regular expressions the included files are tested/replaced against (ideally on a per-file basis?)... Quote
EDACerton Posted September 13, 2024 Author Posted September 13, 2024 2 hours ago, Rysz said: True, would be great if one could define a number of regular expressions the included files are tested/replaced against (ideally on a per-file basis?)... At present, it uses a more aggressive form of the anonymization used by the built-in diagnostics. I can look at adding some customization to that, though... that should be easy to do (especially at plugin level, file-level will take a little more work). Quote
EDACerton Posted September 13, 2024 Author Posted September 13, 2024 10 hours ago, Rysz said: True, would be great if one could define a number of regular expressions the included files are tested/replaced against (ideally on a per-file basis?)... Request granted, filters can now be defined either plugin-wide or on specific files/commands. Examples are included on the Github README. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.