cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

MobileApp error detection rule

Yosi_Neuman
DynaMight Champion
DynaMight Champion

Hi guys,

Mobile Programmer is using for showing messages utility that DynaTrace Mobile agent mark as an Error.

The question is how to create a detection rule that will ignore reasons: 'Success' shown in the details under the reason (see te attached screenshot), for example.

(i.e. Which fields in the detection rule need to be fill and with which field from the error message)

Yos @Tamir R. @Gil G.

dynatrace certificated professional - dynatrace primer partner - Matrix Soft Ware Division - Israel
8 REPLIES 8

harp
Dynatrace Pro
Dynatrace Pro

An error sent from the mobile agent via one of the reportError... APIs always is detected and counted as an error. You could use the reportEvent... APIs to send an event for "Success"

tamir_reuveni
Contributor

Hi Patrick,

Please ignore the real meaning of "Success". It could be any other string instead.

As we handled at the web, we filtered out some URL's, we wanted to do the same here.

Regards,

Tamir

harp
Dynatrace Pro
Dynatrace Pro

I don't get the connection between reporting errors and filtering URLs - can you share more details?

tamir_reuveni
Contributor

At the WEB Error Detection we can ignore some errors,

how we can ignore errors at the mobile ???

harp
Dynatrace Pro
Dynatrace Pro

There is no such feature for mobile errors.
As those mobile errors are created by calling the reportError API in your mobile App implementation you would need to use e.g. reportEvent instead if you want to see the event but not count it as error.

Only for mobile WebRequest Error rules you can define which HTTP response code ranges are counted as Error.

Yosi_Neuman
DynaMight Champion
DynaMight Champion

Hi Patrick,

Since its an auto instrumentation mode on IOS Mobile Application, the question now is what is causing the auto instrumentation to mark all the messages from the application to the user as reportError and not reportEvent? can we control it? does the programmer need to use another way of sending messages to the user in order the auto instrumentation mark messages as reportEvent?

Yos

dynatrace certificated professional - dynatrace primer partner - Matrix Soft Ware Division - Israel

Hi Yos,

reportError is never added automatically, so the developer must have added it manually in some place in code. The auto-instrumentation part of the mobile agent only instruments view lifecycles, webrequests and controls - it does not automatically add error events.

Patrick

Yosi_Neuman
DynaMight Champion
DynaMight Champion

Hi Patrick,

OK!

Now we know how to continue

Thanks a lot for your patient and explanation

Yos

dynatrace certificated professional - dynatrace primer partner - Matrix Soft Ware Division - Israel