Custom Solution Performance Metrics, Right Inside ThingWorx!
Vložit
- čas přidán 6. 09. 2024
- The natively exposed ThingWorx Platform performance metrics can be extremely valuable to understanding overall platform performance and certain of the core subsystem operations, however as a development platform this doesn't give any visibility into what your built solution is or is not doing.
In this short video I show you an amazing little trick that you can use to embed custom performance metrics into your application so that they show up automatically in your Prometheus monitoring system. What you do with these metrics is up to your creativity (with some constraints of course). Imaging a request counter for specific services which may be incredibly important or costly to run, or an exception metric that is incremented each time you catch an exception, or a query result size metric that informs you of how much data is being queried from the database.
Associated PTC Community post: community.ptc....
No working with TW for a while, but this is pretty cool! :)
It is more than cool Emil... I just used the approach to slip a couple metrics into a running application to track them over time with no system stop, no configuration changes, no restarts!