I've been following this documentation to add metadata on the process level. However, what happens if the processes are triggered by task scheduler Windows jobs? They're neither IIS nor Windows services related so it's not documented. How is it possible to add metadata to those?
To add metadata to processes triggered by Windows Task Scheduler jobs in Dynatrace, you can use the OneAgent extension designed for Windows servers. This extension regularly interrogates the system for details about your configured scheduled tasks and sends this data to Dynatrace. It includes the current state of each task and the time elapsed since their last executions. The extension can automatically create problems for tasks that have failed to complete successfully, are taking longer than expected, or have missed their scheduled executions.
To get started, you need to add this extension to your Dynatrace environment and set up a monitoring configuration. In the configuration process, you'll need to:
This solution should allow you to effectively monitor and add metadata to processes initiated by Windows Task Scheduler jobs.