Real user instrumentation for your react-native application.
This API documentation describes the JavaScript interface exposed by the agent. Installation instructions are provided
in the package's README file. More information on AppDynamics Real User Monitoring is available on the
documentation website.
Copyright 2019 AppDynamics LLC and its affiliates. Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.
Base URL used to make network requests when the application runs in a manual "real world" setup.
Const OVERLAY
OVERLAY:"#585E67" = ANTHRACITE_GRAY
Const PATCHES
PATCHES:Patch[] = [{name: 'AppDynamics build plugin link',anchor: /^((\s*\n)*(\/\/.+\n|\/\*[^]*\*\/))*/g, // Place this patch after the first comment block of the filepayload:'\n// Applies the AppDynamics build time instrumentation plugin.\n' +'// This should be placed at the top of your top-level build.gradle file.\n' +"apply from: '../node_modules/@appdynamics/react-native-agent/android/adeum.gradle'\n",target: path.join(process.cwd(), 'android/build.gradle'),},]
For convenience purpose, you can simply annotate your methods without having to modify the code
to manually report InfoPoints.
@InfoPoint
public infoPointMethod(arg1, arg2, value) {
console.log("Executing infoPointMethod!");
}
Your method will automatically report info points to the eum cloud.
Warning: If your code gets minified, the info point will report useless class and function names. You can either
turn off minification for the annotated symbols, or you can manually specify the symbol names.
To manually specify symbol names, pass a parameter to the InfoPoint decorator like this.
Uniquely defines the crash, can be used as key to find full crash report.