05 Oct 2023 08:43 PM
Hello,
I have the need to determine how many times app pools have been restarted (in 30 days) across our domain in Dynatrace. I've been poking around, but cannot figure it out. Is there a Metric I can configure to determine this, or perhaps by filtering through logs?
Thank you!
Solved! Go to Solution.
06 Oct 2023 08:58 AM
Hi @DStockland
you can filter through the events for this information.
using the API you can determine the timeframe and the entity it happened on
"events": [
{
"eventId": "6798745626705320663_1696483060541",
"startTime": 1696483060266,
"endTime": 1696483064123,
"eventType": "PROCESS_RESTART",
"title": "Process restart",
"entityId": {
"entityId": {
"id": "PROCESS_GROUP_INSTANCE-04FB78E5D361DA42",
"type": "PROCESS_GROUP_INSTANCE"
},
"name": "IIS app pool .NET v4.5 Classic"
},
...
For each instance count them up and you have your result.
BR,
Mark