25 Nov 2021
01:05 AM
- last edited on
25 Nov 2021
01:43 AM
by
MaciejNeumann
We have 200 error codes captured in a request attribute. In which some are considered Technical errors and some are businesses errors. We need to create custom error rules for all the technical errors (at least 100 codes) in 10 services =1000 custom error rules.
Is there any way we can use API for this or Reduce the effort by applying error detection rules for all 10 services at once?
Solved! Go to Solution.
Thats a really good question. If you can use the API you might still end up hitting a limitation where you need to provide the entity ID, but granted that would cut down the workload.
You can create a global rule as well:
Ill see if Dynatrace is aware of a way to leverage the API for this
This is what support gave us: https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/service-api/failure-detection...